🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

3d Exploration --> .3ds to .cpp

Started by
6 comments, last by Ozz 24 years, 1 month ago
Could someone run throught getting a model into opengl after it has been converted to a .cpp file. What functions need to be called in drawGLscene.
Advertisement
Should have mentioned that the .3ds model was converted to .cpp using 3D Exploration.

http://www.xdsoft.com/explorer/
once you have compilable code, you''ll notice that the code has a

GLint Gen3DObjectList(){}

this is the function that goes as the parameter to a call list call,

glCallList(Gen3DObjectList());

That should display it.

a2k

------------------General Equation, this is Private Function reporting for duty, sir!a2k
Thanks for the help.
I was also wondering how straightforward is it to move/rotate the model?
just use the standard gl transforms just like anything else

glloadidentity
gltransform
glrotate

glcallist

in some order like that.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Is there a complete tutorial on how to do this in VC++ 6.0 ?
I''m new to this but like to try it out!

Marco van Manen

quote: Original post by a2k

once you have compilable code, you''ll notice that the code has a

GLint Gen3DObjectList(){}

this is the function that goes as the parameter to a call list call,

glCallList(Gen3DObjectList());

That should display it.

a2k





I''m not stupid I''m from the
Netherlands! ;)
I''m not stupid I''m from theNetherlands! ;)
excuse me if i''m assuming all general audiences...

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
guess that means no?

quote: Original post by a2k

excuse me if i''m assuming all general audiences...

a2k




I''m not stupid I''m from the
Netherlands! ;)
I''m not stupid I''m from theNetherlands! ;)

This topic is closed to new replies.

Advertisement