Jump to content
  • Advertisement
Sign in to follow this  
ade-the-heat

terrain octrees with VBos

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

The terrain is displayed perfectly with VAs - but when I use VBOs (with the exactly the same Vertex Arrays and exactly the same offsets in the glDrawElements command then it is displayed badly - in that I get a strip of the ground texture stretched over the whole terrain. Why would using VBOs result in a different behaviour ? http://myweb.tiscali.co.uk/3drocknroll/strip.JPG Thanks Ade

Share this post


Link to post
Share on other sites
Advertisement
I would just double check your code and make sure you're not drawing any extra indices and also that you are rendering the same primitives as you did with VA's ( Triangles, Triangle_strips, ect... )

Usually if you render an extra indice or have an indice out of place, you'll get the same results you have gotten.

Share this post


Link to post
Share on other sites
Ahhhh! This is very,very,very familiar!

Which Graphics Card do you have?
I have a similar problem with a project in university, where I have a GeForce4 MX.At the same time, I use to work with a RADEON 9700 the same code without any problem. If you can (I'm not allowed to in university) try some new drivers.

If someone thinks it's something different please say something because in my case, the only work-around that I found after 2 weerks of checking the code is to not use VBO and use VA.

/* As always forgive or better forget my english */
/* I promise I will learn! */

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.

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

Sign me up!