Original Post
🔒 Locked
Water Simulation
Advertisement
Yeah, i''ve seen some of those tutorials about this cool 2D wave effects, there is even one on gamedev.net (though I do not remember exactly where). What I want is an effect rather like the one at
http://www.demon.co.uk/davidg/lake.htm
http://www.demon.co.uk/davidg/lake.htm
Yeah you can achieve something similar using this effect. You treat the results from your 2D effect as a heightfield in 3D, then create random disturbances which will give you ripples.
A more accurate way of doing it would be to solve the Navier Stokes equations in 2D, but this is both complicated and expensive, and you wouldn''t notice much difference for this kind of application.
For surface effects there are a number of things you can do - reflections, environment mapping, animated texture, or you could just leave it untextured and apply specular lighting, which looks very nice.
Mike.
A more accurate way of doing it would be to solve the Navier Stokes equations in 2D, but this is both complicated and expensive, and you wouldn''t notice much difference for this kind of application.
For surface effects there are a number of things you can do - reflections, environment mapping, animated texture, or you could just leave it untextured and apply specular lighting, which looks very nice.
Mike.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement