[No] Models (planes) billboard?

Moderator: GZDoom Developers

Models (planes) billboard?

Postby Logan MTM » Wed Oct 14, 2020 4:11 pm

There is any change to bring models billboard back? I know its seems useless but trust me, modders always find a way to use everything.
There is the thing: I did pbr for all dropable guns but, as you know, sprites don't work with pbt, Models does. The big problem is the fact that plane models needs to billboard.
I did some tricks to emulate this behaviour creating new actors that modeldef calls plane models with the gun sprite as skin. The A_FaceTarget do the magic but isn't perfect.
User avatar
Logan MTM
I can see you...
 
Joined: 17 Jan 2006
Location: Rio de Janeiro - Brazil

Re: Models (planes) billboard?

Postby SanyaWaffles » Sat Oct 17, 2020 8:50 pm

I wasn't aware that models even could billboard like a sprite.

I don't recall that even being a thing.

Do you know what the flag/feature was called by chance? I could try looking around.
User avatar
SanyaWaffles
Wouldn't be an epic gamer if I didn't commit a few war crimes.
 
Joined: 25 Apr 2013
Location: Eastern Ohio
Discord: SanyaWaffles#5095
Twitch ID: sanyawaffles
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Models (planes) billboard?

Postby Graf Zahl » Sat Oct 17, 2020 11:43 pm

No, models cannot billboard, the sprite related projection math is not run for them. And "modders will find a way to use everything" is not a good justification for a bad feature.
The problems this may cause down the line cannot simply be discounted for some shortsighted convenience reasons.
And the one you mention is not good enough. The reason why sprites cannot do PBR is because they have no dimension and no orientation in the world. A billboarded model also has no dimension and no orientation in the world so it'd be subject to the exact same problem, i.e. PBR would have to be disabled.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Models (planes) billboard?

Postby Logan MTM » Sun Oct 18, 2020 4:14 pm

SanyaWaffles wrote:Do you know what the flag/feature was called by chance? I could try looking around.

No. Thank you dude.

Graf Zahl wrote:The reason why sprites cannot do PBR is because they have no dimension and no orientation in the world. A billboarded model also has no dimension and no orientation in the world so it'd be subject to the exact same problem, i.e. PBR would have to be disabled.

I got it.
There is any way to emulate BILLBOARD? I'm almost there :cry:

User avatar
Logan MTM
I can see you...
 
Joined: 17 Jan 2006
Location: Rio de Janeiro - Brazil

Re: Models (planes) billboard?

Postby Gez » Mon Oct 19, 2020 3:03 am

Some model formats (in other engines; not talking about GZDoom here) allow to have parts of the model billboarded -- it's often used for trees, where the trunk and branches are regular 3D geometry but foliage is billboarded, creating a dense foliage look from any direction without having to actually have thousands upon thousands of polygoned leaves.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Models (planes) billboard?

Postby Logan MTM » Fri Oct 23, 2020 3:55 pm

Well I don't know if officially is possible to do that in GZDoom, Graf said No but unoficially is done.
User avatar
Logan MTM
I can see you...
 
Joined: 17 Jan 2006
Location: Rio de Janeiro - Brazil


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests