Hello again,

> 
> It sounds like you are trying to draw a 2D element at the same window
> position as a 3D object. Is this correct?
> 

Yes, thats exactly what Im trying to achieve.
I have POINTS (not objects) in 3D Space that have to be labeled.
And I want them to be clickable.
As points have no volume thats a bit of a problem.
So I thought I add a sphere as apoint representation to the scene. But the 
clcikable sphere should of yourse always have the same size no matter how far 
from the camera. So this idea was born.


> 
> You'd need two Camera nodes for this, one with your 3D projection and one
> for 2D.
> 

This is what I was doing.
And I computed the projection by hand and wanted to give the coords to my 2D 
objects  with a event callback.
But the coords are not exact somehow, so the point is always just very near the 
supposed point.




> 
> Another option would be to look at the AutoTransform node.
> 


Wow, I guess this is exactly what I was looking for.
Thx, Ill try it out

Hagen

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to