OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Wings3D Converter
View page
Source of version: 2
(current)
{img src="img/wiki_up/Wings3DBig.png" alt="Wings3DBig.png" imalign="right"} __Author__: ((User:iq|iq)) __Project__: External Project __Type__: Perl Script __Sources__: [http://www.servechilled.de/ogrestuff/w2o.zip|servechilled.de] __Status and bug reports__: [http://www.ogre3d.org/phpBB2/viewtopic.php?p=21067|OGRE Forums Thread] --- This exporter is heavily based on the original python exporter - especially i/o stuff and the triangulator code. !!!!Requirements * halfway recent perl version (ActiveState Perl works fine under Windows) * Math::VectorReal module (included for ease of use) * a few more standard modules that should be present with any perl installation !!!!Usage Unzip to a folder (keeping subfolders) and call the script with the wings file as argument. The individual objects are converted to XML within the current directory - named after the objects. * Windows: >perl w2o.pl model.wings * linux (so far untested): >w2o.pl model.wings !!!!What's better * written in perl now ;) * less bugs * faster (except loading with embedded pictures) * handles holes * fixed bug in the triangulator code (present in the python exporter) !!!!What's missing * command line switches, multiple file conversion * image export (added if requested - embedded pictures are IMHO bad anyway) * scaling (I will probably add that) !!!!What's different * It currently exports subobjects to seperate meshes ("object name".mesh.xml), so you may have to combine objects before converting to xml. This is intentional - but I may add a switch to export everything into one mesh to mirror the python exporter behavior. !!!!TODO * convert all of the code to use a proper vector class * improve output file name generation * a bit more code cleanup and error checking * add more features I want to try out - mainly translation and rotation of subobjects (ie align tires of a car to a standard axis) and dump the position data to files * speed up a few functions as noted in the code (although the load routine is probably the only thing in serious need of improvement), improve memory footprint? !!!!Acknowledgement Credits to Attila Tajti for the work on the original converter.
Search by Tags
Search Wiki by Freetags
Latest Changes
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
Critter AI
Mogre Add-ons
MOGRE
Mogre MyGUI wrapper
...more
Search
Find
Advanced
Search Help
Online Users
129 online users