POV-Ray : Newsgroups : povray.general : display with 2560x1024 resolution : Re: display with 2560x1024 resolution Server Time
29 Jul 2024 12:16:33 EDT (-0400)
  Re: display with 2560x1024 resolution  
From: Le Forgeron
Date: 3 Aug 2011 12:11:38
Message: <4e39733a$1@news.povray.org>
Le 03/08/2011 15:50, folkert nous fit lire :
> Hi,
> 
> I have a pov-scene (the box of my previous question regarding rendering time)
> which fits nicely on my 1280x1024 display.
> Now I added a second screen to my computer-setup and would like to use the
> pov-scene as a background.
> I expected that I should set the right vector for this:
> camera {
>    right (1280*2/1024)*x
>    location <2.5, 2.5, -15> look_at<5, 5, 0>
> }
> but that doesn't work: instead of a box in the middle of the screen (width the
> width of 1 screen so to say) the box gets spread out of both screens, from the
> left to the right.
> How do I fix that?
> Thanks in advance!

You move from an aspect ratio of 5:4 to a ratio of 10:4
If you adjust the right vector, you will be stretching the view (defined
by a default angle with the classical camera).

+----+
|A   |
|   Z|   <<<< This is your Original picture & view.
+----+

+--------+
|        |
|        |  <<< This would be the new picture.
+--------+

Changing the right would keep the same view and push it in the new picture.

+--------+
|AA      |
|      ZZ|  (notice: double horizontal "pixel" size)
+--------+


Keeping the same right would put the old view at the center of the new
screen, extending both sides (assuming the scene does provide some
additional.

+--------+
| |A   | |
| |   Z| |
+--------+

You might want to play with the visible angle of view directly, using
angle [integer in degres] in the camera after right/...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.