3d Exploration --> .3ds to .cpp
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/
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
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?
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
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
I''m not stupid I''m from the
Netherlands! ;)
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
a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement