POV-Ray : Newsgroups : povray.beta-test : Isosurface problem : Re: Isosurface problem Server Time
30 Jul 2024 06:20:59 EDT (-0400)
  Re: Isosurface problem  
From:
Date: 21 Dec 2001 13:06:29
Message: <kcu62u0p4246gdq6vgjaabqp0cjin8ucss@4ax.com>
On Fri, 21 Dec 2001 19:01:36 +0100, "Marc-Hendrik Bremer"
<Mar### [at] t-onlinede> wrote:
> AFAIK you should use .hf instead of .gray if you really want what MegaPov
> gave you. That's at least my experience and I think I read it here, too.

You can read at 6.5.4.2 chapter that hf value = (Red + Green/255)*0.996093. So
it not uses Blue for calculation while iirc megapov's engine returned gray value
which is function of all red, green and blue components.

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.