colt
10-12-2006, 10:44 AM
Hi.
I'm trying to read some numbers from a maya binary file. But I can't figure out how maya stores floats. It seems not to use the ieee 754 standard for 4 byte floats.
For example maya writes 1.0 as 00 00 00 F0
and -1.0 as FF FF FF 10
:argh: Thats really strange. Maybe its a fixpoint representation?
Does anyone know which floating point representation maya uses? Or any other standard beside ieee 754, so I can compare them.
I'm trying to read some numbers from a maya binary file. But I can't figure out how maya stores floats. It seems not to use the ieee 754 standard for 4 byte floats.
For example maya writes 1.0 as 00 00 00 F0
and -1.0 as FF FF FF 10
:argh: Thats really strange. Maybe its a fixpoint representation?
Does anyone know which floating point representation maya uses? Or any other standard beside ieee 754, so I can compare them.
