16-bit or 32-bit colours.
Moderator: GZDoom Developers
16-bit or 32-bit colours.
I don't know if this is already in Zdoom or not or has been requested before, but I'll ask anyway.
If it isn't already possible, can either a 16-bit pallete or 32-bit pallete please be put into Zdoom. The Doom pallete is nice and all, but 256 colours is too limiting. I want to be able to put in images and not have them mangled by the Doom pallete.
If it isn't already possible, can either a 16-bit pallete or 32-bit pallete please be put into Zdoom. The Doom pallete is nice and all, but 256 colours is too limiting. I want to be able to put in images and not have them mangled by the Doom pallete.
- Chris
- Posts: 2942
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
It has been asked before, and no it's not in ZDoom. IIRC, it will be done eventually, when Randy feels like taking the time to do it (it's not a simple task if you want to maintain nice framerates).
You can, however, try ZDoomGL to use hi/true-color images. Just put the image in as a 24-bit PNG (if you use 32-bit, the alpha channel may cause problems since it's not used) and away you go. ZDoom will even use the same PNG, but it'll be reduced to 256 colors when loaded.
You can, however, try ZDoomGL to use hi/true-color images. Just put the image in as a 24-bit PNG (if you use 32-bit, the alpha channel may cause problems since it's not used) and away you go. ZDoom will even use the same PNG, but it'll be reduced to 256 colors when loaded.
- David Ferstat
- Posts: 1113
- Joined: Wed Jul 16, 2003 8:53 am
- Location: Perth, Western Australia
- Contact:
- Cutmanmike
- Posts: 11335
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
David Ferstat wrote:No offence, but don't hold your breath. Randy has said several times in the past that extending the Doom/Zdoom pallette beyond the current 256 colours is way down his to-do list.
I can tell you this:
I recently dug out some old OpenGL rendering code and tried to merge it with ZDoom. And I can tell you: Getting the texture management to handle arbitrary palettes without remapping them and fonts to use the full color information instead of mapping them to the base palette was a real fight against the code because it assumes throughout that all it has is 8-bit data with only one global palette. Needless to say that this doesn't make it easy to use the actual PNG palette although GL doesn't restrict the number of colors.
I can't tell much about the rendering code itself but if it shows the same issues converting the software renderer to True Color will be some long and very tedious work and I can fully understand why Randy doesn't want to do it.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
16 bit with its extreme color banding looks much worse without dithering. This argument is pure nonsense. On modern graphics cards 16 bit isn't even as well supported as 32 bit so even the speed issue is probably only half as bad as you think.HobbsTiger1 wrote:Maybe 16-bit color would be nice (maybe). 32 bit color? No. Not needed or even a noticeably good improvement.
But IMO it's a total waste of programming time to remove the 8-bit limit just to needlessly impose a 16 bit limit which is also obsolete by now. It it is done it should be done right.
That is just a purely idiotic point of view. Sorry to be blunt but when I play an OpenGL game I'd like to play it in the best quality I can have and for Quake2 it makes a huge difference in quality to see it all undithered or not. Games that lock themselves to 16 bit, restrict the use of texture filtering and all the other nonsense I have seen just piss me off.For anything pre HL I think 32 bit color is silly, it detracts from the classicness of the gameplay, and doesn't always look good anyway.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
I know that view of mine is stupid, Graf. I must not have been thinking straight at the time (please note that all messages before 9:30 PM GMT are typed at school and I'm trying to do work for my compy classes and type at the same time, I know it's not an excuse, but...)
Anyway, what I had meant to say was that IMHO 16 or 32 bit color detracts from the Doom feeling of the game. If your playing a direct 3D port or GL port (I forgot what jDoom was so I put in D3D), thats just fine. In a port like ZDoom or, to go back further Boom, it just makes the game feel less like Doom than it already feels (And as pull up my notebook I find PRBoom, at least does have color support beyond 8 bit so don't remind me).
Also you mentioned Quake 2 as an example of how it should look in best quality. If that came out before Half-Life, sorry for the screwup. I never owned Q2, but thought it came out sometime soon after Half-Life. My apologies.
EDIT: Don't be sorry for being blunt. I can't stand it when people always "beat around the bush."
Anyway, what I had meant to say was that IMHO 16 or 32 bit color detracts from the Doom feeling of the game. If your playing a direct 3D port or GL port (I forgot what jDoom was so I put in D3D), thats just fine. In a port like ZDoom or, to go back further Boom, it just makes the game feel less like Doom than it already feels (And as pull up my notebook I find PRBoom, at least does have color support beyond 8 bit so don't remind me).
Also you mentioned Quake 2 as an example of how it should look in best quality. If that came out before Half-Life, sorry for the screwup. I never owned Q2, but thought it came out sometime soon after Half-Life. My apologies.
EDIT: Don't be sorry for being blunt. I can't stand it when people always "beat around the bush."
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
You won't talk like this anymore if you have seen a software renderer that doesn't lose color precision with diminishing light. The thing I like least about Doom is how the red stones turn brown when getting darker. In dark red they look much better! And of course a softer light gradient would be another positive thing.HobbsTiger1 wrote: Anyway, what I had meant to say was that IMHO 16 or 32 bit color detracts from the Doom feeling of the game. If your playing a direct 3D port or GL port (I forgot what jDoom was so I put in D3D), thats just fine. In a port like ZDoom or, to go back further Boom, it just makes the game feel less like Doom than it already feels (And as pull up my notebook I find PRBoom, at least does have color support beyond 8 bit so don't remind me).
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
@ Graf: Hmm, I'm willing to give it a shot. OK since I have Pre-Calculus next period and we are going to have a substitute I'll pull out my notebook and play PRBoom with the color settings turned up, and all the rest of the graphic options turned up (it's not as though anyone cares). I'll get back to you after I'm back home. Thats about the best I can do, aside from just giving up on my own opinion without my own proof I'm wrong.
- Chris
- Posts: 2942
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
I don't think adding 16/32 bit color would remove 8-bit color, if you really wanted to retain the classic feel. If you want to see what 32-bit color could be like, start up ZDoomGL and use GL_NEAREST filtering with no anisotropy or antialiasing or other hardware effects.Anyway, what I had meant to say was that IMHO 16 or 32 bit color detracts from the Doom feeling of the game.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
After playing with higher color in PRBoom I can see whre the option of a higher color depth would be nice. I suppose it's a matter of personal preference whether or not you wan't a higher color depth. But as for me I'm going to stick with 8-bit no matter what shows up. I know it's stubborn and foolish, but I like it just the way it is and after giving it an honest shot I don't really like more color.