POV-Ray : Newsgroups : povray.general : What to do with the pixel in the middle : Re: What to do with the pixel in the middle Server Time
26 Apr 2024 05:09:22 EDT (-0400)
  Re: What to do with the pixel in the middle  
From: Tor Olav Kristensen
Date: 2 Feb 2019 13:35:00
Message: <web.5c55e1be738ba468c143b2b0@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:5c54fe9a$1@news.povray.org clipka wrote:
>
> > think about it
>
> The back pixel in the middle makes sense,

To achieve this you can make the camera look another way when u equals zero,
e.g. like this:

direction {
    function {
        select(
            u,
            D1L_X_Fn(u*image_width/AspectU + 0.25, v),
            0,
            D1R_X_Fn(u*image_width/AspectU - 0.25, v)
       )
    }
    function {
        select(
            u,
            D1L_Y_Fn(u + 0.25, v),
            1,
            D1R_Y_Fn(u - 0.25, v)
        )
    }
    function {
        select(
            u,
            D1L_Z_Fn(u + 0.25, v),
            0,
            D1R_Z_Fn(u - 0.25, v)
        )
    }
}

- and then place something small with a black pigment, no_shadow and
no_reflection close to the camera in that direction (e.g. right above the
camera).

--
Tor Olav
http://subcube.com


Post a reply to this message

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