True colour...

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

User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

True colour...

Post 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:
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
chaoscentral
Posts: 113
Joined: Tue Aug 30, 2005 14:08
Location: E1M1
Contact:

Post 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
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post 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
User avatar
chaoscentral
Posts: 113
Joined: Tue Aug 30, 2005 14:08
Location: E1M1
Contact:

Post 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...
User avatar
Deathsong12
Posts: 129
Joined: Mon Sep 05, 2005 22:31

Post by Deathsong12 »

Does this mean that, In GZDoom, we could use sprites without having to convert them to the Doom or Hexen pallette?
User avatar
BetaSword
Posts: 132
Joined: Thu Sep 01, 2005 0:01

Post by BetaSword »

Yep. I just figured out how to do that myself, and it's rather helpful :)
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post 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?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post 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?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Of course. As it should. ;)
User avatar
Deathsong12
Posts: 129
Joined: Mon Sep 05, 2005 22:31

Post 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?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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?
AFADoomer
Posts: 43
Joined: Fri Sep 02, 2005 3:23

Post 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.
NiGHTMARE
Posts: 60
Joined: Wed Aug 31, 2005 1:14

Post by NiGHTMARE »

Paintshop Pro (and I'd assume Photoshop) can do mass converts.
Locked

Return to “GZDoom”