now a screenshot
AdapterWidget for QT
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19419#19419
<>___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo
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
http://lists.openscenegraph.org/listinfo.c
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:
position->
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_ptr loadedModel = osgDB::readNodeFile("collada.dae");
root->addChild(loadedModel.get());
4 matches
Mail list logo