POV-Ray : Newsgroups : povray.bugreports : Gradient bug Server Time
22 Dec 2024 14:11:28 EST (-0500)
  Gradient bug (Message 1 to 4 of 4)  
From: Carl Osterwisch
Subject: Gradient bug
Date: 5 Aug 1999 10:48:49
Message: <37a9a451@news.povray.org>
The color at the end of this cylinder appears undefined, although if I
understand the documentation correctly, it should be Red.  Can anyone else
verify this result?

Please e-mail me directly, since I don't check the news very often.

thanks.


Post a reply to this message


Attachments:
Download 'gradient_bug.pov.txt' (1 KB)

From: Nieminen Mika
Subject: Re: Gradient bug
Date: 6 Aug 1999 02:46:32
Message: <37aa84c8@news.povray.org>
Carl Osterwisch <cos### [at] biocomarizonaedu> wrote:
: The color at the end of this cylinder appears undefined, although if I
: understand the documentation correctly, it should be Red.  Can anyone else
: verify this result?

: Please e-mail me directly, since I don't check the news very often.

  This is NOT the right place for asking "is this a bug?".
  I haven't checked if this is a bug or not, but this article should
definitely have been sent to povray.general or .newusers or other similar,
not here.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Alan Kong
Subject: Re: Gradient bug
Date: 6 Aug 1999 04:06:27
Message: <37ad947e.175913795@news.povray.org>
On Thu, 5 Aug 1999 10:49:03 -0400, "Carl Osterwisch"
<cos### [at] biocomarizonaedu> wrote:

>Please e-mail me directly, since I don't check the news very often.

  Hi, Carl. Please read, "How to post bug reports", in the group
povray.announce.frequently-asked-questions.

  After you have read that message, please then read, "Where can I post my
binary or text file?", which may be found in the same group, p.a.f-a-q.

  Thank you for helping keep our newsgroup organized.

-- 
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts around the world can get
together to exchange ideas, information, and experiences with others
--------------------------------------------------------------------


Post a reply to this message

From: Peter Popov
Subject: Re: Gradient bug
Date: 6 Aug 1999 08:11:42
Message: <37ad8948.4161060@204.213.191.228>
Carl,

the gradient pigment spans from one end of the cylinder to the other.
In a perfect world this would be just fine, but precision errors yield
the result you are seeing. POV finds the surface of the cylinder to be
something like z - A_Very_Small_Error and the pigment is found to be z
+ Another_Very_Small_Error, and these errors are random, so you see a
spotted surface. This is a variation of the coincident surfaces
problem, see Warp's VFAQ.

Here're several solutions of the problem:

a) scale the gradient pigment a bit up, like scale 1.00001
b) use the planar or marble pigments instead of gradient
c) scale down the cylinder a bit (like 0.999999) before applying the
pigment

HTH.


Peter Popov
ICQ: 15002700


Post a reply to this message

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