POV-Ray : Newsgroups : povray.general : Re: Bug (?) with a clipped isosurface : Re: Bug (?) with a clipped isosurface Server Time
1 Aug 2024 18:21:11 EDT (-0400)
  Re: Bug (?) with a clipped isosurface  
From: Mike Williams
Date: 4 Jul 2005 14:24:53
Message: <pAup$OANrXyCFw2L@econym.demon.co.uk>

>Hello,
>
>I have a problem with an isosurface: one part of it does not show up.

"clipped_by" Is a CSG operation and requires a suitable max_trace
setting (or "all_intersections") just as you would if you had used
"difference" or "intersection".

isosurface {
  function{y-x*z}
  max_gradient 6
  max_trace 2                   // Added this line
  contained_by {sphere {0 6}}
  clipped_by {box {<-2,-1,-4> <2,2,4> rotate -45*y}}
  pigment {color rgbt .8}
}
light_source {<2,5,1> color rgb 1}
camera {
  orthographic
  location <2,2,-8> look_at <0,.3,0>
  up 10*y right 10*4/3*x
}
background {<1,1,1>}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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