POV-Ray : Newsgroups : povray.general : change color of corners in fisheye? : Re: change color of corners in fisheye? Server Time
31 Jul 2024 06:18:32 EDT (-0400)
  Re: change color of corners in fisheye?  
From: Larry Wheeler
Date: 27 Aug 2007 16:55:00
Message: <web.46d3399fbf35e5dde9b3d1880@news.povray.org>
"darenw" <Gre### [at] comcastnet> wrote:
> use### [at] domaininvalid wrote:
> > Is there any way to change the color that's rendered outside of the
> > circular image in a fisheye projection? I like the smooth dithering at
> > the border, but I'd like the corners to be light gray.
>
> From the source code for povray 3.6.1, the outside color is hard-coded to
> black.    The relevant file is render.cpp.   It looks to be fairly easy to
> patch povray's source code to make this outside color specifiable. Most of
> the work would be for adding parsing of a new keyword in the SDL.  Maybe
> "outside_background" similar  to "background"?   (further discussion on
> details probably should go in the unoffical patches forum)
>
> Lacking an immediately available patch to do this, you are stuck having to
> add your outside color in GIMP/Photoshop/whatever.
Thanks, Daren. I guess if I do actually change it, I'll take the "easy" way
out and compile it hard-coded, rather than adding an option.


Post a reply to this message

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