Advertisement

milkshape to opengl

Started by February 16, 2002 02:52 PM
1 comment, last by the origin 23 years ago
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();
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
Advertisement
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 | * |
                                  \-/
----------------------------------------

This topic is closed to new replies.

Advertisement