POV-Ray : Newsgroups : povray.newusers : Making a window and molding : Re: Making a window and molding Server Time
4 Nov 2024 21:23:03 EST (-0500)
  Re: Making a window and molding  
From: Trevor Quayle
Date: 14 Sep 2001 07:42:19
Message: <3ba1ed1b$1@news.povray.org>
> // Back Wall
> difference{
>  box{
>  <-10,0,-12>,<10,10,-13>
>  texture{
>   Wall_Texture
>   }
>  }
>  box{
>   <-11,0,-8><9,8,-4>
>   texture{
>    pigment{
>     color White
>    }
>   }
>   translate y*6
>  }
> }


The box you are trying to cut out of the back wall does not intersect the
wall
you want the cutout box to be slightly thicker than the wall

the box you are trying to remove is located between the z coordinates -4
and -8 while the wall is between -12 and -13 i.e., they don't intersect

you wall is <-10,0,-12>,<10,10,-13> (20w x 10h x 1t)

try this box for your window:
<-2,2,-11><2,6,-14>

this will cutout a window 4x4 units in the middle of the back wall

-tgq


Post a reply to this message

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