bugs with ye old ds models and pbr textures on gzd 4.6

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Omar09
Posts: 3
Joined: Sun Jul 12, 2020 3:50 pm

bugs with ye old ds models and pbr textures on gzd 4.6

Post by Omar09 »

i tried to use some 3d models packs for vr back when gzd 4.5 was released (viewtopic.php?f=4&t=64397 and viewtopic.php?f=37&t=56344) and they worked great, now when i use the same modelpacks on gzd 4.6 they have quite a bit of issues (https://cdn.discordapp.com/attachments/ ... nknown.png and https://cdn.discordapp.com/attachments/ ... nknown.png sorry for not putting actual screenshots in the thing just links to images) also another thing is that the pbr materials for classic doom (https://www.doomworld.com/forum/topic/1 ... -textures/) works great with gzd 4.5 but with gzd 4.6 it just doesnt work, so now im just wondering why these mods dont work properly or just dont work at all with the newest gzdoom, cheers!
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: bugs with ye old ds models and pbr textures on gzd 4.6

Post by _mental_ »

First of all, do not put unrelated reports into one topic. There is a high chance that some of issues will be missed.

The problem with models was introduced by this commit, merge of Dynamic number of models per actor PR. That's why I moved this topic to Bugs.
I didn't notice any differences between 4.5.0 and 4.6.0 with the provided PBR textures. Please post screenshot(s) where the difference is seen clearly.
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: bugs with ye old ds models and pbr textures on gzd 4.6

Post by Graf Zahl »

That thing again? What did it do this time?
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: bugs with ye old ds models and pbr textures on gzd 4.6

Post by Marisa the Magician »

It appears that the model definitions in those mods are... very incorrect. Models are split into several sub-models rather than using surface skins, but only the first model is ever assigned in most frames.

I would say you can blame GZDoom for being "more correct" now in handling what was clearly unintended behavior.
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: bugs with ye old ds models and pbr textures on gzd 4.6

Post by Graf Zahl »

This depended on multiple definitions overwriting the same static data. Problem: The static arrays no longer exist.
Sorry, I'm not going to try fixing such inept definitions. It's a textbook case of "how to not do stuff..."
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: bugs with ye old ds models and pbr textures on gzd 4.6

Post by _mental_ »

If author of the mentioned PR initialized all variables, those models would still work. I'll push the fix soon.
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: bugs with ye old ds models and pbr textures on gzd 4.6

Post by Graf Zahl »

Ok, good to know.
User avatar
Cherno
Posts: 1337
Joined: Tue Dec 06, 2016 11:25 am

Re: bugs with ye old ds models and pbr textures on gzd 4.6

Post by Cherno »

I believe the same thing was reported here:

viewtopic.php?f=2&t=71850&p=1185231#p1185231

and it's the same issue, mod developers plinly disregarding what the MODELDEF wiki article says.
Post Reply

Return to “Closed Bugs [GZDoom]”