I had a similar problem, but my cow was black.
What worked for me was to normalize it, because I changed the scale of
my cow.
osg::StateSet* rootState = node->getOrCreateStateSet();
rootState ->setMode(GL_NORMALIZE,osg::StateAttribute::ON);
I am using OSG 2.0 though. Hope this helps
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
Harris
Sent: Sunday, August 12, 2007 4:55 AM
To: [email protected]
Subject: [osg-users] Inserting models
I have a paged terrain database to which I tried to add cow.osg.
It appears fine except it is white - missing the usual chrome etc.
I am missing something obvious (but not obvious to me!).
I am version 1.2.
--
Regards
Alan Harris
ReSoft Ltd
Cornwallis, Burycroft Road
Hook Norton
Banbury, OX15 5PR, UK
Tel: +44 (0) 1608 730707
Email: [EMAIL PROTECTED]
Web: www.resoft.co.uk _______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org