Archived

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

milkshape to opengl

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

hi i''m searching a way to transfer a milkshapemodel to vertex coordinates of opengl i dont want to import a file like ms3d! i only need it in this way glBegin(GL_...); glVertex3f( .., ..., ....); glVertex3f( .., ..., ....); glVertex3f( .., ..., ....); glVertex3f( .., ..., ....); glEnd();

Share this post


Link to post
Share on other sites
um.. I think you''d have to write yourself some sort of app to do that.. At least, I dont know about any which does what you want.
Anyone else?

Kenneth Wilhelmsen
Try my little 3D Engine project, and mail me the FPS. WEngine
Or just visit my site
--------------------------
He who joyfully marches to music in rank and file has already earned my contempt. He has
been given a large brain by mistake, since for him the spinal cord would fully suffice. This
disgrace to civilization should be done away with at once. Heroism at command, senseless
brutality, deplorable love-of-country stance, how violently I hate all this, how despicable and ignoble war is; I would rather be torn to shreds than be a part of so base an action! It is my conviction that killing under the cloak of war is nothing but an act of murder

Share this post


Link to post
Share on other sites
As far as I can see, the only options you have involve learning the MS3D file format.

I would like to mention that the Infinite.Scream engine has a MS3D model loader which is free and open source in a tidy little class. It''s as simple as this:
// Create instance of class
iseModel* myModel;
myModel = new iseModel;
// Load Milkshape model
myModel.loadModel(filename, texturedirectory);
// Render model to screen
myModel.draw();



-------- E y e .Scream Software --------
----------------------------------------
                                  /-\
    http://www.eyescream.cjb.net | * |
                                  \-/
----------------------------------------

Share this post


Link to post
Share on other sites