Jump to content
  • Advertisement
Sign in to follow this  
Devil_cute

OpenGL can open gl read 3DSMax files ?

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

Hi.. hello, my name is hady. I'm a newbie in this forum. I have a case that i wanna learn to know how to make a 3d game in windows platform. I'm planning to use C++ and openGL to make it. But because i am new in this part of programming, i have many problems and really confusing. I have read that openGL can open image file(like bitmap), but i wanna know, can openGL read vertex information in 3DSMax file? I really appreciate if anybody could help me. Thank you Regards, Hady

Share this post


Link to post
Share on other sites
Advertisement
It cannot open or read any files. Not even bitmaps. Any files you want to load, you have to load yourself, or with the help of a third party library. In any case, OpenGL can't do it for you, nor can it help you in any way.

Search Google or something for model loaders. There are quite a few of them.

Share this post


Link to post
Share on other sites
OpenGL can't do anything besides transforming vertices into screen coordinates and then color them. That's all that OpenGL does, well basically.

To display a 3DS mesh on screen you can use OpenGL, but OpenGL can't load it. So you have to either make the code that loads a 3DS file or download and use a library that does.

However I'd suggest you start with a simpler format, such as the wavefronts .obj format, it's well supported by many 3D modellers and is really easy to use.
But really, if you don't know OpenGL yet, you shouldn't worry about loading models just yet. Instead search google for opengl tutorials(there's lots of them) and start studying them.

And be sure to check out the tutorials at nehe.gamedev.net if you haven't already.

Share this post


Link to post
Share on other sites
Hi!

OpenGL in itself can't read any file format. You must load any file yourself - pixel data for images, vertices for 3d meshes... Then, you can draw that mesh with OGL, you know, glBegin - glVertex - glEnd. How you store the data is up to you.

If you have problems with that, try
http://nehe.gamedev.net
It is considered the best OGL tutorial resource.

On the 3DS format, try these links:
http://www.wotsit.org/search.asp?s=3d
http://mediasrv.ns.ac.yu/extra/fileformat/3d/index.htm

Greets!

Share this post


Link to post
Share on other sites
Sign in to follow this  

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