POV-Ray : Newsgroups : povray.general : Trying to multiply pigment color : Trying to multiply pigment color Server Time
2 Nov 2024 09:20:14 EDT (-0400)
  Trying to multiply pigment color  
From: FlyerX
Date: 11 Apr 2004 19:25:01
Message: <web.4079d2ff849d36059482ecba0@news.povray.org>
Hello,

I have been using filter as a multiplier for a pigment but the results are
always too bright.

Here is how I define the material:

#declare p_map1=pigment {image_map{jpeg "tex.jpg" interpolate 2 transmit all
0 filter all 1 }  }

#declare Mat1=
texture{pigment {color rgb <1,1,1> transmit 0 filter 0}finish{ambient 0}}
texture{pigment{p_map1} finish{ambient 0}}

This should be the same as

#declare p_map2=pigment {image_map{jpeg "tex.jpg" interpolate 2 transmit all
0 filter all 1 }  }

#declare Mat2=
texture{pigment{p_map2} finish{ambient 0}}

because the color underneat the pigment is white <1,1,1>. Unfortunately Mat1
is brighter than Mat2. Is there a procedure that could be done to remedy
this? If there is another way of multiplying a pigment color please let me
know.

Thanks,

FlyerX


Post a reply to this message

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