POV-Ray : Newsgroups : povray.general : Adjusting display not 1.333:1 "squishing" image Server Time
4 Aug 2024 16:10:12 EDT (-0400)
  Adjusting display not 1.333:1 "squishing" image (Message 1 to 7 of 7)  
From: Valia
Subject: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 00:05:04
Message: <web.3e5d9c61467512b2505fccb70@news.povray.org>
I am trying to adjust the display so a sphere I am generating will fit right
inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
squishes my image. I'm sure there is a solution, but I have searched and
not found it.

Valia


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 01:09:48
Message: <3E5DAC77.19F835F2@Rapidnet.com>
Why not render it in 1.33 : 1 and then copy out the area you want using the
select area button in the render window?
Or you could take the image into a graphics app like photoshop and crop it down
to the size you want without squeezing anything.
If however you are set on using pov for everything, try looking under camera
types in the docs.  You may find what you need there.


A.D.B


Valia wrote:

> I am trying to adjust the display so a sphere I am generating will fit right
> inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
> squishes my image. I'm sure there is a solution, but I have searched and
> not found it.
>
> Valia


Post a reply to this message

From: Valia
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 02:00:16
Message: <web.3e5db6dc56750726505fccb70@news.povray.org>
I am doing an animation, and I can't find a gif animator that will crop
every frame in a set. If I can render to the size i want, then I don't need
to crop every individual image.

Valia

Anthony D. Baye wrote:
>Why not render it in 1.33 : 1 and then copy out the area you want using the
>select area button in the render window?
>Or you could take the image into a graphics app like photoshop and crop it down
>to the size you want without squeezing anything.
>If however you are set on using pov for everything, try looking under camera
>types in the docs.  You may find what you need there.
>
>
>A.D.B
>
>
>Valia wrote:
>
>> I am trying to adjust the display so a sphere I am generating will fit right
>> inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
>> squishes my image. I'm sure there is a solution, but I have searched and
>> not found it.
>>
>> Valia
>


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 03:05:20
Message: <3e5dc6c0$1@news.povray.org>
In article <web.3e5d9c61467512b2505fccb70@news.povray.org> , "Valia" 
<tuc### [at] yahoocom> wrote:

> I am trying to adjust the display so a sphere I am generating will fit right
> inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
> squishes my image. I'm sure there is a solution, but I have searched and
> not found it.

In the manual, read section 6.4.1.5.1 Aspect Ratio.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Tim Nikias
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 03:06:41
Message: <3e5dc711$1@news.povray.org>
Use the right and up vectors from the camera.
right is set to <1.33,0,0> and up <0,1,0>, so
if you just use right <1,0,0> and up <0,1,0> you
can use squared image output and get the correct
ratio.

Regards,
Tim

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

> I am trying to adjust the display so a sphere I am generating will fit
right
> inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
> squishes my image. I'm sure there is a solution, but I have searched and
> not found it.
>
> Valia
>


Post a reply to this message

From: Valia
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 11:00:16
Message: <web.3e5e351256750726b23bff510@news.povray.org>
Apparently, having thought of the words "aspect ratio" would have helped a
lot when looking through the documentation. Danke schoen and thanks.

Valia

Tim Nikias wrote:
>Use the right and up vectors from the camera.
>right is set to <1.33,0,0> and up <0,1,0>, so
>if you just use right <1,0,0> and up <0,1,0> you
>can use squared image output and get the correct
>ratio.
>
>Regards,
>Tim
>


Post a reply to this message

From: Harold
Subject: Re: Adjusting display not 1.333:1 "squishing" image
Date: 27 Feb 2003 11:09:00
Message: <3e5e381c$1@news.povray.org>
Valia,

Try using a camera statement like this:

//<POV-Ray script>

camera {location <0, 1, -100>
            right x*image_width/image_height
            look_at <0,1,0> }}

//</POV-Ray script>

Using this camera syntax, the values of your render size
are automatically used to set the aspect ratio. You can
then use any shape of rectangle and the image will always
be correctly proportioned. Note that the words "image_width"
and "image_height" are POV-Ray keywords and not
not the actual values (ie. not 800 or 600).

Harold


"Valia" <tuc### [at] yahoocom> wrote in message
news:web.3e5d9c61467512b2505fccb70@news.povray.org...
> I am trying to adjust the display so a sphere I am generating will fit
right
> inside the display. Basically, I need a 1:1 x:y ratio. However, doing this
> squishes my image. I'm sure there is a solution, but I have searched and
> not found it.
>
> Valia
>


Post a reply to this message

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