"Portal" Texture?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

"Portal" Texture?

Post by Amuscaria »

Does something like portals exist for [G]Zdoom? Similar to how portals work for ceilings and floors, but the 2 rooms are linked together by a texture instead. I know there are camera textures, but the other room seen throiug the texture is rended into a 2D image. Was thinking about good ways to create inter dimensional gateways for DE, and not sure if the Camera texture was the best way to do it.
User avatar
Nash
 
 
Posts: 17503
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: "Portal" Texture?

Post by Nash »

Yeah Isle put up wall portal example a long time ago but I can't find the links anymore.

I do remember there being 2 versions because each version worked exclusively for a specific renderer (the GZDoom approach doesn't work in the software renderer and vice versa).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "Portal" Texture?

Post by Graf Zahl »

No. The current portal code has a few problems with recursion detection that make wall portals difficult to handle. I'm working on it but I don't really have time so it's going extremely slowly.

@Nash: As this is a hack, anyone using it is on their own when copying it. No guarantee that it will survive a proper implementation.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: "Portal" Texture?

Post by Xaser »

First hack I can think of is having a sloped portal connection, but Isle may have already done that and it would be hell to handle traveling between them.
User avatar
Isle
Posts: 687
Joined: Fri Nov 21, 2003 1:30 am
Location: Arizona, USA

Re: "Portal" Texture?

Post by Isle »

nah just use a portal room behind it with line_horizon on the outer walls. seems to still work with the newer portals.
oh yeah, doesn't work in gzdoom though
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "Portal" Texture?

Post by Graf Zahl »

Isle wrote:nah just use a portal room behind it with line_horizon on the outer walls. seems to still work with the newer portals.
oh yeah, doesn't work in gzdoom though

No, and it never will. That's an unsupported construct, even in ZDoom. In other words: May break at any time.
Locked

Return to “Editing (Archive)”