Difference between revisions of "Oolite Converters"

From Elite Wiki
m (Scripting)
(Added blender - .dat converter)
 
(3 intermediate revisions by 3 users not shown)
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.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 ==
Line 29: Line 30:
 
== Links ==
 
== Links ==
 
* [[List_of_software|List of software]] - a collection of useful third party applications.
 
* [[List_of_software|List of software]] - a collection of useful third party applications.
  +
* [http://aegidian.org/bb/viewtopic.php?f=4&t=12165 Model converter utilities] (2012+)
 
* [[Property_lists|Property lists]] - a short introduction in plists.
 
* [[Property_lists|Property lists]] - a short introduction in plists.
 
* [[OXP_howto|OXP howto]] - overview about creating OXP.
 
* [[OXP_howto|OXP howto]] - overview about creating OXP.

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