Jump to content
  • Advertisement
Sign in to follow this  

terrain 3d with level of detail and VBOs

This topic is 4598 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

I draw my terrain with triangle strips + VBOs and quadtrees. I also draw with lower level of detail if the quad is further away. At the mo' I copy *all* the lower res vertices of the quad again into a new place in the VBO. Is there a way of drawing a lower res version of the quad just by changing the parameters in glDrawElements ? The problem I can see with this is that if I sample say every other vertex in the VBO and draw with glDraw Elements triangle strips then the normals would all be wrong for each triangle as they haven't been defined in the normal array for these new lower res triangles. I'm just read the Focus on 3d terrain programming book and it basically calculates every triangle on the fly which seemed a bit of an overhead when we could use DrawElements or DrawArrays. Thanks Adrian

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!