Hello for everybody,
I have tried to solve my problem about select object with mouse using email
archive and examples but unfortunetly i failed. Can someone help me?The problem
is:
I load in osgProducer::Viewer a model from 3DS file( empty house ). Walls of
house are separate object and the window also. I tried to use osgpick.cpp from
examples but my case it didn't work right.
If i put mouse over window in front wall, it is selected but together with the
wall behind of it inspite of that i can't see this wall.If I press ' B ' key,
without moving mouse, the front wall disappear together with window but this
window is still selected together with the wall.
I think that the problem is in the intersection but i don't know how to solve
the problem.
I also tried with osgkeyboardmouse.cpp but i think that it do the same.
Tank you in advance
Valentin
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/