POV-Ray : Newsgroups : povray.binaries.images : rendering height fields with overhangs : Re: rendering height fields with overhangs Server Time
28 Sep 2024 09:15:15 EDT (-0400)
  Re: rendering height fields with overhangs  
From: Alain
Date: 20 Dec 2009 11:44:27
Message: <4b2e546b@news.povray.org>

> Alain<aze### [at] qwertyorg>  wrote:

>
>> If all 3 colour chanels are the same, it's faster and gives the same result.
>
> Going back over sbenge's code, I see that his version uses a pigment for the
> function (i.e., rgb colors)--which might benefit from .gray (if we happen to use
> something other than grayscale 'bumps' as the pigment pattern); whereas Tor's
> code *does* use .gray for all pigments. BUT, I assume that bumps as a PIGMENT
> (rather than as a PATTERN) has three color channels internally? All three the
> same, of course. In which case, .red would make sense.
>
> Ken
>
>

If you use the bozo, wood or agate pigment, you need to use .gray. Those 
use a default colour map that have colours other than gray.

For all other pigments, .red, .green or .blue are OK as they use a gray 
scale by default.

Alain


Post a reply to this message

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