Starrider
07-17-2008, 10:33 AM
Hi!
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.
so
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?!
Cheers!
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.
so
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?!
Cheers!
