POV-Ray : Newsgroups : povray.binaries.images : CSG : CSG Server Time
17 Aug 2024 20:18:08 EDT (-0400)
  CSG  
From: Artis
Date: 20 Aug 2001 12:22:58
Message: <3b813962@news.povray.org>
I'm trying to make a room with CSG - I'm cutting out 2 boxes of one -
bigger - here are two test pictures with the sources - maybe someone can
help.

The source for "test1.jpg"
#declare room = difference
{
  box
  {
    <-2.100, -1.300, +1.600>
    <+2.100, +1.300, -1.600>
  }

  box
  {
    <-2.000, -1.200, +1.500>
    <+2.000, +1.200, -1.000>
  }

  box
  {
    <-2.000, -1.200, +1.500>
    <+1.000, +1.200, -1.500>
  }
}

And the source for "test2.jpg"
#declare room = difference
{
  box
  {
    <-2.100, -1.300, +1.600>
    <+2.100, +1.300, -1.600>
  }

  box
  {
    <-2.000, -1.200, +1.500>
    <+2.000, +1.200, -1.000>
  }

  box
  {
    <-2.000, -1.200, -1.000>
    <+1.000, +1.200, -1.500>
  }
}


Post a reply to this message


Attachments:
Download 'test2.jpg' (30 KB) Download 'test1.jpg' (13 KB)

Preview of image 'test2.jpg'
test2.jpg

Preview of image 'test1.jpg'
test1.jpg


 

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