POV-Ray : Newsgroups : povray.programming : csg bug ? : Re: csg bug ? Server Time
29 Jul 2024 08:12:51 EDT (-0400)
  Re: csg bug ?  
From: Twyst
Date: 17 May 1998 19:12:37
Message: <6jnnl7$5dq$1@oz.aussie.org>
Deneux Johann wrote in message <355F26DB.30CB6D30@club-internet.fr>...
>Hello everybody. I have encountered a problem, what could even be a bug.
>
>This is a CSG-problem. Try this little scene:
>
>
>#include "colors.inc"
>
>/* Prints a 'L' in a white pannel */
>difference {
> // The panel
> box {<-1,-1,0.5>, <17,12,2>}
> // The 'L'
> union {
>  box {<0,0,0>, <1,9,1>}
>  box {<0,0,0>, <6,1,1>}

Here's your problem. Coincident surfaces. Pov-Ray can't decide which to
show.
Try this:

union

  box { <0,0,0>,<1,9,1>}
  box { <0,0,0>,<6,1,1.0001> }


That will solve the problem.

Twyst=====================================
pov-ray news, reviews and tutorials
http://twysted.net
e-mail: twy### [at] twystednet
==========================================


Post a reply to this message

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