Hi Robert, hi all,
Thanks for the answer. Unfortunately, the only configs I got are "XP + Geforce8" and
"Ubuntu + integrated graphics". I'll try to get another linux machine, but I think it
won't be soon.
Does anyone encountered this strange behaviour before?
Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
Le Sun, 12 Jul 2009 18:02:27 +0200, Robert Osfield <[email protected]> a
écrit:
Hi Sukender,
If you can try your app out on different hardware as well as different
OS's as it's pretty likely that this issue is driver specific.
Robert.
On Thu, Jul 9, 2009 at 12:10 AM, Sukender<[email protected]> wrote:
Hi,
I got a strange thing on a double sided model...
Under Windows (XP), a line like:
stateSet->setAttributeAndModes(new
osg::CullFace(osg::CullFace::FRONT_AND_BACK), osg::StateAttribute::OFF);
disables the face culling and my model is okay.
Under Linux (Ubuntu 9.04), the *exact* same code makes all (front AND back)
faces to be culled! Thus my model is invisible.
Splitting this into 2 lines:
stateSet->setAttributeAndModes(new osg::CullFace(osg::CullFace::FRONT),
osg::StateAttribute::OFF);
stateSet->setAttributeAndModes(new osg::CullFace(osg::CullFace::BACK),
osg::StateAttribute::OFF);
makes the model visible, with the expected behaviour.
Am I wrong somewhere?
May this be a driver issue?
Is this *really* different from calling "stateset->setMode(GL_CULL_FACE,
osg::StateAttribute::OFF)" for what I want?
Any idea?
Thanks!
--
Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
_______________________________________________
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org