POV-Ray : Newsgroups : povray.binaries.images : -Another- RSOCP variation (217kB jpeg) : Re: -Another- RSOCP variation (217kB jpeg) Server Time
4 Nov 2024 18:24:23 EST (-0500)
  Re: -Another- RSOCP variation (217kB jpeg)  
From: Stefan Viljoen
Date: 19 Jun 2007 05:38:25
Message: <4677a410@news.povray.org>
Rune wrote:

> It looks nice!

Fanx
 
> But you have rendered a square image with a 4:3 aspect ratio, which has
> stretched the image. To use a 1:1 aspect ratio, you can set...
> 
> up y
> right x
> 
> ...in the camera definition.
> 
> Rune

Eh? Here's my camera def:

camera {  //  Camera SceneCam
  location  <    -11.316,     -14.102,       7.067>
  sky       <    0.00000,     0.00000,     1.00000> // Use right
handed-system 
  up        <        0.0,         0.0,         1.0> // Where Z is up
  right     <    1.34707,         0.0,         0.0> // Right Vector is
adjusted to compensate for spherical (Moray) vs. planar (POV-Ray) aspect
ratio
  angle         30.00000    // Vertical      22.500
  look_at   <      0.485,      -0.151,      -1.601>
}

(obviously the boilerplate one from Moray). I rendered the image in
1280x1024 - the aspect seems correct on my monitor here...? Or is 1280x1024
the culprit? 

Or am I just being daft?

Sorry but I'm still relatively new to Pov and I've never had to bother with
fixing aspect ratios...

Thanks for take a peek at the image!

Regards,
-- 
Stefan


Post a reply to this message

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