Jump to content
  • Advertisement

Archived

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

neurokaotix

OpenGL What triangle build type in Direct3D cooincides w/ the one in OpenGL?

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

Basically what the subject line says; are there any Direct3D primitive build types which are exactly the same as one in OpenGL? For the api-independent portion of my engine I''ll be damned if my quads will show up correctly in one or the other. It''s either they work in OpenGL and not Direct3D, or the other way around lol... I was just wondering if there is one type which handles the input in the same way. James Simmons MindEngine Development http://medev.sourceforge.net

Share this post


Link to post
Share on other sites
Advertisement
Everything else except quads.


D3DPT_POINTLIST = GL_POINTS
D3DPT_LINELIST = GL_LINES
D3DPT_LINESTRIP = GL_LINE_STRIP
D3DPT_TRIANGLELIST = GL_TRIANGLES
D3DPT_TRIANGLESTRIP = GL_TRIANGLE_STRIP
D3DPT_TRIANGLEFAN = GL_TRIANGLE_FAN


[edited by - Reaptide on April 20, 2003 11:15:22 PM]

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!