Hi,

I've run out of ideas you can try. We use ortho projections happily with render to texture cameras. I'm not sure what is wrong in your case.

Maybe you can send me code of a small example.

jp

On 01/06/10 16:55, José Carlos Ruiz wrote:
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
[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

Reply via email to