Water

Started by tlf30, December 10, 2011, 02:22:02

Previous topic - Next topic

tlf30

I'm trying to come up with a way to do water. The water needs to go around all the models. So for example I have a boat, the water cannot be a plane that goes into and through the boat, it needs to make a hole in the plane for the boat. But the boat has to be controlled by the player so it moves.

Evil-Devil

Why does it have to make a hole in the water? The player won't see any difference. What most likely he will want see were those waves and effects that tends to happen when something goes through the water. So you need to find a way of adding more triangles at runtime or come up with a solution that scales the triangles. For example far water has bigger planes and the most nearst will have many of them.

You may take a look at the water tech demos from nvidia and ati. THat may help you to come up with an idea :)

tlf30

Thank you. Could you please provide a link.

CodeBunny

tlf30, you should really look this stuff up on Google. There are a plethora of tutorials available online, and it'll be much more comprehensive feedback that what we'll write in these posts.

tlf30