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:31 EDT (-0400)
  Re: change color of corners in fisheye?  
From: darenw
Date: 27 Aug 2007 01:15:01
Message: <web.46d25be1bf35e5dd5eca966c0@news.povray.org>
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.


Post a reply to this message

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