Skip to content
Christophe Pradal edited this page May 18, 2016 · 4 revisions

RoadMap

Convert MTG to xeg (issues)

  • create a branch mtg2xeg
  • make a test using a MappleT MTG and a PlantGL Scene Graph
  • Algorithm:
    • Build a MTG with topology, geometry/color and properties
    • Convert the topology: Capture in scale and between scale relationships
    • convert the geometry Transform global geometry to turtle commands (XEG geometry and Shapes)
    • convert the properties

Problems:

  • We may have several shapes for one topological object: A metamer may hae a stem a petiol and a leaf How to represent it in xeg?
  • Define a generic algorithm to convert absolute geometry to turtle commands

Document XEG file format

xeg 2 MTG conversion

Clone this wiki locally