![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
How do I change the output file from 800x600 to 600x800? I can use:
+w600 +h800
but that just squishes the image, rather than changing the FOV the camera
itself.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Jason Jong" <NOS### [at] redshift com> wrote:
> How do I change the output file from 800x600 to 600x800? I can use:
>
> +w600 +h800
>
> but that just squishes the image, rather than changing the FOV the camera
> itself.
>
>
Add something like this to your camera:
right x
up y*4/3
or whatever your image aspect ratio is (default is height=3/4*width, e.g.
600/800 = 3/4).
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> right x
> up y*4/3
It gives me an error, "Cannot use non-perpendicular camera vectors with
vista buffer."
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Jason Jong" <NOS### [at] redshift com> wrote:
>> right x
>> up y*4/3
>
> It gives me an error, "Cannot use non-perpendicular camera vectors with
> vista buffer."
>
Hm? Those vectors are most definitely perpendicular...
What does your camera statement look like?
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jason Jong <NOS### [at] redshift com> wrote:
> > right x
> > up y*4/3
>
> It gives me an error, "Cannot use non-perpendicular camera vectors with
> vista buffer."
Try placing the up and right vectors *before* any other statements in your
camera (e.g. location, look_at).
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Margus Ramst" <mar### [at] peak edu ee> wrote:
> Hm? Those vectors are most definitely perpendicular... What does your
> camera statement look like?
>
Oh, and if look_at is not the last thing in your camera statement, try
putting it there now.
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Oh, and if look_at is not the last thing in your camera statement, try
> putting it there now.
That fixed it! Thank you.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Jason Jong" <NOS### [at] redshift com> wrote in message
news:3c13e5ec@news.povray.org...
> > Oh, and if look_at is not the last thing in your camera statement, try
> > putting it there now.
>
> That fixed it! Thank you.
>
>
BTW if you are using 3.5 you can use the following:
up y
right x*image_width/image_height
this keeps the image proportional no matter what aspect ratio you use, and
you don't have to change the vectors if you change the aspect ratio
-tgq
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |