Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

steg

less vertices using index buffers

This topic is 5554 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I''ve noticed when setting up the vertex data for my quads in my terrain engine, the number of new vertices I need to do on the second row is only one as the quad shares the vertices from the other ones around it. Just wondering if there is a good way of generating these vertices for these quads ? At the moment I am drawing them down on graph paper and hard coding them into my code, trying to find a pattern so I can introduce a loop to do them! Kind regards, Steve

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!