Page 1 of 1

model texture (pcx) trouble

Posted: Thu Jan 04, 2007 18:40
by simc
I tried to made a modeldef lump for a Vavoom md2 pack to run it with GZDoom. All the models work "nice", but there's an oddish texture issue with a couple (6-7) of decoration items: Their textures appear in *black and white* in GZdoom. Those textures are in PCX format, but many other models with PCXs work without any problems.

http://www.geocities.com/gearlost/misc3/doom0000.jpg

If you look at the troubled items, the textures are correctly positioned etc. - only the textures are in b/w. It looks like this occures with GZDoom 1.0.22 and -21, but with an older 1.0.18 all the textures work nice.

Or did I just do somehing wrong? (the def lumps are pretty messy) See:

http://www.geocities.com/gearlost/misc3/md_defs.zip


Just run it with the Vavoom Doom/Doom2 model pack:

gzdoom.exe -file vmdl_doom_13-1.zip md_defs.zip

(Vavoom:)
http://sourceforge.net/project/showfile ... p_id=32050

(btw - is there any way to get Spectre's fuzzy outlook with models? It's model appears now as solid as any regular Demon. And there's no hud weapons. Wonder how those should be done then?)

Posted: Thu Jan 04, 2007 19:25
by Graf Zahl
This is a known issue with some incorrectly saved PCX's. In this case the palette is not correctly stored and the fallback apparently doesn't work properly. Right now I don't have the time to check but you would help me save some time if you could attach just the broken graphic to this thread.

Posted: Fri Jan 05, 2007 10:30
by MasterOFDeath
*thinks about how to abuse said incorrectly saved PCX files in a jokewad*

Posted: Sun Jan 07, 2007 13:37
by simc
Zipped the troubled pcxs (with the md2s) here:

http://www.geocities.com/gearlost/misc3/md_xxx.zip

Tall Green pillar
Tall Red pillar
red pillar with skull
ColonGibs
SmallBloodPool
Gibs (+ crushed gibs)
tall techlamp

Those pcxs doesn't work properly with any other models either. But other pcxs/pngs display the correct colours with those same seven models.

The JDoom jDRP pack's (older) pcxs seem to have even more often these b/w troubles in GZdoom.

Posted: Sun Jan 07, 2007 15:07
by Graf Zahl
Yuck!

Apparently some people can't create standard-compliant data - and others don't enforce standard compliance in their code - and so we get crap like these pictures and software that can use them.

Posted: Mon Jan 08, 2007 5:24
by DaniJ
We have noticed the problems with the format of these resources when loaded in Doomsday but we just work things out so they do.

They were created a long long time ago before jDRP. Cheb created them in some obscure image editor I can't even remember. I never bothered to fix them as the models and skins have all been replaced in later versions of jDRP.

BTW: I don't take kindly to people ripping stuff without asking. Since Cheb is no longer involved and I am the current maintainer of the pack, you should have asked me if you could use them.

Posted: Tue Jan 09, 2007 17:54
by simc
DaniJ:
> BTW: I don't take kindly to people ripping stuff without asking.
> Since Cheb is no longer involved and I am the current maintainer
> of the pack, you should have asked me if you could use them.

I'm sorry. That's completely and only my fault. No one else's. I should have realize that the models and graphics *are* rightful property of their creators and maintainers. My fault. I apologise for the troubles.