Milkshape ms3d to ogre converter [WIP]

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Milkshape ms3d to ogre converter [WIP]

Post by :wumpus: »

I needed to convert some ms3d models to ogre, but as I don't have milkshape this was a problem. After running out of other options I wrote a converter that directly converts from ms3d to Ogre .mesh and .material. It already reads the bone structure so animation is quite easy to add.

As you can see from this guy it already works kind of:

Image
Image

I'm not sure with which versions of the format it already works, but if this is useful for other people I'll add it to the OgreAddons.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

IMO it's always useful to have command-line utilities for converting between formats - especially formats for which you don't have the editor.
Now non-milkshape owners can convert ms3d to mesh - that's cool. :)

(I think the 3ds2mesh utility should be hosted also).
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
RoundSparrow
Greenskin
Posts: 145
Joined: Wed Jan 19, 2005 4:36 am
Location: Arica, Chile

Post by RoundSparrow »

Yes, yes, we need this! It is useful! We just happen to have a library of 50 objects we need to convert.
Last edited by RoundSparrow on Tue Apr 26, 2005 8:14 pm, edited 1 time in total.
Looking to hire people working out of their home to do C++ Ogre programming. Blender artists also wanted. Looking for long-term relationships. PM on forums or contact via AIM or email Art@Arica3D.com
RoundSparrow
Greenskin
Posts: 145
Joined: Wed Jan 19, 2005 4:36 am
Location: Arica, Chile

Post by RoundSparrow »

Dopefish?!
Looking to hire people working out of their home to do C++ Ogre programming. Blender artists also wanted. Looking for long-term relationships. PM on forums or contact via AIM or email Art@Arica3D.com
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Don't remember him from the commander keen series?

http://www.dopefish.com/

Anyway, I'll try to add this to the ogreaddons soon.
RoundSparrow
Greenskin
Posts: 145
Joined: Wed Jan 19, 2005 4:36 am
Location: Arica, Chile

Post by RoundSparrow »

Yha, I know dopefish :) cool.

Please post here once up on CSV... or even drop us a copy in email ( Stephen@IPCoast.com ) if you get a chance.

Thanks again, this tool is just what we need.
Looking to hire people working out of their home to do C++ Ogre programming. Blender artists also wanted. Looking for long-term relationships. PM on forums or contact via AIM or email Art@Arica3D.com
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Do you need skeletal animation? If not, I could just upload the current sources. (I still have some trouble converting the x,y,z rotation from MS to plain quaternions)
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19265
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

:wumpus: wrote:Do you need skeletal animation? If not, I could just upload the current sources. (I still have some trouble converting the x,y,z rotation from MS to plain quaternions)
The approach used in the Milkshape exporter should work ok direct, I would have thought?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Ahhh of course, thanks for mentioning :) I'll look into that.

BTW, the source is in ogreaddons now. Module ogreaddons/ms3d2xml
RoundSparrow
Greenskin
Posts: 145
Joined: Wed Jan 19, 2005 4:36 am
Location: Arica, Chile

Post by RoundSparrow »

thanks Wumpus.
Looking to hire people working out of their home to do C++ Ogre programming. Blender artists also wanted. Looking for long-term relationships. PM on forums or contact via AIM or email Art@Arica3D.com
Gray
Gnoblar
Posts: 5
Joined: Thu Jun 02, 2005 11:53 am

Post by Gray »

When well the compiled version with skeleton animations included, be availble? The plugin for Milkshape doesn't seem to work correctly for me, so I hope this one will :P
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19265
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

Gray wrote:When well the compiled version with skeleton animations included, be availble? The plugin for Milkshape doesn't seem to work correctly for me, so I hope this one will :P
The compiled one works fine (all the animated meshes in the distro were exported using it), I think you've played your animation wrong (see your other post).
Gray
Gnoblar
Posts: 5
Joined: Thu Jun 02, 2005 11:53 am

Post by Gray »

sinbad wrote:
Gray wrote:When well the compiled version with skeleton animations included, be availble? The plugin for Milkshape doesn't seem to work correctly for me, so I hope this one will :P
The compiled one works fine (all the animated meshes in the distro were exported using it), I think you've played your animation wrong (see your other post).
ah ok sorry, my mistake, and thanks a lot for the help ! :)
User avatar
dannomite
Kobold
Posts: 25
Joined: Tue Jun 21, 2005 9:06 pm
Location: USA

Post by dannomite »

jacmoe wrote: (I think the 3ds2mesh utility should be hosted also).
Where can I find 3ds2mesh and it's source code?
haltendehand
Halfling
Posts: 98
Joined: Wed Jun 16, 2010 11:44 pm
Location: Freiburg, Germany
Contact:

Re: Milkshape ms3d to ogre converter [WIP]

Post by haltendehand »

Sorry for posting in a 5 year old thread, but is this tool still downloadable? I can´t seem to find it anywhere...
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Milkshape ms3d to ogre converter [WIP]

Post by jacmoe »

/* looks in ogre_src/Tools/MilkshapeExport ... */
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
haltendehand
Halfling
Posts: 98
Joined: Wed Jun 16, 2010 11:44 pm
Location: Freiburg, Germany
Contact:

Re: Milkshape ms3d to ogre converter [WIP]

Post by haltendehand »

I hate the Windows Explorer search function... thank you, jacmoe
Post Reply