|
Thanks Robert, I will have a look into
the Producer code. If I can’t disable
window resize, I have to solve another problem. I have several cameranodes with
attached textures. What do I have to do if the viewport size changes? I tried
to change the texture size and the viewport size of the cameranode. That didn’t
work. I tried to detach the texture, changed the texture size and attached the
texture again. Also didn’t work. I also tried an dirtyTextureParameters,
but I never get the correct result. Do you have an idea what else I have to
change? Matthias Von:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Im Auftrag von Robert Osfield Hi Matthias, On 5/10/06, Matthias
Kreiser <[EMAIL PROTECTED]>
wrote: Hi Everyone, How can I set the an osg::Viewer window to a constant size? I don't want
that the users can change the window size. Is there a possibility? And if not,
can I at least set the window to a constant aspect ratio? I tried
viewer.setLensAutoAspect(true) but that has no effect. Regards, Matthias
|
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
