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; out of memory Server Time
24 May 2024 19:36:07 EDT (-0400)
  Re: Tracing an object through a soft-edged mask; out of memory  
From: Thomas de Groot
Date: 17 May 2008 03:29:02
Message: <482e893e$1@news.povray.org>
"Blue Herring" <bhe### [at] tinfoilcatcom> schreef in bericht 
news:web.482d974628652b6ace5ce3790@news.povray.org...
>  Secondly, I haven't yet tried it, but I believe both parse time and 
> memory
> usage could be much improved by declaring a function from the pigment once 
> and
> then calling the function to get the appropriate value.  This would avoid
> declaring the pigment function (which is what eval_pigment does) over and 
> over
> again for the same pigment, and replace a repeated macro call with a 
> function
> call, which should be much faster.
>

Ah! Clever! I shall try this. Thanks!

Thomas


Post a reply to this message

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