|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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.
Post a reply to this message
|
|
| |
| |
|
|
From: Larry Wheeler
Subject: Re: change color of corners in fisheye?
Date: 24 Aug 2007 11:24:54
Message: <46cef846@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.
Sorry about the from: address in the original article; I hadn't set up
the group yet.
Larry
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
darenw <Gre### [at] comcastnet> wrote:
> Most of
> the work would be for adding parsing of a new keyword in the SDL.
Yet another new keyword to the already-cluttered namespace? Please no.
Especially not when the keyword would be specific to one single feature
of one single camera type.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Yet another new keyword to the already-cluttered namespace? Please no.
> Especially not when the keyword would be specific to one single feature
> of one single camera type.
How about this syntax? That'd be better than a new keyword.
CAMERA_TYPE:
perspective | orthographic | fisheye [color]| ultra_wide_angle |
omnimax | panoramic | cylinder CylinderType | spherical
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tim Attwood nous apporta ses lumieres en ce 2007/08/27 15:15:
>> Yet another new keyword to the already-cluttered namespace? Please no.
>> Especially not when the keyword would be specific to one single feature
>> of one single camera type.
>
> How about this syntax? That'd be better than a new keyword.
>
> CAMERA_TYPE:
> perspective | orthographic | fisheye [color]| ultra_wide_angle |
> omnimax | panoramic | cylinder CylinderType | spherical
>
>
No new keyword, just an optional colour parameter defaulting to black. Clean,
simple (at least aparently), elegant solution.
--
Alain
-------------------------------------------------
An idea is not responsible for the people who believe in it.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> "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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicolas Alvarez wrote:
> Wait a minute... You mean it's *black* instead of *transparent*? Have
> you tried rendering with +ua?
The last time I tried fisheye with alpha, the top and left of the
background was transparent, and the bottom and right parts were black.
Fisheye + alpha seems buggy.
- --
William Tracy
afi### [at] gmailcom -- wtr### [at] calpolyedu
> ok I may be dumb here
Yeah, maybe.
-- Warp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHACoPcCmTzQ++ZncRAoEcAJ4sFKTiR8AXqSXBpx5979MhnRZtIACeIuYY
PzezwI7pXjcQQNATq45Xrkc=
=MmFt
-----END PGP SIGNATURE-----
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
William Tracy <wtr### [at] calpolyedu> wrote:
> Fisheye + alpha seems buggy.
Time to submit a formal bug report?-)
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |