Hi,

My scene graph has an Autotransform with a geode containing geometry for a
textured quad to display an icon.  The transform is set to auto rotate and
scale to the screen.  I am noticing two problems with this set up:

- When the frustum changes (e.g. fov change), the icons no longer scale to
the screen correctly.  They get larger or smaller depending on whether the
fov gets smaller or larger.
- For a more dramatic changed in the frustum (e.g. going from windowed mode
to full screen mode), the icons disappear entirely.

I think these two problems may be related.  I'm not sure if I'm mistaken on
how the auto scale is supposed to work.  I set the size of the icon in
pixels, and it is my understanding that the auto scale mode should maintain
the size of the icon in screen coordinates (as long as I've set up the
viewport correctly, which I think I have).  For the disappearing issue, I
tried disabling culling for the autotransform node, but that did not help.
Is there something I need to do to force the autotransform to update after
I've changed the frustum?  I've seen a couple of other posts that may have
alluded to this issue, however they were related to  culling and the advice
given was to disable culling.  Any information that anyone could offer on
this would be very helpful.

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

Reply via email to