Hi Everyone,
I have developed an XML encoding for the G3D format. It is essentially a flat "ASCII dump" of the format. The encoding is only for G3D version 4, not any earlier versions.
I have written two tools that convert to and from the XML format:
g2xml - converts G3Dv4 to XML
xml2g - converts XML to G3Dv4[/list]These can potentially make the task of a model exporter easier by allowing the exporter to use XML instead of the G3D binary format. This may be especially useful for exporters that are not written in C/C++.
My package (dubbed "GLEXEMEL") has a website here:
http://http://grub.homelinux.org/g3d[/list]So far, I've tested it only under x86 Linux.
I am very willing to include these tools in the official Open Source component of Glest, if the project admins agree. If they advance any further than a quick experiment, I will probably re-write them in a higher-level language (Python or Ruby) to simplify them.
Have fun.
Jonathan Merritt.