Jump to content
  • Advertisement

Archived

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

Keith P Parsons

OpenGL Sticking a 3D model in OpenGl code.

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

How would i stick a 3d object (created with 3d studio Max) in to my opengl code? Where could i find some sample code that does this? What kind of file would I save the 3d model as?

Share this post


Link to post
Share on other sites
Advertisement
There are a couple of programs that convert 3DS files straight to openGL code. I don''t think that''s the best way to do things, however. Export the thing to an .ase file and take things from there. If you need help with text file parsing, nate''s programming page has an example program on loading them. In my demo I have an ase loader that works with multiple objects in a scene that I programmed a little while ago. It''s pretty similar to the one that you''ll see on the link above.

-BacksideSnap-

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!