|
|
It could be I'm doing something wrong, or maybe my computer is, but when
I render the following code, I would expect a completely white image,
instead I get little black dots.
When using "interpolate 3" instead of 2, the problem gets worse, and
"interpolate 4" gives slightly better results, but still gives me black
dots.
(I tried to minimize the code)
(also, don't use anti-aliasing when trying this, as it may "cover up"
those black dots :))
(and also, don't render it the same resolution as the function image,
because then it won't show)
--- START CODE ---
plane {
z,1
#local Function=
function {
pigment {
image_map {
function 5,5 {pigment {rgbt 1}}
interpolate 2
}
}
}
pigment {
function {Function(x,y,z).red}
}
finish {ambient 1}
}
--- END CODE ---
I'm using POV-Ray 3.7.0.RC3.msvc9-sse2.win32 on an Athlon64 X2 5600+
with 2GB RAM running Windows XP.
Can anyone confirm this problem?
Post a reply to this message
|
|
|
|
On 24/07/2011 23:05, Slime wrote:
> > The pigment direcly applied shows white as expected so
> > the problem may also be related to the function pattern.
>
> Perhaps the interpolation is resulting in values of 1.00000001 that are
> being wrapped around to 0.00000001.
ah, yes, that seems to be it :)
changing the pigment to
"
pigment {
function {min(Function(x,y,z).red,1)}
}
"
solves it!
thanks :)
Post a reply to this message
|
|