PDA

View Full Version : code c/c++ or 3ds loader ?



raziel
09-09-2003, 06:13 AM
Hi....

Im beginner in opengl programing, and the question is:

What is the best way to load models constructed in 3d Studio Max in my program written in C, export to code c/c++ and compiling or with the 3ds loader...What is the diference?? http://www.opengl.org/discussion_boards/ubb/confused.gif

[This message has been edited by raziel (edited 09-09-2003).]

GL_ZERO
09-09-2003, 07:19 AM
If you have a file loader you can easely adjust some stuff in the scene or model and load em in your program. With a compiler you need to re-compile your programm with the slightest adjustments or change in your scene.

raziel
09-09-2003, 08:37 AM
I see...

And the performance in the execution whit a 3ds loader is appropriate for game engine ??

I need good performance in the render...

Thanks http://www.opengl.org/discussion_boards/ubb/cool.gif

Mazy
09-09-2003, 11:07 AM
the preformance should be the same.. you arent going to load the object every frame do you http://www.opengl.org/discussion_boards/ubb/smile.gif

and the data should probably be shuffled into VBO:s anyway.

raziel
09-09-2003, 03:16 PM
Thanks a lot for your help.....

I going to use the lib3ds from sourceforge.net
what do you think about.....

Regards...

zander76
09-10-2003, 06:07 AM
Hello

I just finished (well just mesh, texture and materials) one using flexporter. If you want to check it out you can find it at http://emotion.sourceforge.net. I am planning on seperating this into a seperate library so everybody can use it.

Ben

raziel
09-10-2003, 11:18 AM
Hi ....

well im going to check it out in this moment...

se you later...... http://www.opengl.org/discussion_boards/ubb/cool.gif http://www.opengl.org/discussion_boards/ubb/cool.gif

[This message has been edited by raziel (edited 09-10-2003).]