Re: [osg-users] problems with transparency in the QOsgWidget for QT

2009-11-10 Thread Jean-Sébastien Guay
Hi Mike, position-setScale(osg::Vec3(0.01,0.01,0.01)); When you use scale in a Transform, the geometry's normals also get scaled. The normals are used to compute lighting, so it's normal (geez, bad pun) that lighting is wrong. You just need to tell OpenGL to rescale normals:

Re: [osg-users] problems with transparency in the QOsgWidget for QT

2009-11-10 Thread Mike Fried
Thank you! it works!! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19414#19414 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] problems with transparency in the QOsgWidget for QT

2009-11-10 Thread Mike Fried
now a screenshot AdapterWidget for QT -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19419#19419 attachment: nice.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] problems with transparency in the QOsgWidget for QT

2009-11-09 Thread Mike Fried
Hi, I have problems with using the QOsgWidget under QT. I was load a Collada file *.dae The scene in the osgviewer.exe was correct (attachment pic good), but if i use the QOsgWidget Code: osg::ref_ptrosg::Node loadedModel = osgDB::readNodeFile(collada.dae);