Murray,
Your rotor is being placed in the Opaque render bin, which is causing all of
the geometry behind it to be culled out. You need to make sure it is in the
transparent bin. You should add these to the stateSet of the rotors:
stateSet->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
stateSet->setMode(GL_BLEND, osg::StateAttribute::ON);
HTH,
Chuck
On Feb 23, 2011, at 10:53 AM, Murray G. Gamble wrote:
> Hi All,
>
> We have an OpenFlight model of a helicopter that exhibits some undesirable
> rendering behaviour in OSG. Specifically, various parts of the helicopter
> geometry are being culled and/or rendered in the wrong order. We do not
> observe this behaviour when rendering the same model using Vega Prime. I've
> attached a couple of screen captures that exemplify the issues.
>
> Can users with similar experiences provide any suggestions as to how to avoid
> these rendering artifacts? Does the model component/geometry hierarchy need
> to be modified and/or are there programmatic things that can be done within
> our OSG application to remedy the situation?
>
> I'm using OSG 2.8.0.
>
> Many thanks,
>
> Murray
>
> <CH149-OSG.jpg><CH149-VP.jpg>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org