Jump to content
  • Advertisement

Archived

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

iwaskia

what will affect the speed of drawing a triangle?

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

which of the following will affect? hw light on/off, with/without texture, texture size, size on screen, enable/disable color buffer, enable/disable depth buffer, blending [edited by - iwaskia on September 10, 2002 10:27:25 PM]

Share this post


Link to post
Share on other sites
Advertisement
All of them will effect how fast the triangle draws, but unless you have really old hardware, you won''t notice.

The color depth effects it. The orientation effects it. Wether or not your socks match effects it.

Share this post


Link to post
Share on other sites
Just reduce the state-change-calls (glMaterial* etc.) and use GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN whenever it is possible. This will increase performance and doesn''t affect the way your scene looks.

Happy coding!

Share this post


Link to post
Share on other sites

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