View Issue Details

IDProjectCategoryView StatusLast Update
0000195Gameplay + OpenGL[All Projects] Featurepublic2017-03-14 06:18
Reporterzrrion the insect 
Assigned To 
Status resolvedResolutionfixed 
Summary0000195: JASC palette support, other palette changes
DescriptionIt would be very useful to be able to use JASC palettes in place of PLAYPAL. They are easier to work with directly, instead of having to run an image through a converter.
They would also remove the 256 colour limit in everything but the 8 bit renderer, but a colour selection algorithm could be used to get the 256 most useful colours from the palette.
The shader that handles tone-mapping would probably also need to be changed to work with more than 256 colours.

Additionally, loading more than one palette would be useful in cases where redefining the entire palette is unnecessary as only a small number of colours outside of the IWAD palette are used.
Steps To ReproduceN/A
Additional InformationN/A





2017-02-06 13:28

reporter   ~0000412

Last edited: 2017-02-06 13:30

View 2 revisions

Just curious, what would be the use case for a palette with more than 256 colors? The sole purpose of using a palette is to speed the software renderer by drawing 8 bits instead of 32. And even then it's pretty useless now since QZDoom's multithreaded software rendering is faster in 32bit than non-multithreaded in 8bit, at the same resolution.

(perhaps this should be called "let's invent better and easier ways to use translation without limiting ourselves to PLAYPAL"?)

zrrion the insect

zrrion the insect

2017-02-06 14:01

reporter   ~0000413

Some users/designers like the "chunky" look that the software renderer has, and expanding the palette would allow for more colours while keeping the software look.

I hadn't even thought of translations but that is a good point as well.
Graf Zahl

Graf Zahl

2017-02-06 17:26

administrator   ~0000415

Not really important. Maybe later when I have more time.


2017-02-07 01:15

administrator   ~0000418

Last edited: 2017-02-07 01:19

View 2 revisions

What application allows you to select more than 256 colors in a palette?!

That being said reading and parsing a JASC file should be fairly straightforward but I am not sure I would want to support going beyond the traditional 8-bit. If you need more colors just load them in as truecolor images since you're using GZDoom anyway.

The next step up from 256 colors is naturally 65536 colors (aka 16-bit) - and at that point, you already have one bit more precision than rgb555 (which, funny enough, Windows used to actually display at that color depth) which is leering very close to true-color anyway.

If it's a file format that you're looking to support, that sounds more sensible than trying to hack the engine around some weird color palette setup.

Graf Zahl

Graf Zahl

2017-03-14 06:18

administrator   ~0000989

Only limited to 256 colors, because that's all that can be sensibly applied.

Issue History

Date Modified Username Field Change
2017-02-06 13:17 zrrion the insect New Issue
2017-02-06 13:17 zrrion the insect Tag Attached: Visual
2017-02-06 13:28 ZZYZX Note Added: 0000412
2017-02-06 13:30 ZZYZX Note Edited: 0000412 View Revisions
2017-02-06 14:01 zrrion the insect Note Added: 0000413
2017-02-06 17:26 Graf Zahl Status new => on hold
2017-02-06 17:26 Graf Zahl Note Added: 0000415
2017-02-07 01:15 Rachael Note Added: 0000418
2017-02-07 01:19 Rachael Note Edited: 0000418 View Revisions
2017-03-14 06:17 Graf Zahl Status on hold => resolved
2017-03-14 06:17 Graf Zahl Resolution open => fixed
2017-03-14 06:18 Graf Zahl Note Added: 0000989