I've actually been looking for a solution to this myself.  You can always 
use expressions or plugins, but I'm not sure about how to do it purely with 
nodes.

openMaya way of doing it
http://mayastation.typepad.com/maya-station/2011/03/how-to-sample-a-3d-texture.html

Soup can do it with textureToArray nodes I believe
http://www.soup-dev.com/wiki/Nodes.html

I think there's also a mel equivalent of using colorAtPoint but you'd need 
to have a surface to calculate the UV position from so that's probably the 
slowest of the 3.

For the noise I got nothing, I always make multiples or just use the RGB 
values individually and hope I don't have too many!  But also expressions 
would work in this situation...I just hate them.

On Monday, September 8, 2014 8:15:25 AM UTC-4, johan Borgström wrote:
>
> Hi!
>
> I am developing a rig that will be used to animate a tentacle-like 
> creature. I have built the rig in a "layered" style so that I can control 
> the different movements separately. The base rig is setup and working fine, 
> what I am working on now is to add a more organic feel to the movement. I 
> am thinking to add subtle movement with some sort of noise node.
>
> If I were to do this in *3d* I am thinking of using a 3d noise texture 
> (like solid fractal). Based on the world position I would like to look up 
> the noise value and use that to offset translation in one axis. Does anyone 
> have any ideas or tips of how to do this?
>
> Another idea is to do this in *2d*, using a fractal 2d node. It would be 
> great to use just one fractal node to drive the offsets of multiple 
> transform. I guess it also involves som sort of lookup of the value, maybe 
> using a ramp?
>
> Any ides, tips, links etc will be appreciated!
>
> Best regards,
> Johan
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/974ae072-5586-4c6a-999e-c56670f2d743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to