POV-Ray : Newsgroups : povray.windows : Windows through subtraction : Re: Windows through subtraction Server Time
6 Oct 2024 02:59:49 EDT (-0400)
  Re: Windows through subtraction  
From: Warp
Date: 19 Jun 2000 03:47:27
Message: <394dd00f@news.povray.org>
Andrea Ryan <ary### [at] global2000net> wrote:
: 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?).

  This statement can be a bit misleading.
  If you have this:

difference
{ object { Room }
  object { WindowHole }
  texture { WallTexture }
}

it might seem that the WindowHole object does not have a texture (there is
no texture block inside that object block, is there?).
  However, it has a texture applied to it: The WallTexture.

  The problem only arises in this case:

difference
{ object { Room texture { WallTexture } }
  object { WindowHole }
}

but here it's more clear that only the Room object has a texture. And I think
povray issues a warning anyways.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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