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

Cracks fixed time to clean the code :

Sign in to follow this  

122 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!