You are spot on there Robert.

Most of the plugins result in a Z up model on input because they pass the
vertex data through unchanged from their native Z up environment.

The only one I know from memory that does a flip is the obj loader although
that can be suppressed by a "noRotation" option. Does anyone know of any
others?

Would it be a good idea if I put static transforms in the ac and dae plugins
which are by default Y up and had this behaviour controlled by a
"noRotation" parameter? This could be made standard across other plugins
that "know" when their data is not Z up. Users (like me) who have viewing
environments that are Y up by default could then have the option to specify
that parameter and avoid having to put in an extra transform to flip the
models back to their original orientation.

Ah well .... maybe next year!

Roger

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Robert Osfield
> Sent: 14 December 2007 11:30
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] What was reasoning behind OSG Z up axis
> 
> Hi Roger,
> 
> Which way is up for the plugins can be plugin specific, but it can
> also be down to individual modeller and the convention they use.  For
> instance terrapage and OpenFlight you can pretty well guarantee that
> they'll come in Z up as that the convention used in the modelling
> programs and the industry they are tied to.  With other modelling
> packages the convention is often far less regulated.  My guess systems
> that deal with whole worlds rather than individual artifacts will be
> more regulated in orientation.
> 
> Robert.
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to