Difference between revisions of "Oolite Converters"

From Elite Wiki
(Links: Added another)
(Added blender - .dat converter)
 
Line 16: Line 16:
 
All of them are available on [https://github.com/OoliteProject/oolite-mesh-converters GitHub]
 
All of them are available on [https://github.com/OoliteProject/oolite-mesh-converters GitHub]
 
and require Python2.7+ (not 3.x) to be installed.
 
and require Python2.7+ (not 3.x) to be installed.
  +
  +
* export_oolite.py - exports a blender mesh into a .dat file for Oolite. [https://gist.github.com/blm768/6059892 GitHub download] ([http://www.aegidian.org/bb/viewtopic.php?p=205187#p205187 blm768, 2013])
   
 
== Scripting ==
 
== Scripting ==

Latest revision as of 22:14, 23 December 2021

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.7+ (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