Page 1 of 3

True colour...

Posted: Tue Sep 06, 2005 22:56
by Lexus Alyus
I'm intrigued to know how well the true colour support is in GZDoom. ATM, is it just smoother lighting and fog or can we actually import textures with pallets that have colours outside the Doom pallet? Are we still restricted to the Doom pallet?

If we are still restricted then it would be mighty cool to remove this restriction ;).

:twisted:

Posted: Tue Sep 06, 2005 23:12
by Graf Zahl
You can import any 8 bit PNG. The engine will use its real palette. Since the textures are stored as true color internally there is no need to remap the colors - except when Boom-style colormaps are used. In that case I have no choice.

Posted: Wed Sep 07, 2005 0:47
by chaoscentral
how would I go about making a png with its own pallet? every time i try to import a png into xwe it some how gets messed up color wise... and in doombuilder it turns green same in GZDoom

Posted: Wed Sep 07, 2005 1:04
by Nuxius
You should use "Load (raw data)" instead of "Load".

Also make sure you have the latest beta (8/21/05):

http://ca.geocities.com/xwe@rogers.com/xwe_beta.zip

Posted: Wed Sep 07, 2005 2:01
by chaoscentral
yea I got it to work shortly after... if i go into photoshop and save as an interlaced png, it doesnt screw it up.... nothing like cyan in doom...

Posted: Wed Sep 07, 2005 5:58
by Deathsong12
Does this mean that, In GZDoom, we could use sprites without having to convert them to the Doom or Hexen pallette?

Posted: Wed Sep 07, 2005 6:27
by BetaSword
Yep. I just figured out how to do that myself, and it's rather helpful :)

Posted: Wed Sep 07, 2005 9:19
by Enjay
I'm sure this has been answered somewhere else, but if we are importing PNG sprites (ie sprites that are not in the Doom graphic format) what's the best/easiest way to specify offsets for those sprites?

Posted: Wed Sep 07, 2005 9:27
by Graf Zahl
Search for 'setpng' on the ZDoom forum. That's a little tool Randy wrote to do exactly this. I think I'll host it here in the downloads section because searching the forum for something like that is rather tedious.

EDIT: Done. Get it from the downloads page.

Posted: Wed Sep 07, 2005 16:21
by Enjay
OK, thanks. I'll check it when I get home. I assume it's a command line/parameters type thing rather than a GUI?

Posted: Wed Sep 07, 2005 16:21
by Graf Zahl
Of course. As it should. ;)

Posted: Wed Sep 07, 2005 23:05
by Deathsong12
Can't we just set the offsets in XWE? I sure hope so...
Or, failing that, can we set the offsets while they are still in .BMP format and THEN convert them?

Posted: Wed Sep 07, 2005 23:47
by Graf Zahl
No and no.

1. because XWE doesn't support it
2. because BMP is incapable of storing this information. But why do you need BMP? Does your graphics software not support PNG?

Posted: Wed Sep 07, 2005 23:51
by AFADoomer
Does anyone know of a tool to mass-convert .bmps to .pngs?

A command line tool that I could write a batch file with would be awesome.

Posted: Wed Sep 07, 2005 23:54
by NiGHTMARE
Paintshop Pro (and I'd assume Photoshop) can do mass converts.