POV-Ray : Newsgroups : povray.general : Seeking Iso : Re: Seeking Iso Server Time
19 Nov 2024 03:32:50 EST (-0500)
  Re: Seeking Iso  
From: Mike Williams
Date: 2 May 2002 22:48:37
Message: <ldvSKGApof08Ewc3@econym.demon.co.uk>
Wasn't it Anthony D. Baye who wrote:
>Does anybody know how to create a diamond-mesh catwalk grate using an
>Iso-Surface?

Do you mean something like this?


camera { location  <0, 2.5,-3> look_at 0}

background {rgb <.6,.6,.8>}
light_source {<-100,200,-100> colour rgb 1}

#declare P=function{pigment{leopard
  colour_map{[0.0  rgb 0.2]
             //[0.05 rgb 0.15]
             [0.1  rgb 0.0]
             [1.0  rgb 0.0]}
  scale <0.15,0.15,0.06>
  }
}

isosurface {
  function { y^2*10 - P(x,0,z).red*0.5}
  max_gradient 4
  contained_by{box{<-2,-0.1,-2>,<2,0.1,2>}}
  pigment {rgb 1}
  finish {phong 0.5 phong_size 10}
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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