arnold vdb - volumeSampleFloat remap with float ramp

54 views
Skip to first unread message

s.des...@gmail.com

unread,
Jun 26, 2020, 9:34:13 AM6/26/20
to gaffer-dev

Hello,

I'm trying to do a remap of a vdb with a ramp and a volumeSampleFloat
In maya, to make it work, I just have to connect the outValue of the volumeSampleFloat inside the U of the float ramp and that's it.
I have problems doing it in gaffer. the Arnold float ramp node is not really usable and I'm a bit lost with OSL node. I see example of custom ramp node but I can't make it work.
Is someone can create a example scene with a volumeSampleNode connected to the U of a float ramp.

Thx a lot,

Seb

Heribert Raab

unread,
Jun 26, 2020, 3:05:13 PM6/26/20
to gaffe...@googlegroups.com
yeah its confusing..... only colorspline node works with arnold (its also a ramp node)

--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/6bcb7b13-9abe-44fa-9919-5ba764f6f326n%40googlegroups.com.

s.des...@gmail.com

unread,
Jun 29, 2020, 12:19:30 PM6/29/20
to gaffer-dev
Do you have an example of an aiVolumeSampleFloat controlling a vdb density through a ramp ?
I can't make it work

Thx,

Murray Stevenson

unread,
Jul 1, 2020, 5:53:43 PM7/1/20
to gaffer-dev
Hey Seb,

I've attached a script with a couple of examples of using the oslFloatSpline to control volume density. Hope this clarifies a few things for you.

Cheers,

Murray
volumeFloatSplineExample.gfr
Reply all
Reply to author
Forward
0 new messages