Thomas de Groot <tho### [at] degrootorg> wrote:
> On 3-2-2014 20:48, Samuel Benge wrote:
> > POV-Ray is notoriously slow when it comes to accessing macros from #include
> > files. Try placing the eval_pigment macro into your main scene file; the parse
> > time should be significantly reduced by doing so :)
>
> Absolutely. About twice as fast.
>
> Here is a close up of the carpet (using cones by the way).
Nice :)
You might be able to speed up the parse time even more. Since eval_pigment()
evaluates the RGB channels of a pigment, you might get a speed increase if you
make a function that samples only one channel, adding color after the fact. A
linear spline could be used in lieu of a color_map...
Sam
Post a reply to this message
|