PDA

View Full Version : Particle, clone, object array?



aarons
12-05-2006, 01:28 PM
Picture this...

1. You have a plane 30 x 30 matrix in layout.
2. Replace each vertex or face with an object (user built)
3. Animate ripples (texture displacement?) through the array of objects so it looks like they are all floating on a plane that has ripples going through it.

The objects themselves should not be distorted, just their vertical poistions.

Is this possible? I have been at it all day and cannot figure it out.

Thanks,
Aaron

SplineGod
12-05-2006, 07:38 PM
This is definately doable. My displacement and endomorph CDs cover this subject in great detail. Heres some examples:
http://www.3dtrainingonline.com/examples/blocks.mov
http://www.3dtrainingonline.com/examples/blocks_fall.mov
http://www.3dtrainingonline.com/examples/domino_test.mov
http://www.3dtrainingonline.com/examples/ship.mov

aarons
12-06-2006, 10:30 AM
Cool videos. Thanks! I will check out your training videos.

Sekhar
12-06-2006, 02:40 PM
Hi Aaron, interesting problem...thanks for posting!

One way to do this is to make sure the same displacement gets applied to the entire object instance so it doesn't get warped. You could do this with nodes by feeding the mod of the spot coordinates to the position input of your texture node (say Turbulence). Because the turbulence now shifts with the spot, the same displacement gets applied till the mod value changes (when the next instance comes up). You need to set the mod value to be the space between the instances.

Once you have the displacements, you can limit the movement to just Y easily using say a math node. To animate the whole thing, create a moving null and make that the reference point for your texture node (Turbulence). Be sure to scale the texture a little off (I made it .99m rather than 1m) so you don't get 0 displacements at intermediate points as the null moves.

See below an example with bouncing balls - the ZIP file has the LWS/LWO files and the video render.