Cracks fixed time to clean the code :

Published August 15, 2007
Advertisement
I fixed the cracks by making patches which have more triangles fix their egdes by moving the indices vertically or horizontally.So the patches match each other perfectly and all the T-junctions are gone.
It took me a 4,5 hours to do it and the code for it is killing the poor kids down the street.It is very messy so ill need to clean it up a little.

Here are the screen shots of the terrain :





And here is the code that fixes the edges :
code

I'll upload an executable to my space so that everyone can play with it :)
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Advertisement