Advertisement

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

Started by May 04, 2000 05:20 PM
6 comments, last by Ozz 24 years, 6 months 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.
Should have mentioned that the .3ds model was converted to .cpp using 3D Exploration.

http://www.xdsoft.com/explorer/
Advertisement
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! ;)
Advertisement
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