Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    102
  • comments
    146
  • views
    80429

Cracks fixed time to clean the code :

Sign in to follow this  
Black Knight

142 views

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 :)
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!