Difference between revisions of "Oolite converters"

From Elite Wiki
m (Scripting)
m (Changed link from Berlios to GitHub)
Line 14: Line 14:
 
* Obj2DatTexNorm.py
 
* Obj2DatTexNorm.py
  
All of them are available on [http://svn.berlios.de/svnroot/repos/oolite-linux/trunk/tools/meshConverters/ BerliOS]
+
All of them are available on [https://github.com/OoliteProject/oolite-mesh-converters GitHub]
 
and require Python2.6+ (not 3.x) to be installed.
 
and require Python2.6+ (not 3.x) to be installed.
 
  
 
== Scripting ==
 
== Scripting ==

Revision as of 03:00, 24 June 2014

Several Oolite specific helper scripts and applications are available to do conversions.

Modelling

  • Dat2Mesh.py
  • Dat2Obj.py
  • Dat2ObjTex.py
  • DatScale.py
  • Mesh2Dat.py
  • Mesh2DatTex.py
  • Mesh2Obj.py
  • Obj2DatTex.py
  • Obj2DatTexNorm.py

All of them are available on GitHub and require Python2.6+ (not 3.x) to be installed.

Scripting

  • xml2ns.py - Converts xml to open step (written by Cdr. Jettison). Requires Python2.6+ (not 3.x) to be installed and XML plist must be free of comments to work.
  • Note that this conversion script contains CR/LF (carriage return/linefeed) end-of-lines, as used on Windows computers. This will cause "bad interpreter: No such file or directory" errors if run on Linux. You can strip out the CR characters yourself, or download this copy of the script which has already had the CRs removed. (you will also need to make the script executable)

Texturing

  • Planettool - a application from Ahruman for converting equirectangular projection textures to cube map textures.


Links