POV-Ray : Newsgroups : povray.bugreports : Strong pigment gradients, SSLT and AA : Re: Strong pigment gradients, SSLT and AA Server Time
23 Apr 2024 14:37:04 EDT (-0400)
  Re: Strong pigment gradients, SSLT and AA  
From: clipka
Date: 29 Nov 2013 11:08:13
Message: <5298bbed@news.povray.org>
Am 29.11.2013 12:42, schrieb FlyerX:

> With SSLT (marble):
> http://imgur.com/MoGWfDq
> The edges between the colors are strongly aliased. Almost looks as if AA
> is switched off but the edge of the sphere shows that AA is active.

Try to avoid zero color components; for instance, you could use an 
"average" pigment with a small bit of white mixed in. Something like 
0.001 shoud already be sufficient.

What happens is that currently the SSLT code cannot yet cope with zero 
color components, belches out a "Not a Number" (NaN) value for that 
particular color channel, and the AA step is unable to handle that, 
computing the average of NaN and any other valid number as NaN. The 
image encoding algorithm then happens to encode the NaN as 0.


Post a reply to this message

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