[ODE] XML ODE Data Interchange Format (revision 5)
Jon Watte
hplus-ode at mindcontrol.org
Sat Mar 13 16:47:01 MST 2004
If you want to support model space conversion, you'd have to also support changing winding orders, and supporting negating values (because swapping components takes left-handed data into right-handed, and vice versa). At that point, I think we're beyond simple data representation and squarely inside data processing, which probably is overkill.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Chris
Gregan
Sent: Saturday, March 13, 2004 4:14 PM
Cc: ode at q12.org
Subject: Re: [ODE] XML ODE Data Interchange Format (revision 5)
Another nice aspect of being able to specify the format is if you are
porting data from one application to another where the world has been
set up differently. For instance if the data you have is defined with
the z axis as up, whereas yours has the y axis as up.
We get this all the time when importing stuff from 3DSMAX. Instead of
having to reformat the whole file, you could just change the format to
"x,z,y". Similarly if you wanted to convert row major to column major
matrices or vice-versa you could just change the format attribute. It
may also open up the format to graphics as you could add color, alpha,
texture co-ords, etc.. You could also make the format attribute
optional, so that <vertices> assumes a format "x,y,z" unless you specify
otherwise - or would this confuse things?
Chris Gregan
More information about the ODE
mailing list