Stage: perspective camera aspect ratio

Sebastian Rockel <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Hi,

I noticed that when in perspective mode, in Stage, the aspect ratio is not correctly set:

For example when having a window with ratio > 1.0 (wide) the camera view is not scaled according to the window ratio, but to the window height. When the ratio is <=1.0 the camera scales correctly.

So I guess the window width is not handled properly (or similar) when the ratio is > 1.0.

I would expect the camera aspect ratio to automatically adjust as in the orthogonal perspective in Stage.
Is it a bug?

Kind Regards,
Sebastian

P.S. I am using Stage 4.0.1 (git repo)
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.