terrain & water
Ok, I've been looking for tutorial, articles etc... about creating water, but I didn't find a lot about. I create my terrain width brute force method (HeightMaps) and now I want to add a lake, I created a grid for the lake surface, but the lake's borders don't look very well...
Can you give me any advice?
[Edited by - Macerlask on April 20, 2006 9:57:56 PM]
i create my water grid with basically a brute force terrain way just obviouslly without the height value.
Can you describe more about the problem with the lake borders, maybe even a screenshot. It might be that the terrain and water use a different grid resolution or be offset from each other and vertices not sharing the same coordinate space - X, and Z, or it might be Z fighting. I have dealt with both of these in the past.
F451
F451
Yea, the problem is Z fighting, now the problem is that I can't find how to switch from a 16 bits buffer to a 24 bits buffer, I'm using GLUT...
Ok here you have some screenshots...
http://macerlask.onesite.com/images/ranchito1.jpg
http://macerlask.onesite.com/images/ranchito2.jpg
http://macerlask.onesite.com/images/ranchito3.jpg
http://macerlask.onesite.com/images/ranchito1.jpg
http://macerlask.onesite.com/images/ranchito2.jpg
http://macerlask.onesite.com/images/ranchito3.jpg
Looks like some Z fighting to me. Your water poly is too close to your land poly and OpenGL has a hard time figuring out which to clip.
This will help.
This will help.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement