Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] hfov, vfov, and non-square images


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: Christian Odom <cnsodom@gmail.com>
  • Cc: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: Re: [MANTA] hfov, vfov, and non-square images
  • Date: Tue, 3 Jul 2007 15:56:20 -0600

I think the problem might be that the aspect ratio isn't available when PinholeCamera::setup() is called (either by the constructor or during transactions).

This is somewhat problematic since the aspect ratio might vary between different pipeline display channels and functions like preprocess() are only called once for all of the channels. (Of course I've only seen one person actually use more than one pipeline display channel so we could probably get away with assuming they are all the same).

Another problem is that it doesn't appear to be possible to obtain the resolution of a pipeline display channel.

Seems like something we should fix...

Abe

On Jul 3, 2007, at 3:46 PM, James Bigler wrote:

This is done by the camera. Each camera is different, but the camera used most often is the PinholeCamera (Model/Cameras/ PinholeCamera.cc).

In the setup call the vertical fov is set to the horizontal fov. Try fiddling around with that and see what you get.

James

Christian Odom wrote:
Hi everyone.
We are playing around with different resolutions, while rendering the
default 'sphere and plane'
scene.  We noticed that when we resize the display
window Manta seems to change the vertical fov so that horizontal
fov remains constant.   Where is this done?  Is there
an option to disable this?
Any help appreciated.






Archive powered by MHonArc 2.6.16.

Top of page