Portals and transparency
by John Doppler Schiff · in Artist Corner · 07/04/2006 (1:42 pm) · 7 replies
Hi guys,
I hope this is the right place for this question; I thought this might be a more appropriate forum than the resource's messages.
I'm using the InteriorRender Transparency fix with TLK.
What's the best way to portal a room with a translucent DIF object across one of the entrances? When only one portal is in view, I get the psychedelic hall-of-mirrors effect. As soon as the second portal is in view, everything works fine.
My test room:


Any suggestions? Should I just go with a DTS for the transparent object?
I hope this is the right place for this question; I thought this might be a more appropriate forum than the resource's messages.
I'm using the InteriorRender Transparency fix with TLK.
What's the best way to portal a room with a translucent DIF object across one of the entrances? When only one portal is in view, I get the psychedelic hall-of-mirrors effect. As soon as the second portal is in view, everything works fine.
My test room:


Any suggestions? Should I just go with a DTS for the transparent object?
#2
07/05/2006 (7:40 am)
Hi John, is there anyway you can send me the TLK interiorRender.cc file you patch. I have try to use the patch but I am not very good with it so I always mess up my interiorRender.cc. My email is rpullen2@nc.rr.com. Thanks you very much.
#3
07/05/2006 (12:06 pm)
Done, Michael.
#4
07/05/2006 (12:26 pm)
What was the original issue?
#5
07/05/2006 (12:28 pm)
Ah, ok, i think this is just related to Torque and how IT handles transparencies. This issue with this patch.. i know nothing about. But torque itself has problems with transparent models.
#6
But since there really is a transparent window into the room, you get a lovely view of the primal chaos that hides behind the scenes.
I thought that by placing a portal across the transparent brush, I could convince Torque that there's really an opening there. It wasn't convinced, though.
07/05/2006 (1:14 pm)
I *think* the problem is that Torque is treating the transparent face as if it were opaque. When the 2nd portal is not in view, it thinks "Ah! All the player can see is opaque walls, so there's no need to render this zone's interior."But since there really is a transparent window into the room, you get a lovely view of the primal chaos that hides behind the scenes.
I thought that by placing a portal across the transparent brush, I could convince Torque that there's really an opening there. It wasn't convinced, though.
#7
The problem, in theory, is that Torque doesn't recognize the transparent object as being an opening into the room. My quick-hack solution: leave a tiny, 1-unit opening on all sides of the transparent brush, so it really is an opening to the room.
The portal sandwich diagrammed above then becomes unnecessary; you just need one portal brush across the opening, as usual.
See you guys later... I've got some windows to install!
-- JohnDopp
07/05/2006 (1:27 pm)
BINGO! Sometimes, all you need to do it talk it out. =)The problem, in theory, is that Torque doesn't recognize the transparent object as being an opening into the room. My quick-hack solution: leave a tiny, 1-unit opening on all sides of the transparent brush, so it really is an opening to the room.
The portal sandwich diagrammed above then becomes unnecessary; you just need one portal brush across the opening, as usual.
See you guys later... I've got some windows to install!
-- JohnDopp
Adam Wilson