POV-Ray : Newsgroups : povray.general : layering transparent surfaces, more than 4? : layering transparent surfaces, more than 4? Server Time
16 Nov 2024 03:25:36 EST (-0500)
  layering transparent surfaces, more than 4?  
From: Cedar Cox
Date: 21 Oct 1998 00:44:38
Message: <362D5909.56F8@geocities.com>
It seems as though povray has a hard time layering more than four
transparent surfaces on top of each other.  Am I correct? Is this a
known issue? Or is it my version of Pov? (currently 3.00e, 3.02 won't
run)
Run this source and it should be fine, but change the loop from .4 to .5
and the last layer's transparent color will turn black.

---BEGIN POV FILE---
camera { location -z look_at 0 }
light_source { <0,0,-1> rgb 1 }
light_source { <0,0,1.5> rgb 1 }
#declare c=0
#while (c<.4) /* <-- change this to .5 */
  plane { z,0
    pigment { checker rgb x, rgbt<.5,.5,.5,1> scale .2 }
    translate <0,0,c>
  }
  #declare c=c+.1
#end
plane { z,2 pigment { rgb 1 } }
---END POV FILE---

Maybe I don't know about an option somewhere to increase the depth at
which pov traces through transparent textures, if so please tell me!
Thnks much
-Cedar


Post a reply to this message

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