POV-Ray : Newsgroups : povray.general : change color of corners in fisheye? : Re: change color of corners in fisheye? Server Time
31 Jul 2024 06:22:23 EDT (-0400)
  Re: change color of corners in fisheye?  
From: Nicolas Alvarez
Date: 28 Sep 2007 17:59:31
Message: <46fd7943$1@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.
> 
> 
Wait a minute... You mean it's *black* instead of *transparent*? Have 
you tried rendering with +ua?


Post a reply to this message

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