POV-Ray : Newsgroups : povray.general : Time Now... : Re: Time Now... Server Time
8 Aug 2024 14:23:29 EDT (-0400)
  Re: Time Now...  
From: Pabs
Date: 30 Nov 2000 00:42:58
Message: <3A25E938.687BE199@hotmail.com>
Dawn McKnight wrote:

> Time Now, for Dawn's Stupid Questions!

No question is stupid IMHO

> If I do a color_map [0.0 color White ][0.5 color Green ] [1.0 color
> Black]

Firstly in the source you posted it is the other way round (but correct)
[0.0 color Black filter 1] [0.5 color Cyan filter 1] [1.0 color White filter 1]

> But (and I did this first, found it didn't work as expected, and went
> with the above solution) if I substitute "color Clear" for "color Black"
> in the color_map, I get an object that appears ???clear??? all the way through!

I get (official3.1 & WMP0.6a) an object that is white with a little cyan noise

> Why do it do that?  How can I make it not?  Source code posted in p.t.scene-files.

Could be to do with the fact that in colors.inc #declare Clear   = rgbf 1;//White with
a filter of 1
I don't think media uses the filter/transmit value & it doesn't affect the results I
got
So basically you might as well be using
[0.0 color White] [0.5 color Cyan] [1.0 color White]
instead of
[0.0 color Clear] [0.5 color Cyan] [1.0 color White]

Hope that helps
--
Bye
Pabs


Post a reply to this message

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