History: VRML Converter
Source of version: 4 (current)
Copy to clipboard
{img src="img/wiki_up/VRMLConcerterBig.png" alt="VRMLConcerterBig.png" imalign="right"}
__Author__: ((User:wesslen|Daniel Wesslen))
__Project__: OGRE Main Project (VRMLConverter)
__Type__: Command-line Tool
__Documentation__: [http://ogre.cvs.sourceforge.net/*checkout*/ogre/ogrenew/Tools/VRMLConverter/README.txt|ReadMe]
__Sources__: [http://www.ogre3d.org/index.php?option=com_content&task=view&id=415&Itemid=144|OGRE SVN]
__Binaries__: [http://www.hig.se/~dwn/sd/VRML2mesh-win32.zip|Daniel' site] ''dead link''
__Status and bug reports__: [http://www.ogre3d.org/phpBB2/|OGRE Forums]
---
Convert [http://en.wikipedia.org/wiki/VRML|VRML] files to OGRE .mesh files
__This converter seems to be outdated. Last code update was in January 2004.__
Possibly it works, but there also could be problems (e.g. happened at some VRML97 models).
__Alternative__ ways to import VRML models:
* For models in VRML 1 format: Open model with ((Tools: Blender|Blender)) and export to Ogre format by ((Blender Exporter|Blender exporter))
* For models in VRML 2 (VRML 97) format: Use [http://www.micromouse.ca|AccuTrans 3D] to convert the model to the file format __.3ds__. This can be loaded by ((Tools: Blender|Blender)) and then exported to Ogre format.
!!Usage
{MONO()}~np~VRML2mesh <input vrml file> [[output mesh file]~/np~{MONO}
On command line or just drag-and-drop a VRML file on the progam.
Well... before doing that, you have to export a VRML file from your modeler.
3dsmax, Maya and Milkshape can all do this, and their exporters have been confirmed to create trouble-free files. Other programs should work as well, but there are no guarantees.
!!Features
Converts VRML97 (VRML 2.0) files to .mesh files containing static meshes and materials. (''What's about VRML 1.0?'')
That's all.
!!Notes
* Make sure your objects are tesselated. They don't have to be triangulated - the converter takes care of that, but primitive shapes (like spheres, boxes, etc) are not recognised.
* If you want the mesh to contain normals (which is usually the case), then make sure that normals are exported. There is usually an option for this in the modeler, but the default is 'off' in most programs.