POV-Ray : Newsgroups : povray.binaries.images : Tracing an object through a soft-edged mask; or objects as airbrush 'spray' : Re: Tracing an object through a soft-edged mask; or objects as airbrush 'sp= Server Time
18 May 2024 09:52:27 EDT (-0400)
  Re: Tracing an object through a soft-edged mask; or objects as airbrush 'sp=  
From: Thomas de Groot
Date: 14 May 2008 04:09:52
Message: <482a9e50$1@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> schreef in bericht 
news:web.4829b56bdace545278dcad930@news.povray.org...
> "Zeger Knaepen" <zeg### [at] povplacecom> wrote:
>> Cool, but you don't need the height_field, just use eval_pigment.  That 
>> way,
>> you can use any pigment as a mask..
>
> Aha, I knew *someone* out there would find a way to improve it (in this 
> case,
> both you and Thomas.) I'll have to try this--I've never used eval before.
> Thanks for the code example.
>

In Zeger's example, I would replace .gray by .red (or .green or .blue). 
Parsing will be much faster, for the same result.

Thomas


Post a reply to this message

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