[Scummvm-devel] cost of palette changes

Robert Špalek rspalek at gmail.com
Mon Jun 28 22:32:52 CEST 2010


hi guys,

yesterday I implemented palette fading when entering and leaving a location
in Dragon History, because that's what the original player does.  it runs
nicely on my desktop, but I'm not sure how expensive it is on pocket
devices.  with 8-bit colors the palette change is cheap, but with True-Color
everything needs to be recomputed.  can anyone tell me what the rule of
thumb is?  I'm fading the palette in 15 phases in less than a second, but I
can decrease the number of phases.

btw, I've started working on compressing the original dubbing into MP3's et
al., and it looks pretty simple.  I like Common::Archiver and its ability to
parse ZIP files and that's what I will use.

best,
-- 
Robert Špalek <rspalek at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20100628/1c3026bf/attachment.html>


More information about the Scummvm-devel mailing list