PDA

View Full Version : Water interaction



vince
02-22-2005, 11:57 AM
nVidia has a demo on their site I don't understand but I find interesting enough. It's about water interaction. A breif resume of the demo can be foun here
http://nvidia.com/object/cg_effects_explained.html#Water%20Interaction
The demo itself is available in cg toolkit 1.1 under the bump map section.

Even if the langage isn't GLSL, the concept should make no difference.

What I'd like to understand is how do they have "memory" of what happened. As you're moving the cursor in the water, you leave a trace that gradually disappears. Whitout information on the adjacent neighbors, how is it possible to create that kind of effect?

Thanks.