POV-Ray : Newsgroups : povray.binaries.images : -Another- RSOCP variation (217kB jpeg) : Re: -Another- RSOCP variation (217kB jpeg) Server Time
2 Aug 2024 20:16:27 EDT (-0400)
  Re: -Another- RSOCP variation (217kB jpeg)  
From: Thomas de Groot
Date: 19 Jun 2007 10:13:07
Message: <4677e473@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> schreef in bericht 
news:4677e3a7@news.povray.org...
>
> "Stefan Viljoen" <spa### [at] removethispolardcom> schreef in bericht 
> news:4677d933@news.povray.org...
>> I'll remember that when rendering in 1280x1024 in the future.
>>
>
>
> There is a nice little thing you can use easily:
>
> //before the camera definition:
> #local H=image_width/sqrt(image_height*image_width);
> #local V=image_height/sqrt(image_height*image_width);
> #local Iwidth = 500;
> #local Iheight = 600;
>
> //in the camera definition use:
> right    x*(Iwidth*M)/(Iheight*M)
>
>
> Thomas
>

Ouch!! forgot
#local M = 1;
 in the declaration. Not really essential though, but for completeness sake 
of this example.

Thomas


Post a reply to this message

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