Ok, seems that the link is really broken. I found another one http://hasusmurf.ha.funpic.de/downloads/geomclipmap2.pdf. Hope that one works, it did a minute ago.
Also there seems to be an open source implementation, but I have to check that one out. The problem is, that it's in german, but try the code links in the section "Fertiggestellte Implementierung". Here's the link anyway: http://wwwisg.cs.uni-magdeburg.de/~spindler/wiki/ShaderSeminar2005/index.php?n=Projects.TerrainRendering.
Terrain render problem: overlapping patches
Quote:Original post by Silverclaw
gluPerspective(45.0f, (GLdouble)resol.xx/(GLdouble)resol.yy, 0.0f, 500.0f);
Your near clipping plane should not be at zero. The perspective calculations involve (far - near) / near, which has obvious problems when near is zero. I don't know if this will solve all of your problems, but the z-fighting will probably stop if you change your near plane to 1.0:
gluPerspective(45.0f, (GLdouble)resol.xx/(GLdouble)resol.yy, 1.0f, 500.0f);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement