OHM Wings3D .msh Exporter

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
18
Points
0

Author: Hielor

This is a Wings3D exporter for the Orbiter .msh format for Wings versions 1.2 and later.

Vertex normals, materials, and textures are all exported.

See readme.txt in the zip file for more information, including installation instructions.

Updated 2010-06-10: Added dynamic texture and mesh group flags support.
Updated 2010-03-13: Improved performance, fixed a few bugs, and added better functionality to exclude polygons.
Updated 2009-11-04: Added readme comment about how to exclude polygons from export.
Updated 2009-07-20: Added texture coordinate export.



DOWNLOAD
 
The exporter has been updated, and now properly exports texture coordinates. The texture will still need to be converted from .bmp to .dds manually.

With this update, it's possible to use Wings as a good intermediary for conversions from other programs, due to its ability to properly import several different 3d model types.

Please post any problems encountered here, or contact me directly.
 
Updated the readme to include instructions on how to exclude polygons from export to Orbiter, which was a sort of hidden feature I'd forgotten about :P
 
There's currently a bug with the exporter where if you have textures applied to some faces/objects in the model, but not all, the exporter will crash. I'm looking into a fix soon, but for now the workaround is to either have no textured objects in your model, or to have all objects fully textured (ie, no untextured faces).
 
Uploaded a brief tutorial video showing how to manipulate normals to get doors on curved surfaces to show up correctly:
 
Updated again, with some bug fixes and performance improvements (and the video posted previously now actually can be used :P)
 
Updated again, this time to add the dynamic texture and mesh group flags support in the manner used by Moach in his 3dsMax exporter.
 
Awesome. I remember talking with you in 2008 but the plugin was still not that good; now that I'm back at learning the Orbiter development I see a lot of updates for it and that's good because I don't want to learn yet another 3D modeler, Wings3D is perfect and fast for me.
Thanks Hielor!
 
This works a treat with Wing3d ver 1.41.

P.S. Thanks for the help on other threads

P.P.S. If I may make a small suggestion. After exporting the mesh file with a texture which has been created / altered externally the UVmap file name reads something like "myfile.PNG.dds" or "myfile.BMP.dds". Would it be possible to trim the name so as to remove the extension(s) as it will all ways end up as a .dds

i.e. I export an external UVmap, play with it and save it as "doors.png" move this or that and save it a few times. In the end DXTEX will need it as a BMP but it will always end up as a texture doors.dds

It is a very easy job for me to do by hand I know. It is just that your 40 hours of programming to release a new version will save me 15 seconds.
( hope that does come across as a joke)
 
Hmmm, I'm not sure I get what you mean.

If you use "make internal" on the texture in Wings before exporting, does that get rid of the extra ".png" or ".bmp"?
 
Sample from end of a mesh file
.
.
.
MATERIALS 2
cube1_auv
default
MATERIAL cube1_auv
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0
0.001 0.001 0.001 1.0
1.0 1.0 1.0 1.0
MATERIAL default
0.7898538076923077 0.8133333333333334 0.6940444444444445 1.0
0.7898538076923077 0.8133333333333334 0.6940444444444445 1.0
1.0 1.0 1.0 1.0
0.0 0.0 0.0 0.0
TEXTURES 1
cube1_auv.png.dds



The external file had been cube1_auv.png in fireworks
 
Back
Top