|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> Grassblade <nomail@nomail> wrote:
> > IMO, a simple alternative could be to trace a point, compare the distance in
> > the color space with the last traced point. If distance in color-space is
> > greater than a user defined threshold, trace the middle-point, otherwise
> > guess that the middle point is an average of the two traced points.
>
> That may miss a thin object or other detail at that middle point.
>
> Also, how to adapt that to antialiasing?
>
> --
> - Warp
Yup, correct, pixel-wide features would have a 50% chance of being skipped.
I guess there is no free meal. :-(
Regarding antialiasing, assume the middle pixel is guessed with an average
of bordering pixels. Then you can write pixel color= "true" color + error.
If you apply aa to a block containing guessed points, you get the real
color plus a fraction of the error(s). So aa on top of the algorithm
actually helps smooting out errors.
Post a reply to this message
|
![](/i/fill.gif) |