Hi everyone,
I'm looking for creating ripples that generates from the edges of a vibrating object intersecting with a flat surface.
How do you guys think it would be best to do that?
Thanks for any advice!
Ripple from Vibration
4900 9 1- Enmi
- Member
- 22 posts
- Joined: Nov. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Enmi
- Member
- 22 posts
- Joined: Nov. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Enmi
- Member
- 22 posts
- Joined: Nov. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
Yes ,Exactly
The Ripples node in the VEX network ,take it's own position(center ripple point) with UV attributes.
So to move center of each Ripple to define position we should move UV data of the grid.
Because the UV is 2D Vector and not 3D Vector (we just have S & T data ,Not X Y Z data) ,we should convert 3D position of the points(X,Y,Z) to 2D Position of the UV (S,T) with below style :
X = S
Y = NULL ,we don't need this value ,because we used ZX grid
Z = T
The Ripples node in the VEX network ,take it's own position(center ripple point) with UV attributes.
So to move center of each Ripple to define position we should move UV data of the grid.
Because the UV is 2D Vector and not 3D Vector (we just have S & T data ,Not X Y Z data) ,we should convert 3D position of the points(X,Y,Z) to 2D Position of the UV (S,T) with below style :
X = S
Y = NULL ,we don't need this value ,because we used ZX grid
Z = T
- Enmi
- Member
- 22 posts
- Joined: Nov. 2010
- Offline
Hi Joker,
I was playing with the set up you put together and I tried it placing the object in different positions and orientation, but I ended up with a couple of problems.
I have aligned to grid to the XY plane, so now the ripple deformation happen along the Z axis. Also the grid is not placed at the center of the axis anymore.
I was able to adjust the deformation according to the new transformation of the grid, but for some reasons the deformation itself is misplaced compared to the intersecting point from the second object.
I'm attaching the scene I was playing with. Do you know what is causing the probelm?
Cheers!
I was playing with the set up you put together and I tried it placing the object in different positions and orientation, but I ended up with a couple of problems.
I have aligned to grid to the XY plane, so now the ripple deformation happen along the Z axis. Also the grid is not placed at the center of the axis anymore.
I was able to adjust the deformation according to the new transformation of the grid, but for some reasons the deformation itself is misplaced compared to the intersecting point from the second object.
I'm attaching the scene I was playing with. Do you know what is causing the probelm?
Cheers!
- Enmi
- Member
- 22 posts
- Joined: Nov. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
Yes ,That's because UVTexture !
use uvproject1 for UV (Not uvtexture1) and set parameters to default values :
Translate = 0 0 0
Rotate = 0 0 0
Scale = 1 1 1
UV Project SOP is different to UVTexture !
you should use UV Project by default value.
if you use UVTexture ,then change grid size ,UV dosen't change.
But if you use UV Project and change grid size ,then UV change .
use uvproject1 for UV (Not uvtexture1) and set parameters to default values :
Translate = 0 0 0
Rotate = 0 0 0
Scale = 1 1 1
UV Project SOP is different to UVTexture !
you should use UV Project by default value.
if you use UVTexture ,then change grid size ,UV dosen't change.
But if you use UV Project and change grid size ,then UV change .
-
- Quick Links