Jump to content
  • Advertisement


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


OpenGL Deep Exploration, OpenGL, and 3d models

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

well I have just aquired an application that was suggested to me by a friend who is in the computer gaming industry called Deep Exploration. This application converts a 3d model of various formats to any one of other various formats. I have been wondering about the usage of 3d models in OpenGL code lately, and so I aquired this program in order to help convert files to a proper format so that I might be able to use them. All of my 3d models were originally in .3ds format (3DS Max mesh), but I did not know how to use a 3ds mesh in OpenGL, so I decided to convert it to OpenGL code using Deep Exploration. Take into account the model I am converting contains about 9500 vertices and 18000 triangles. The resultant cpp file was 15000 lines of code in length, made up of almost purely data for those vertices and faces. (Obviously it put them in display lists). What do you think of this method? Do you think it would be more efficient to just find out a method of loading the .3ds mesh into my program instead of converting it into a OpenGL cpp code file? Or do you think it would take the same amount of data and processing power either way I go? I''m not sure whether I really want to try implementing this model as a cpp file when the file is over 15000 lines long of data....but then again....if I learned the .3ds format and created my own loading procedures to lead the .3ds mesh, wouldnt it take just the same amount of data, or what? How much do you think it would affect my fps rate? (my current rate is about 60 fps with my 3d terrain generator I have created so far). A horse is a horse. There is no excuse for Hungarian notation. DavidP - a CBoardian dragon288@juno.com

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Its best to load the model in yourself instead of using code... That way changes to the model will not effect the code in anyway.

If you wanted to you could load the data in and then put it in a display list.

Making models in code is just bad unless your using some kind of alogrithm and you wont ever need to change the model (eg sphere / cube / torus etc)

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!