POV-Ray : Newsgroups : povray.binaries.images : adding a 'normal' to a camera-- some notes : Re: adding a 'normal' to a camera-- some notes Server Time
25 Jan 2022 19:04:03 EST (-0500)
  Re: adding a 'normal' to a camera-- some notes  
From: Kenneth
Date: 7 Jan 2022 13:05:00
Message: <web.61d87fb7ac36aa6b4cef624e6e066e29@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
>
> That is interesting indeed. I guess you could use the camera 'right' for
> the normal, like:
>
> scale <image_height/image_width,1,1>
>

Yes indeed, that does work-- and it didn't occur to me, duh.

I originally tried a bunch of permutations of the 'right' vector itself-- among
other things-- because I could not easily figure out what the basis of the
distortion was (until I decided to use the gradient x+y idea as a tester.) Then
it became obvious.

I need to remember that image_height and image_width are actual *values* that
can be used in a scene. ;-)


Post a reply to this message

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