Print at Dec 19, 2025, 3:05:00 AM

Posted by hansmex at Dec 16, 2010, 1:09:38 PM
bug in transparent rendering?
Emmanuel,

Once again I was playing around trying out the near-impossible. This time it was an overhanging faceted roof. Imagine a room of 4x4 meters, on two sides the ceiling-roof overhangs one meter. The roof consists of several parts:
- a top roof of 5x5 meters, made as a 5x5 room, floor not visible, copied with CopyAsNewFurniture and then inserted as a "normal" element.
- a lower roof consisting of 3 "normal" roofs: one 4x4, and two roofs 4x1 meter, sloping upwards.
Basically I get a room with a normal roof, on top of which sits a 2-dimensional sloping plane.
Most walls have a transparent gif as texture, so they are (or should be) invisible.

Initially this rendered perfectly, but problems started soon after making a copy of the entire design with CopyAsNewFurniture. The copy rendered well several times, but after changing the light bulb inside, it started misbehaving, i.e. first it rendered only occasionally, a bit later it didn't render at all. Saving and reloading didn't remedy the problem.
Looking at what render I now can make, even the original doesn't want to render anymore the way it should: the transparency is now completely lost. I attach the original file for you to inspect, in case I've made you curious.

Look at this house to see the source of my inspiration.

Hans

EDIT
Further testing of the file seems to indicate that the copied and inserted roof is causing problems, similar to the problems with DAE files. It looks as if the orientation of the visible side initially was OK, but that later the visible side was at the underside, making the roof transparent. Even adding a texture to the roof part didn't make it visible anymore. Using Blackman-Harris, Catmull-Rom or Mitchell didn't bring back the roof.
Neither could any of these restore the transparency, but that wasn't expected.

http://www.mediafire.com/?7n4y2278wi473vx
----------------------------------------
Hans

new website - under constuction
hansdirkse.info