POV-Ray : Newsgroups : povray.binaries.scene-files : eval_pigment() and trace() HowTo : Re: eval_pigment() and trace() HowTo Server Time
19 Apr 2024 13:46:07 EDT (-0400)
  Re: eval_pigment() and trace() HowTo  
From: Thomas de Groot
Date: 8 Jul 2016 03:05:52
Message: <577f50d0$1@news.povray.org>
On 7-7-2016 16:02, Bald Eagle wrote:
> Thanks for that!
> Apparently I had an eval_pigment.zip in my download directory already from
> 3/4/2016 ...  :O
> Way too many macros and tools and scene files, etc. to keep up with, which is a
> good thing, I guess.

I totally forgot about that one...

> [snip]
> I think that
> jpeg "Oriental Carpets/Carpet_01.jpg"
> ought to be
> jpeg "Carpet_01.jpg"

Absolutely. Escaped my scrutiny ;-)

>
> I see:
> #declare WriteStrands = off; //set to 'on' for the first pass.
>
> Isn't there a way to just check if the file exists, and if not, create it?
> I looked - but it's not clear that this is possible.
> Seemed like a useful and desirable feature to be added, if that's the case.
>

LeForgeron gave us the solution. I confess that I had not been aware of 
that possibility. One more reason to play :-)

>
> Also, something just caught my eye in that older version:
> It seems that the Lum macro tries to evaluate the r, g, and b values, take 1/3
> of that sum, and if that's less than 0.5, put a RED cylinder instead of a blue.
>  But at the left front of the render, there's a red cylinder sitting atop a high
> part of the heightfield where everything else is blue.   Seems anomalous.
>

No idea.


-- 
Thomas


Post a reply to this message

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