Jump to content
  • Advertisement
Sign in to follow this  

Polygon Class + VBO/DL == Moot?

This topic is 4962 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'm working on a polygon class which is an extension of NeHe Article 07 http://nehe.gamedev.net/data/articles/article.asp?article=07 But I'm thinking, why would I store mesh data in a class that's likely to be stored in System Memory when I plan to dump the vertices into a Vertex Buffer Object or Display List? On a side note, the code in the article does not compile, using the optimized rendering member function I get the following error: cannot convert `VERTEX*' to `const GLfloat*' for argument `1 for the line that says this: glVertex3fv(&m_pVertices[ptrIndex++->nVertex]);

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!