Page 1 of 1
Milkshape export issue
Posted: Mon Oct 17, 2005 4:56 am
by dmj726
I have Milkshape 1.75/1.76 and niether of them will properly export a model to OGRE format. After export the mesh WITH MATERIAL I open the mesh in the OGRE Meshviewer and get an error: (i believe it was #6) to the effect of material not found. Why is this happening and how can I fix it?
Posted: Thu Oct 20, 2005 3:33 am
by dmj726
I also get this error if I don't export the material, which means it must not be connecting the two in the first place. I'm kind of stuck until I get this problem resolved. Is there any particular way I need to export from milkshape to make it work in OGRE?
Posted: Thu Oct 20, 2005 12:02 pm
by Dark
google: 3D object converter if that aint helpin i dont know waht else

Posted: Thu Oct 20, 2005 5:42 pm
by sinbad
Materials are exported as .material files, they're separate from the .mesh files. There is no 'hard' link between them except the name of the material. You just have to make sure the .material is somewhere on your resource path. Read the manual to see how .material scripts work.
Try it with a standard app rather than the mesh viewer if you can't get it to work, I'm not sure where the mesh viewer looks for material scripts. I'm thinking of replacing the meshviewer with the cegui based one sometime because it has some issues.
Posted: Fri Oct 21, 2005 12:26 am
by dmj726
I realize they are two separate entities. I exported them in the same folder with the same filename (different extensions .mesh and .material respectively). When I opened the .mesh file in meshviewer it through me an error. I have tried exporting the mesh with and without the material file exported. Is this version of Milkshape incompatible with ogre? Which standard app would you suggest using?
Thanks.
Posted: Fri Oct 21, 2005 5:54 pm
by sinbad
How about any of the demos that create an entity?
I'm sure the error is with the meshviewer, it's not developed by us (it's an addon) and is getting out of date now.
Mesh View
Posted: Mon Oct 31, 2005 12:08 am
by tonywt
It seems the .mesh, .material and texture file need to be in the same location, then things seem to work fine.