[osg-users] odd scene resize

Gianni Ambrosio g.ambrosio+osg at gmail.com
Wed Sep 7 06:47:27 PDT 2016

Hi Sebastian,
the FIXED option is right the opposite of what I'm looking for.

I mean, if there are HORIZONTAL and VERTICAL options, there should be one option that is HORIZONTAL+VERTICAL and one option that is NO-HORIZONTAL+NO-VERTICAL. So one case seems missing.

I try to explain in detail.

ProjectionResizePolicy = VERTICAL:
If I resize the window horizontally, then the scene is resized without distortions.
While ... resizing the window vertically, the scene is not resized at all!

ProjectionResizePolicy = HORIZONTAL:
The opposite of HORIZONTAL case.

ProjectionResizePolicy = FIXED:
Scene completly distorted.

Now, first of all FIXED is not a combination of both HORIZONTAL and VERTICAL from my point of view.
Second, what I'm looking for is exactly a combination of HORIZONTAL and VERTICAL. Where resizing the window horizontally or vertically, the scene is resized in both cases to fit the viewer rectangle without distortions.


Read this topic online here:

More information about the osg-users mailing list