summaryrefslogtreecommitdiff
path: root/palettes.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-24Add improvecolors commandLars-Dominik Braun1-105/+84
Also fixes try_colors, which used an integer division *before* casting the result to double.
2015-05-10Use built-in palettesLars-Dominik Braun1-5/+13
This increases the binaries’ size, but we don’t have to parse the palette file every time.
2015-05-02Store pointer to array element onceLars-Dominik Braun1-1/+1
Instead of indexing the array over and over
2015-05-02Another massive cleanupLars-Dominik Braun1-69/+2
Drops unused functions, fixes function visibility.
2015-05-02Rewrite color palettesLars-Dominik Braun1-175/+112
Supports palettes with != 256 colors properly now. A lot of old code still (silently!) relies on that number though.
2015-05-02Rename project to “pucket”Lars-Dominik Braun1-1/+0
2015-05-02Fix colormap segfaultLars-Dominik Braun1-2/+3
The segfaults due to unaligned vector access should have happened before the recent changes. Not sure why it worked before. Reverts colormap vectorization. This is going to be restored once I rework the colormaps.
2015-05-02Switch to OpenMPLars-Dominik Braun1-5/+7
Replaces quality (target density) parameter with time limit. In preparation for rendering resumption.
2015-05-02Drop progress printing from rendering threadLars-Dominik Braun1-2/+2
2015-05-02Drop fieldLars-Dominik Braun1-1/+1
2015-05-02Drop temporal filter/passesLars-Dominik Braun1-5/+0
2015-05-02Drop oversamplingLars-Dominik Braun1-2/+0
Just scale it down.
2015-05-02Vectorize color clippingLars-Dominik Braun1-1/+1
Replaces redundant code with one function. Oddly this fixes rendering with earlyclip – not sure why. Drop transparency and channel settings (always transparent, always four channels).
2015-05-02Use floating point color values in [0,1]Lars-Dominik Braun1-15/+15
Internal color representation is [0,1] now for every channel.
2015-05-02Remove all uses of getenvLars-Dominik Braun1-2/+1
Not much functionality lost here. Move on.
2015-05-02Improve command line interfaceLars-Dominik Braun1-1/+0
Initial arguments-based cli, replacing the three tools -animate, -genome and -render with just one. Still need to get rid of most calls to getenv.
2015-05-02Vectorize accumulationLars-Dominik Braun1-39/+24
Also vectorizes some color functions and switches to double accumulation buffer. Does not seem to be slower.
2015-05-02Drop density estimatorLars-Dominik Braun1-2/+0
First of all, it does not look too pretty. But more importantly now we can reduce the bucket size to four (instead of five) and vectorize that stuff.
2015-05-02Unify prng useLars-Dominik Braun1-14/+13
Finally drop all isaac references, do not use system rng any more. Drop rng state from flam3_frame – it was not used anyway.
2015-05-02Move to wafLars-Dominik Braun1-1/+1
2015-05-02Move out of subdirLars-Dominik Braun1-0/+506