Highpalookup: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Drek (talk | contribs)
Created page with "A highpal lookup table is used by the Polymer renderer to do what the software renderer does with the 8bit palette.dat and lookup.dat [http://wiki.eduke32.com/wiki/Palette_dat..."
 
Drek (talk | contribs)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A highpal lookup table is used by the Polymer renderer to do what the software renderer does with the 8bit palette.dat and lookup.dat [http://wiki.eduke32.com/wiki/Palette_data_files] Except this now applies to 32bit art such as models and high res textures.
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 (environment)|palette swaps]] on 32-bit assets such as models and high resolution textures.


==SAMPLE CODE==
==SAMPLE CODE==


// SLIMEPAL (and nightvision)
// SLIMEPAL (and night vision)
highpalookup { basepal 2 pal 0 file "highpal/pal_00n.png" }


highpalookup { basepal 2 pal 0 file "highpal/pal_00n.png" }
This line of code is from the [http://hrp.duke4.net/ HRP]. It declares the basic night vision palette. More examples can be seen [http://svn.eduke32.com/polymer_hrp/highpal/highpal.def here].
 
*This line of code is from the Polymer HRP [http://hrp.duke4.net/] It declares the basic nightvision palette
 
----


==THE MAKING OF==
==THE MAKING OF==
*This is an advanced modding project and requires understanding of some more basic aspects.
====REQUIRED READING====
http://en.wikipedia.org/wiki/HSL_and_HSV
http://forums.duke4.net/topic/3191-new-polymer-feature-highpalookup-maps/
http://advsys.net/ken/evaltut/evaldraw_tut.htm
http://wiki.eduke32.com/wiki/Rotatesprite
http://wiki.eduke32.com/wiki/DEF_Language
====REQUIRED TOOLS====
http://advsys.net/ken/download.htm '''EVALDRAW'''


http://lzg.duke4.net/clutstat.zip '''EVALDRAW SCRIPT'''
This is an advanced modding project. As such, it requires understanding of some basic concepts.


http://www.jonof.id.au/bcs '''BUILD CUSTOMIZATION SUITE'''
===REQUIRED READING===
*Output paint shop pro palette .pal


http://www.gimp.org/downloads/ '''THE GIMP'''
*[[Wikipedia:HSL and HSV]]
*Reads .pal and is open source FTW
*http://forums.duke4.net/topic/3191-new-polymer-feature-highpalookup-maps/
*http://advsys.net/ken/evaltut/evaldraw_tut.htm
*[[rotatesprite]]
*[[DEF Language]]


http://www.fraps.com/ '''FRAPS'''
===REQUIRED TOOLS===
*Or some other screen capture tool
*[http://advsys.net/ken/download.htm EVALDRAW]
*[http://lzg.duke4.net/clutstat.zip EVALDRAW Highpal Generation Script]
*[[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


====TUTORIAL====
===TUTORIAL===
Coming soon.
'''The making of: Highpal lookup tables'''
*[[File:highpal_tutorial.7z|highpal_tutorial.7z]] PDF file

Latest revision as of 13: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

REQUIRED TOOLS

TUTORIAL

The making of: Highpal lookup tables