C++ code for reading Indigo materials
Posted: Thu Mar 05, 2009 9:25 pm
Hi all,
I'd love to see some of the exporters for various modelling packages support importing Indigo materials, so that the MatDB can start becoming really useful.
But I realise that writing the code that can process a .igm file can be pretty difficult and time-consuming, especially when you have to cope with backwards compatibility in material XML specification.
So I'm releasing some C++ code that can parse Indigo materials, given the XML element. The XML parsing itself is done with TinyXML.
For the people that are working on an exporter that doesn't use C++, well, at least the code can provide a guideline of what needs to be done.
I've just been working on this over the last few days, so it's not fully tested yet.
However, this code should be pretty complete, and will be maintained in the future, as it's now also the code that Indigo uses to parse material XML.
Any feedback is welcome. Is this useful for exporter authors?
I'd love to see some of the exporters for various modelling packages support importing Indigo materials, so that the MatDB can start becoming really useful.
But I realise that writing the code that can process a .igm file can be pretty difficult and time-consuming, especially when you have to cope with backwards compatibility in material XML specification.
So I'm releasing some C++ code that can parse Indigo materials, given the XML element. The XML parsing itself is done with TinyXML.
For the people that are working on an exporter that doesn't use C++, well, at least the code can provide a guideline of what needs to be done.
I've just been working on this over the last few days, so it's not fully tested yet.
However, this code should be pretty complete, and will be maintained in the future, as it's now also the code that Indigo uses to parse material XML.
Any feedback is welcome. Is this useful for exporter authors?