Highpalookup: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
|||
Line 26: | Line 26: | ||
*[[build tools|BUILD Customization Suite (bsuite)]], outputs palettes in Paint Shop Pro .pal plain-text format | *[[build tools|BUILD Customization Suite (bsuite)]], outputs palettes in Paint Shop Pro .pal plain-text format | ||
*[http://www.gimp.org/downloads/ The GIMP], reads .pal and is open source FTW | *[http://www.gimp.org/downloads/ The GIMP], reads .pal and is open source FTW | ||
===TUTORIAL=== | ===TUTORIAL=== | ||
'''The making of: Highpal lookup tables''' | '''The making of: Highpal lookup tables''' | ||
*[[File:highpal_tutorial.7z|highpal_tutorial.7z]] PDF file | *[[File:highpal_tutorial.7z|highpal_tutorial.7z]] PDF file |
Latest revision as of 12:05, 11 January 2013
A high-palette look-up table (abbreviated "highpalookup" or just "highpal") is used by the Polymer renderer to replicate the software renderer's 8-bit palette swaps on 32-bit assets such as models and high resolution textures.
SAMPLE CODE
// SLIMEPAL (and night vision) highpalookup { basepal 2 pal 0 file "highpal/pal_00n.png" }
This line of code is from the HRP. It declares the basic night vision palette. More examples can be seen here.
THE MAKING OF
This is an advanced modding project. As such, it requires understanding of some basic concepts.
REQUIRED READING
- Wikipedia:HSL and HSV
- http://forums.duke4.net/topic/3191-new-polymer-feature-highpalookup-maps/
- http://advsys.net/ken/evaltut/evaldraw_tut.htm
- rotatesprite
- DEF Language
REQUIRED TOOLS
- EVALDRAW
- EVALDRAW Highpal Generation Script
- BUILD Customization Suite (bsuite), outputs palettes in Paint Shop Pro .pal plain-text format
- The GIMP, reads .pal and is open source FTW
TUTORIAL
The making of: Highpal lookup tables
- File:Highpal tutorial.7z PDF file