View Full Version : World to UV-Space deform

07 July 2008, 10:33 AM
Is it somehow possible to deform particles/objects from their world position to the UV space of another object. A bit complicated so here's an example.
I do a particle simulation in worldspace x(between 0 and 1), y, z(between 0 and 1) and the particles should be moved to the surface of a sphere by transforming x->corresponding u/worldspace position of the sphere, y-> along the normal of the sphere, z->corresponding v/worldspace position of the sphere.

x -> u of sphere -> xyz
z -> v of sphere -> xyz

y -> xyz + n * y

I try to get some ocean splashes on an object.

Any ideas how to do that?!


CGTalk Moderation
07 July 2008, 10:33 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.