POV-Ray : Newsgroups : povray.binaries.images : rendering height fields with overhangs : Re: rendering height fields with overhangs Server Time
28 Sep 2024 09:12:59 EDT (-0400)
  Re: rendering height fields with overhangs  
From: Kenneth
Date: 19 Dec 2009 16:20:01
Message: <web.4b2d4324ce3532365f302820@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:


> > Any particular reason why you used .x (i.e., .red) rather than .gray?  Just
> > curious.

>
> If all 3 colour chanels are the same, it's faster and gives the same result.
> Using ".x", you only access one value.
> Using ".gray" you need to access all 3 chanels, then you perform a
> ponderated average.
>
Thanks, Alain. I never thought about that, when using a grayscale image to begin
with.

Ken


Post a reply to this message

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