Can microscopic structures be created in ZDoom maps?

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
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Can microscopic structures be created in ZDoom maps?

Post by printz »

I know I posted a question about floating-point support before, and one of the reasons was this very thing. The answer was that no, Doom is still fixed-point. But anyway, I think that 1/65536, which is the fixed-point quantum, still qualifies as microscopic. So I'm wondering if it's possible to squeeze otherwise gigantic 65536x65536x65536 maps (such as entire Doom IWADs) within 1-unit size cubes. It would make for some very nice easter-egg / bonus maps for highly curious players.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: Can microscopic structures be created in ZDoom maps?

Post by Sodaholic »

Correct me if I'm wrong, but I think that sector height is still fixed point in integers.
Last edited by Sodaholic on Sun May 29, 2011 10:33 am, edited 1 time in total.
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: Can microscopic structures be created in ZDoom maps?

Post by printz »

You mean fixed point (that is, multiples of 1/1665536 units) or actual integers (multiples of one)?
Last edited by printz on Sun May 29, 2011 1:50 pm, edited 1 time in total.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: Can microscopic structures be created in ZDoom maps?

Post by Sodaholic »

Gah, crap. I meant integers.

I've tried doing something similar to this before, and I ran into a few problems. Namely, the use distance was the same, so it looked like you were opening doors from a mile away. :P
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Can microscopic structures be created in ZDoom maps?

Post by Gez »

Even if technically possible, it is going to be a complete mess for the nodebuilder.
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: Can microscopic structures be created in ZDoom maps?

Post by Graf Zahl »

It's not possible. Since each UDMF map needs to be nodebuilt with ZDBSP its limits apply and it treats 5/65536 as the smallest representable value when it comes to vertex distances.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Can microscopic structures be created in ZDoom maps?

Post by Demolisher »

Sooo... 65536x65536x65536 maps within 8-unit size cubes.
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: Can microscopic structures be created in ZDoom maps?

Post by printz »

Graf Zahl wrote: its limits apply and it treats 5/65536 as the smallest representable value when it comes to vertex distances.
That's still tiny.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: Can microscopic structures be created in ZDoom maps?

Post by Sodaholic »

So, is it actually possible to change the use distance? It's pretty absurd having Doomguy being able to open doors and press switches that are literally like 20 feet from him. (I'm talking about reduced scale here, my 1/4 scale mod kinda sucked because of this.)
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: Can microscopic structures be created in ZDoom maps?

Post by Ethril »

Sodaholic wrote:So, is it actually possible to change the use distance? It's pretty absurd having Doomguy being able to open doors and press switches that are literally like 20 feet from him. (I'm talking about reduced scale here, my 1/4 scale mod kinda sucked because of this.)
And, taken in the other direction, it would allow large players to have a longer reach.
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Can microscopic structures be created in ZDoom maps?

Post by CaptainToenail »

Going for Congestion 1 jokewad eh? :wink:
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: Can microscopic structures be created in ZDoom maps?

Post by NeuralStunner »

Sodaholic wrote:So, is it actually possible to change the use distance?
You should check whether this has been suggested before, and if not, make the query yourself. ;)
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Can microscopic structures be created in ZDoom maps?

Post by Xaser »

Hmm, this indeed makes me wonder how far one would be able to shrink a tiny piece of easter egg geometry before the nodebuilder starts shitting a brick. Micro-E1M1 statuette, anyone?
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: Can microscopic structures be created in ZDoom maps?

Post by printz »

Are the available nodebuilders the ones to shit the brick first, or is it mathematically impossible to make nodes on detail too fine, even before reaching the 5/65536 hard-limit Graf Zahl mentioned? If it's the former, then someone with a hobby and plenty of time may program a more comprehensive utility for this effect.

Too bad that microstructures have no real use in ZDoom, unlike in real life.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Can microscopic structures be created in ZDoom maps?

Post by Edward-san »

I think it's possible (change 65536 with one of its multiples, say for example 10*65536), but you need to multiply all the length unities with 10. Too much work with little gain IMHO.
Locked

Return to “Editing (Archive)”