A few noob questions: GZdoom 3d floors

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
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

A few noob questions: GZdoom 3d floors

Post by Talonos »

A few quick questions:

First: Is it permissible to ask about 3d floors, even though these are the Zdoom forums, and 3d floors are a GZDoom feature?

If so...

Can a sector have multiple 3d floors, if you have multiple control sectors with line actions pointing to its tag? Can those 3d floors have different textures?

The wiki seemed to imply that you could have sloped 3d floors, but didn't mention how to do so. Is there a tutorial for sloped 3d floors? An example?

Can you modify 3d floors at run time? (Such as raise or lower them, cause them to go away, or anything else?)

Thank you for your help!
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: A few noob questions: GZdoom 3d floors

Post by NeuralStunner »

Talonos wrote:Is it permissible to ask about 3d floors, even though these are the Zdoom forums, and 3d floors are a GZDoom feature?
As long as it's editing questions and not bug reports, yes. :)
Talonos wrote:Can a sector have multiple 3d floors, if you have multiple control sectors with line actions pointing to its tag? Can those 3d floors have different textures?
Yes, exactly. :yup:
Talonos wrote:The wiki seemed to imply that you could have sloped 3d floors, but didn't mention how to do so.
Slope the control sector's floor and ceiling. Make the cotrol sector the same size and shape as the destination sector if you want to be extra sure it's sloped correctly.
Talonos wrote:Can you modify 3d floors at run time? (Such as raise or lower them, cause them to go away, or anything else?)
Yes, you can raise and lower them like other floors and ceilings - but make sure you move both, or it may appear to "stretch". To make them vanish, move the whole thing beyond the real floor or ceiling.
User avatar
Salad Viking
Posts: 752
Joined: Tue Apr 20, 2010 8:58 pm
Location: In high orbit

Re: A few noob questions: GZdoom 3d floors

Post by Salad Viking »

So long as it doesn't have to do with bugs or feature requests, I doubt anyone will mind if you have questions about editing for GZDoom, since GZDoom is ZDoom's unofficial hardware renderer.

To answer your questions in order...
  • Yes. You can add as many 3D floors to a sector as you'd like, and each one is added in the same way as normally. You can even have 3D floors inside other 3D floors!
  • You can indeed have sloped 3D floors (but they can't be translucent), you just need to slope the control sector and make sure it lines up with the target sector. Sloped 3D floors are a bit weird, though, so it helps if you're using Doom Builder with the GZDoom editing plugin.
  • Yes, you can. I don't know if you can add or remove them at run time, but you can move them up and down as you please, including above and below the floor and ceiling (so you can essentially make 3D floors appear after level load). All you need to do is move the control sector. I have no clue what happens if you try to move sloped floors, though.
Another bit of info that comes in handy: when you change the properties of the control sector of a solid 3D floor, those properties will be applied to the space below the 3D floor. For example, if you make the light level of the control sector darker than the target sector, there will be a shadow below the 3D floor. You can also change things like light color and fade color.

Most of these questions can be answered through experimentation, so try yourself to find the limits of ZDoom's features.
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Re: A few noob questions: GZdoom 3d floors

Post by Talonos »

Thank you for your help. This continues to be one of the most friendly forums I have had the pleasure of asking questions on.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A few noob questions: GZdoom 3d floors

Post by Graf Zahl »

One other thing: If you have sloped 3D floors make sure there are no overlaps. They result in non-trivial clipping cases which the engine does not handle for efficiency reasons.
User avatar
CrystalWolf
Posts: 155
Joined: Tue May 05, 2009 9:24 pm
Location: New Orleans, LA
Contact:

Re: A few noob questions: GZdoom 3d floors

Post by CrystalWolf »

Talonos wrote:This continues to be one of the most friendly forums I have had the pleasure of asking questions on.
You should see the "WHAT THE HELL are you working on" thread, and the Ripping Resources Discussion thread.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: A few noob questions: GZdoom 3d floors

Post by wildweasel »

CrystalWolf wrote:You should see the "WHAT THE HELL are you working on" thread, and the Ripping Resources Discussion thread.
Don't scare him off.
User avatar
Enjay
 
 
Posts: 27115
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: A few noob questions: GZdoom 3d floors

Post by Enjay »

It's about now in such a discussion that I link to my little 3D floors examples file...

http://www.zen64060.zen.co.uk/examples/3d_floor.zip

I think it shows most of the things that are being asked about.
User avatar
cq75
Posts: 1212
Joined: Sun Dec 27, 2009 9:28 pm
Graphics Processor: nVidia with Vulkan support
Location: Just beyond the line horizon

Re: A few noob questions: GZdoom 3d floors

Post by cq75 »

I'm a bit late, but I'd like to add that sloped 3d floors cannot be translucent.
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Re: A few noob questions: GZdoom 3d floors

Post by Talonos »

Yes, I read that from the wiki. That cryptic bit of text is what made me wonder about sloped 3-d floors in the first place.

Thanks for the example wad!

I appreciate all your help.
Locked

Return to “Editing (Archive)”