Jump to content
  • Advertisement

Archived

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

Ozz

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

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

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.

Share this post


Link to post
Share on other sites
Advertisement
Should have mentioned that the .3ds model was converted to .cpp using 3D Exploration.

http://www.xdsoft.com/explorer/

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Thanks for the help.
I was also wondering how straightforward is it to move/rotate the model?

Share this post


Link to post
Share on other sites
just use the standard gl transforms just like anything else

glloadidentity
gltransform
glrotate

glcallist

in some order like that.

a2k

Share this post


Link to post
Share on other sites
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! ;)

Share this post


Link to post
Share on other sites
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! ;)

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!