POV-Ray : Newsgroups : povray.general : weird effect or normal : weird effect or normal Server Time
14 Apr 2024 13:02:55 EDT (-0400)
  weird effect or normal  
From: David Kraics
Date: 15 Mar 2024 17:05:00
Message: <web.65f4b6e4f9fed42387b92d44a57e0@news.povray.org>
So I finished the Alaska building and am now working on the tallest building in
Hawaii. I made a glass texture for windows.

#declare My_glass_bluish = color rgbf <0.5, 0.5, 1.0, 0.8>;

My question isn't about the texture. It's fine.

 I placed two boxes next to each other. One was an opaque grey color that went
from z= -.886 to z= .866. The second block, which had the glass texture, went
from Z= .866 to Z= .867. After unionizing them, I turned them around, 180
degrees, on the Y axis. Behind them both, I had a box with a floor plan
superimposed on it.

When I viewed the image, I was able to see completely through the two boxes to
see the one with the floorplan. I then moved the second box from .866-.867 to
..867-.868. Basically moving it away on the Z axis by .001, so they no longer

When viewed, I could no longer see through the two boxes.

My question is, is this normal? Does the box, with the transparency, replace the
texture/pigment of the opaque box, at the location they touch?

In the past, whenever I want to make a window in an object, I used to difference
out the window hole first, before placing a transparent object there. Could it
be that I didn't have to do that, all along?

And yes, I work with tiny objects. The scale I use is 1 unit = 200 feet. That
way, all my buildings are to scale, and will fit next to each other on my final
city project.

Post a reply to this message

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