Hi Aric,

On 25/3/09 3:24 AM, Aric Aumann wrote:
According to this spec, "the frame can contain objects of the type Mesh
and a FrameTransformMatrix." I might end up needing to handle the
matrices, but at this point I think it's more likely that our modeler
can just export models without the matrices, and the parseSection will
be good enough as-is.

Can you make one or more of these models available for download in case someone wants to tackle this issue? Unless of course there's an I.P. issue...

I've added an option on our local build that makes the handedness swap
in ReaderWriterDirectX.cpp an option. Our modeler is using XSI, which
has a DirectX export but it puts out right handed coordinates, so the
hand swap isn't necessary. I don't know how common of an issue this is,
but can provide my changes.

Is there some flag in the .x file that specifies right-hand vs. left-hand CS? I was under the assumption that .x files are *always* left-handed (because the rest of DX is).

The obj loader supports a similar option (called 'noRotation' which maybe isn't the best choice) so I'd say go ahead and submit it. (Also saves you to worry about conflicting changes.)

<rant>
This is sheer madness: at least the spec says what it's storing, but hey, that's not stopping vendors from happily fscking the spec without a way to detect this at load time.
</rant>

Cheers,
/ulrich
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to