POV-Ray : Newsgroups : povray.windows : Windows through subtraction : Re: Windows through subtraction Server Time
6 Oct 2024 03:00:08 EDT (-0400)
  Re: Windows through subtraction  
From: Bob Hughes
Date: 18 Jun 2000 20:36:52
Message: <394d6b24@news.povray.org>
"Andrea Ryan" <ary### [at] global2000net> wrote in message
news:394D65BE.6E997F9E@global2000.net...
| If the boxes used to make the window openings do not have pigments or
| textures, the inside of the opening would be black (or the color of the
| background?).

The typical thing to do would be to add the room texture at the end of the
CSG, unless the outside walls are to be different than inside.  If everything
is to be different textures then of course a unique texture would go into each
part of the CSG constituents.  'union' the window parts together and put a
texture for them at the end of that union statement, then that would go after
the room box 'difference' but within that statement and then the rooms texture
at the end of that differencing statement.  The window textures will be
retained.  Outer wall and inner wall can have their own textures too but then
you can skip the final texturing statement if so, unless you intend to
difference anything more away from the room object.
Anyhow, it's all in how the textures are applied, previously or afterward.

| >  What you need to do is make a box the size you want your room,
| > difference a slightly smaller box (to define the thickness of
| > the walls) from the inside of that, and then use your "windows"
| > boxes to make the window openings.


Post a reply to this message

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