POV-Ray : Newsgroups : povray.windows : Windows through subtraction : Re: Windows through subtraction Server Time
6 Oct 2024 02:53:20 EDT (-0400)
  Re: Windows through subtraction  
From: Ken
Date: 18 Jun 2000 00:57:52
Message: <394C5611.6719E1E0@pacbell.net>
Chad Kruger wrote:
> 
> Hello, everyone.
> 
> I'm having a bit of a problem I was hoping you could help me with.
> 
> I am attempting to model a room with some windows.  I started by
> defining the room as a basic object, hollow mind you, and then subtract
> boxes from the object through using the difference function.
> 
> I've tried speicifying the boxes as hollow, only the boxes as hollow,
> only the room as hollow, and everything not hollow.

A common mistake. The "hollow" keyword DOES NOT make an object hollow.
It is there purely for the purposes of the media feature (You will use
"hollow" when you need to use an object as a container for media.)

See:
http://www.students.tut.fi/~warp/povVFAQ/languageVFAQ.html#hollowobjects

 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.

Again See:
http://www.students.tut.fi/~warp/povVFAQ/languageVFAQ.html#hollowobjects

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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