Hi,
does the picker find geometry on the whole screen or just a small area?
What happens with the standard osg models (cow.osg and cessna.osg)?
Did you change group->addChild(scene.get()); ?
See what happens if you add:
viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
Also, why are you using RELATIVE_RF? Try ABSOLUTE.
Are you sure you don't have a default camera manipulator added to the
viewer that overwrites your view matrix?
HTH
jp
On 01/06/10 11:49, José Carlos Ruiz wrote:
¡Hi J.P. Delport! Thanks for your advice!
I changed values without luck, and then added a picker. When I pick
on screen there are intersection with the model, but the model is
invisible! I'm sure scale is good.
Any idea?
Thanks!
José Carlos
------------------ Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28419#28419
_______________________________________________ osg-users mailing
list [email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org