Archived

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

meme

import 3d models

Recommended Posts

Hi all, I been learning to make 3d models on 3D studio max. I was wondering how to import models into opengl and animate them. I know how to define different parts of the models (arms, legs, hands, etc.)and animate them in 3d studio but how do I do that in opengl?? thanks

Share this post


Link to post
Share on other sites
u have to code it... there aint no support for model files in opegngl... you have to load them up urself and create ur own classes /functions to process the data and call the nessarary opengl commands...

there are a few tutorials on model loading... try NeXe I think they got tuts on model loading and skellital animation.

Share this post


Link to post
Share on other sites
As mentioned, OpenGL is strictly for rendering. It ddoes not support loading of models. Either write your own code to load them (if you like the idea of working out the file format!) or use a library such as lib3ds.sf.net to do it for you.

Share this post


Link to post
Share on other sites
I have a GDK that will load 3ds files but can only animate md2 files. I''m working on a newer version that does non-hierachy skeleton animations but I can only write the plugin for LightWave. I don''t own MAX .

Take a look at my site: http://www.spider3d.com

I have a forum so ask any questions you might have over there.

Share this post


Link to post
Share on other sites
a simple solution is to use quake md2 format.
very simple to code the animation.



Its my duty, to please that booty ! - John Shaft

Share this post


Link to post
Share on other sites