Hi,

> does the picker find geometry on the whole screen or just a small area?

When I render with frustrum the model shows well over an area wich the picking 
seems right with orthogonal.


> Did you change group->addChild(scene.get()); ?
> 
> See what happens if you add:
> viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);

Of course, but without success.


> Also, why are you using RELATIVE_RF? Try ABSOLUTE.

It was a mistake. Now ABSOLUTE_RF does'nt change nothing in my scene. 

 
> Are you sure you don't have a default camera manipulator added to the viewer 
> that overwrites your view matrix?

Totally sure.

Thanks, I think you has not read the last post edit: "EDIT: If I set up an 
frustrum view and hang a orthogonal view to the scene node, the model shows 
right! I'm so confused... "

Thank you for all!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28443#28443





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to