3D foors and reverbs

Need help with your project? Ask here.
Zhadoom
Posts: 57
Joined: Tue Sep 02, 2014 16:06

3D foors and reverbs

Post by Zhadoom »

Hello! :D

Question:
Is it possible to build a two story room where the two stories are part of different sound environments?
In other words: How do I assign a sound environment to a 3D floor? Can I assign two different sound environments to the lower and the upper floor?

Kind regards
Yours Zhadoom
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: 3D foors and reverbs

Post by Gez »

No, it is not possible with 3D floors. Sound environments affect the whole sector. You need to put the different stories in different sectors, which means you have to use portals instead.
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: 3D foors and reverbs

Post by Enjay »

Yup, now that portals are a thing, they would be the way to go for this. I have done it the 3D floor way in the past in my Burghead mod. If you have played it, there is a map where you can walk above ground and the reverb sounds normal but if you walk through a tunnel, things get a bit echoey.

The way I did it was to activate the appropriate reverb things when you enter/leave the tunnel. It works but if you were to magically be able to float through the tunnel roof into the open area above, things would still be echoey. Such a setup is really only suited to single player.
Zhadoom
Posts: 57
Joined: Tue Sep 02, 2014 16:06

Re: 3D foors and reverbs

Post by Zhadoom »

Thank you, gentlemen!

Enjay, your solution will work with the building in my map.

Gez, I still havn't figured out how portals work. Have to do some studies ... :-)

Bye
Zhadoom
User avatar
Rachael
Developer
Developer
Posts: 3639
Joined: Sat May 13, 2006 10:30

Re: 3D foors and reverbs

Post by Rachael »

@Zhadoom

This map serves as a basic demonstration of the portal system in GZDoom.

Credit goes to Arookas (iirc), on the ZDoom forums. I couldn't find the original link to it.

It has two line portals and one sector portal, the overhead "inside the bridge" area is the entire section that is "portaled".
Attachments
portals2.wad
(49.7 KiB) Downloaded 132 times
Zhadoom
Posts: 57
Joined: Tue Sep 02, 2014 16:06

Re: 3D foors and reverbs

Post by Zhadoom »

@ Rachael

Oh, thank you very much! :-)
That helps me a lot.
Seems I owe you one ... or at least a screenshot of my far-from-being-finished mapset... :-)

Bye
Zhadoom
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: 3D foors and reverbs

Post by Enjay »

Neat demo. Any reason I see this briefly when the hole in the floor comes into view?

Image

@Zhadoom, you may well have seen this already but it's also a nice simple portal demo (I didn't make it).
Attachments
Portal01.wad
(17.07 KiB) Downloaded 120 times
User avatar
Rachael
Developer
Developer
Posts: 3639
Joined: Sat May 13, 2006 10:30

Re: 3D foors and reverbs

Post by Rachael »

Enjay wrote: Sun Oct 29, 2017 13:38 Neat demo. Any reason I see this briefly when the hole in the floor comes into view?
There's two portals there. There's something going wonky with the clipping when that happens.

Normally you don't see this kind of problem in GZDoom, but this portal setup despite being so hugely simple is much more complex than it was designed for - those red bricks are actually the behind-space in order to allow the player through the line.

I think in a real portal setup, if you replaced the red bricks with a null texture "-" it will look a little better.
Post Reply

Return to “Editing Help”