|
|
I kinda wish there were a POV-Ray object that would be guaranteed to
always be 1 pixel big.
Mike
On 2/10/2018 5:14 PM, Bald Eagle wrote:
> Le_Forgeron <jgr### [at] freefr> wrote:
>
>> not really.
>> Unless your default camera is
>> ...
>> up image_height*y
>> right image_width*x
>> ...
>> but that's not the camera you get from
>>
>> camera{ orthographic }
>>
>> || up: 0.000, 1.000, 0.000
>> || right: 1.330, 0.000, 0.000
>> || location: 0.000, 0.000, 0.000
>> || direction: 0.000, 0.000, 1.000
>
> Well, then I guess I didn't remember correctly ;)
>
> I vaguely recalled this discussion:
>
http://news.povray.org/povray.advanced-users/thread/%3Cweb.5845a06cc97737fcc437ac910%40news.povray.org%3E/
>
> So modifying that so Pixel "size" is described in POV-units, then we could have
>
> #macro Zoom (PixelSize)
> camera {
> orthographic
> location <0, 0, -PixelSize>
> look_at <0, 0, 0>
> right (x*image_width )*PixelSize
> up (y*image_height)*PixelSize
> }
> #end
>
>
> (I haven't entirely determined what the best camera-to-lookAt distance is to
> avoid some weird things happening)
>
>
>
>
Post a reply to this message
|
|