Re: [osg-users] backface culling question - black model?

2010-01-05 Thread Cory Riddell
Hi Paul, Paul Martz wrote: Cory Riddell wrote: I've attached an example osg file. Load it with osgviewer and it looks black. Hit 'b' twice and suddenly it looks correct. It has something to do with the transform (to a left-handed system), but I haven't been able to track down the problem.

Re: [osg-users] backface culling question - black model?

2010-01-05 Thread Paul Martz
Is there a problem having a negative y scale? I do that to get a left-handed system. Is there a better way to accomplish this? It changes the winding order of your polygons, which affects face culling. If your model assumes face culling is performed based on a certain winding order, and you

[osg-users] backface culling question - black model?

2009-12-07 Thread Cory Riddell
I have an osg file that is about 50 MB (not huge but not trivial). When I load it, the model is entirely black, as if you are looking at a silhouette of it. If I press the 'b' key nothing happens. If I press it again, suddenly everything looks correct. If I keep hitting 'b', it toggles between the