POV-Ray : Newsgroups : povray.beta-test : Isosurface CSG shadow problem : Re: Isosurface CSG shadow problem Server Time
4 Nov 2024 21:24:08 EST (-0500)
  Re: Isosurface CSG shadow problem  
From: Mike Williams
Date: 23 Sep 2001 22:53:12
Message: <yrU33AA5+pr7EwYi@econym.demon.co.uk>
Wasn't it Slime who wrote:

>The isosurface in this scene has a plane cut out from it. The light source
>is at the same location as the camera, so no shadows should be visible.
>However, the isosurface seems to be showing shadows from the part of it that
>has been off by the plane.

They're not shadows, they're holes. You're looking through the holes and
seeing the background. They happen to look black in this scene because
your background is black. 

(1) Add "background {rgb <0,0,1>}" and almost all the "shadows"
disappear.

(2) Add "max_gradient 3" and the few remaining "shadows" also disappear.
I recommend explicitly setting a sensible max_gradient for all 3.5
isosurfaces.

(3) Add "max_trace 3" to render the whole of the surface. Max_trace is
required for all CSG operations involving isosurfaces.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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