POV-Ray : Newsgroups : povray.beta-test : color dot operators : color dot operators Server Time
2 Nov 2024 09:19:56 EDT (-0400)
  color dot operators  
From:
Date: 17 Dec 2001 07:37:18
Message: <ofpr1ug9r6q3cak417pmj72bck6ufmgbtg@4ax.com>
POV 3.5 b 8, Win NT 4 sp 6 on PII 233 , 128 MB

I don't remember where but I think I have readed about my current problem
somewhere on this newsserver. Currently I can't find it so I report it. I'm
affraid it could be expected behaviour but I can't find any note about it in
documentation.

#macro Test(Radius)
  sphere{0,Radius}
#end

#local Float=1;
#local Point=<2,3,4>;
#local Color=color rgb <5,6,7,8,9>;

Test(Float)          // works
Test(Point.x)        // works
Test(Color.red)      // not
Test(0+Color.red)    // works

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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