OSM to DotScene(Octree) Converter 0.2

sharkyx

29-12-2006 00:26:27

Updates from 0.1 to 0.2:
  1. fix crash in octree compiler (fix will be in dotsceneoctree cvs soon)[/*:m]
  2. use release build for sceneconvert.exe and ogre[/*:m]
  3. add debug option that waits for keypress after each step[/*:m][/list:u]

    Download from sharky-x.com


    Hi,

    I exported a scene of mine once with OFusion and once with the Octopus exporter and gave the two resulting files to a friend of mine who likes playing with XML.

    What I got back was a nice and small OSM2SCENE converter.

    It is an XSLT file and a bit of Java code, which could be replaced by any other XSLT processor of your choice probably.

    Invoke it with:
    java -classpath path/to/the/osmconverter osm2scene myscene.osm myscene.scene

    It is probably not 100% compliant with the latest dotscene and it does not convert everything from the .OSM files (like skybox settings).

    If you are using the dotsceneoctree plugin, you might be happy to download the osm2dotsceneoctree.zip instead, which is a GUI tool and does the following:


    * convert your osm to .scene
    * copy meshes, materials and textures to output folder
    * strips pathes from texture references in the .material files (the octopus exporter generated pathes, don't know if ofusion does this, too)
    * invokes the dotsceneoctree compiler
    * deletes all intermediate files
    * leaving you with a .material, a .scene, a .bin, and your textures


    If anyone improves on that, I'd love to get a copy Very Happy

    Regards,
    Jörg

Lioric

30-12-2006 17:24:08

Good job :) this improved build will be very useful for several users