POV-Ray : Newsgroups : povray.binaries.images : Invitation: The Gate is Never Locked : Re: Invitation: The Gate is Never Locked Server Time
2 Aug 2024 20:20:34 EDT (-0400)
  Re: Invitation: The Gate is Never Locked  
From: Alain
Date: 18 Jun 2007 05:56:37
Message: <467656d5$1@news.povray.org>
Thomas de Groot nous apporta ses lumieres en ce 2007/06/18 03:43:
> "Allan" <all### [at] WholeCheesecom> schreef in bericht 
> news:web.4675eaff753da72387a47510@news.povray.org...
>> "Kirk Andrews" <kir### [at] hotmailcom> wrote:
>>
>>> Pov is looking for "function {GateF(x,y,z).gray}"  It will always require
>>> ..gray or .red etc. if you are using a pigment function (including a
>>> bitmap).
>> DOH!  I re-read the section in the manual for isosurface at least three
>> times today and still did not get that little item about the function
>> looking for the .gray color component.  Now it renders perfectly.  Thank
>> you, Kirk for providing a very useful example!  Examples like this should
>> be in the manual!
>>
> 
> If I remember well, somebody once said that, to gain a little bit of parse 
> (and render?) time, .red (or .green, or .blue) would be preferable to .gray 
> as POV-Ray only considers a grey image anyway.
> 
> Thomas
> 
> 
You can use .red, .green, .blue, .x, .y or .z when you have a B/W image or 
pattern. This will save you render time (for an isosurface) as you only evaluate 
1 colour component instead of evaluating all 3 and averaging them.
You must use .gray when you have a colour image or pattern.

-- 
Alain
-------------------------------------------------
I find that the harder I work, the more luck I seem to have.
Thomas Jefferson


Post a reply to this message

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