hiker {l Wrote}:The fog folor is written as floating point values; while STK expected [0-255]. Is there an advantage of FP numbers? Otherwise I'd suggest to change the track exporter to write the old format, but we could fix this in stk as well (though then we would more work to stay backwards compatible).
Please note that most of the time I have no clue what format a varible has. It is not documented anywhere, so I have to guess from the context. I try to test every option for functionality. Since this is the second time someone has alerted me to an incorrect formatting, I seem to be doing ok.
The decimal color system is just the internal representation of blender. Changing it's representation should not be a problem.
hiker {l Wrote}:I am not sure if the weather effect (rain) can be specified in the browser. If so, I didn't realise how to do this.
If you look into the code you'll see that all properties (lPropertyDef) are defined by its type. As long as it falls within one of the available types (string, integer, float, color, boolean, static, picklist, url and imageurl) there is no problem. If more types are needed, please tell me. I do not forcast any problems adding a weather property (get it? Weather <-> forcasting?

)
After adding a property, don't forget to add it to it's type (lSTKTypes2Properties).
hiker {l Wrote}:One additional question: should we perhaps combine the browser and track exporter into one script (or at least add a button to the browser to run the exporter)? One file would be a bit big, but would have the advantage that it's easier to run this while testing and debugging (if they need to be installed in blender .script directory, we would have to restart blender).
Personally I was playing with the idea of having the two scripts share a common dataformat (in a separarte file). The exporter now has a pull model: The script deremines which values to read. I was contemplating making it a push (or data-driven) model: The data makes the exporter write XML code.
The "make track now" button is a good idea that should be easy to make. If we want to change things later there should be no problem.
hiker {l Wrote}:Thanks a lot for the improvements!
You're welcome!