|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message
news:434eccf0@news.povray.org...
> Chris B <c_b### [at] btconnect com nospam> wrote:
>> If you're using a perspective camera you'll get problems because you'll
>> need
>> to adjust for the distortion that perspective introduces (and that is
>> likely
>> to be inordinately difficult).
>
> If the plane containing the image map is completely perpendicular to
> the direction of the camera, can you explain what kind of perspective
> distortion happens there?
>
> --
> - Warp
Ah. I think I'm wrong. I was thinking of the distortion you get when a flat
surface is projected onto the curved surface of a retina, but of course the
camera in a ray tracer is a perfect point and the projection is onto a flat
plane, so you should be able to get a mapping from one plane to another.
With the default image_map scaling giving you an image from <0,0,0> to
<1,1,0> you should then be able to set the up vector to y and the right
vector to x with the camera at <0.5,0.5,-1> and look_at <0.5,0.5,0> and get
a perfect pixel for pixel mapping.
Chris B.
Post a reply to this message
|
![](/i/fill.gif) |