POV-Ray : Newsgroups : povray.binaries.images : Photons : Re: Photons Server Time
2 Oct 2024 08:19:07 EDT (-0400)
  Re: Photons  
From: Sigmund Kyrre Aas
Date: 11 May 2000 17:07:57
Message: <391B2133.2B6B051F@stud.ntnu.no>
Bob Hughes wrote:
..
> I'd have to guess there could be trouble with the negative color used.

I've tracked it down to the average pattern. 

//This gives the expected caustics:
#macro urTex(Color)
      marble
      texture_map {
         [.5 pigment {color Color} ]
         [.5 pigment {color Color*.8} ]
      }
#end

//this doesn't:
#macro urTex(Color)
      average
      texture_map {
         [ pigment {color Color} ]
         [ pigment {color Color*.8} ]
      }
#end

plane{y,-sqrt(2) texture {urTex(<94,1,165>/255) }}

I can clean up the source and post it if anybody's interested.

sig


Post a reply to this message

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