POV-Ray : Newsgroups : povray.advanced-users : Multiple Transparent Boxes : Re: Multiple Transparent Boxes Server Time
28 Jul 2024 14:28:51 EDT (-0400)
  Re: Multiple Transparent Boxes  
From: Rune
Date: 9 Jan 2005 20:14:18
Message: <41e1d6ea$1@news.povray.org>
Redjack wrote:
> #declare Counter=0;
> #while(Counter<25)
> box{
> <-40,-1-(Counter+1)*0.8,3>,<40,-1-Counter*0.8,-20>

This gives you coincident surfaces, since the front of one box is at the 
same place as the back of the next.

> As to my understanding, I should be creating 25 0.8
> units thick boxes lying on top of each other.

Correct, but you have to make a tiny gab between them to avoid coincident 
surfaces. :)

Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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