One way portals?
by Kyrah Abattoir · in Torque 3D Beginner · 11/16/2012 (10:24 am) · 4 replies
I've been thinking about this one for a while.
I would like to make some large glass skyscraper for a game test, it's a sort of ruined metropolis theme, as a result the outside of the skyscrapers would be mossy with cubemapped reflections here and there where the glass is hinted.
But on the inside, i would like to allow players to "see" the city through the cracked glass.
For optimization purpose, i would like to avoid rendering the inside of the skyscrapers when players are outside (when they can see all the floors at the same time). But from the sinde, they should be able to see the outside.
Can a portal be setup in such a way that it only work in one direction?
ex:
Zone1---->Zone2
Zone1<-X--Zone2
I would like to make some large glass skyscraper for a game test, it's a sort of ruined metropolis theme, as a result the outside of the skyscrapers would be mossy with cubemapped reflections here and there where the glass is hinted.
But on the inside, i would like to allow players to "see" the city through the cracked glass.
For optimization purpose, i would like to avoid rendering the inside of the skyscrapers when players are outside (when they can see all the floors at the same time). But from the sinde, they should be able to see the outside.
Can a portal be setup in such a way that it only work in one direction?
ex:
Zone1---->Zone2
Zone1<-X--Zone2
About the author
3D artist, programmer, game designer, jack of all trades, master of none.
#2
Anyway, I haven't used this at all so I recommend playing with that pair of settings to see if you can achieve the effect you're shooting for.
11/16/2012 (12:36 pm)
Though I guess toggling this would be irrelevant. NVM....Anyway, I haven't used this at all so I recommend playing with that pair of settings to see if you can achieve the effect you're shooting for.
#3
I could see a bunch of other applications for it too...
11/16/2012 (1:20 pm)
Thanks a lot, that's exactly what i was looking for! That allows me to cull objects inside the zone while allowing to see outside the zone.I could see a bunch of other applications for it too...
#4
11/16/2012 (11:24 pm)
@ Richard Great info, thanks! Never knew that was there.
Torque Owner Richard Ranft
Roostertail Games
Perhaps even have a set of triggers that will toggle this on a per-floor basis as well if your floors are separate zones. You'd have to have a list of portals associated with each interior space to traverse though.