Sign in to follow this  

DX and OGL and one stupid totally n00b question

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

Dear all, I feel the need first of all to ask for forgiveness... I am on my first steps in C++ and I do have this question: I use 3D Studio max for my models/animations (and I brag to be a good designer). Can someone please explain why do I need DirectX or OpenGL besides C++ and 3dS max??

Share this post


Link to post
Share on other sites
C++ itself does not support graphics output, only text. That's because it's designed to be pross platform, and it's used on some systems that don't have graphics output capability at all.

Direct3D and OpenGL (And Windows GDI to some extent, but only really 2D) give you a set of functions and classes you can use from C++ to interface with the graphics hardware. A bit like an extension to the language, if you will.

You create the models in Max, load them with C++ file access functions, and then pass the vertices, textures, etc to Direct3D or OpenGL to render.

Share this post


Link to post
Share on other sites

This topic is 3938 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this