Jump to content
  • Advertisement

Archived

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

Haytil

Quick Question

This topic is 5394 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''ve seen posts and books talking about primitives. What exactly is a primitive? Thanks -Gauvir_Mucca

Share this post


Link to post
Share on other sites
Advertisement
At first I thought this was a joke, but I''ll go ahead and treat it seriously.

"Primitives" as in "geometric primitives." In general 3D graphics, a geometric primitive is a basic shape that other more complicated shapes are composed of. For example: triangles, squares, spheres, cylinders, pyramids, etc... are all geometric primitves in general 3D graphics.

That being said, whenever you see someone talking about primitves in either D3D or OpenGL, they usually mean just triangles, and in the case of OpenGL quads (a 4 sided polygon, like a square or rectangle) as well. When using one of these 3D API''s complicated shapes are broken down into triangles and quads (btw, a quad can also be broken into 2 triangles). Everyting from spheres and cylinders, to more complicated models like that of a human being are broken down into triangles and drawn on the screen by the graphics hardware.

neneboricua

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Thank you. It wasn''t a joke.

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!