Proper support for brightmapped models

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Proper support for brightmapped models

Post by Nash » Thu Aug 09, 2012 23:13

It is proven that it's possible to draw brightmapped models, though the technique demonstrated is rather hacky (placing models in the textures namespace).

How much work would it be to tweak GZDoom to add proper support for it? I imagine a MODELDEF keyword would suffice.

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4627
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Proper support for brightmapped models

Post by Enjay » Thu Aug 09, 2012 23:20

Would GLDEFS/DOOMDEFS/etc not be a better place?

There are already keywords for flats, sprites and textures. That strikes me as the logical place to also add something like "modelskin" as a keyword.

I guess either that or have a modeldef ketword that means "use a lump from the textures namespace as a skin instead of something from the model path". (I suspect that's what you had in mind.)

User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Re: Proper support for brightmapped models

Post by Nash » Fri Aug 10, 2012 13:14

Uhh... yeah... actually GLDEFS would be a better place, since that is where brightmaps are being defined anyway... :D

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Proper support for brightmapped models

Post by Graf Zahl » Sat Aug 11, 2012 21:26

No, brightmaps for models should be defined where the skin is defined. The other things are separate because they are defined in nonGL-specific lumps.

Locked

Return to “GZDoom”