Commit Graph

414 Commits

Author SHA1 Message Date
Steven Robertson
b081bc9378 Remove a sync from iter.
A small but consistent improvement.
2011-10-11 14:56:23 -04:00
Steven Robertson
095936666e Actually asynchronous rendering.
This change didn't affect GPU performance at all, but it did improve CPU
startup time, and should also improve time for long-running animations.
2011-10-11 11:27:40 -04:00
Steven Robertson
8c7e86c7c7 Fixed fraction to not exceed range 2011-10-11 11:26:38 -04:00
Steven Robertson
618b51b1b1 Speed enhancement: alpha packing.
When the alpha channel is used in a color palette, the code now replaces
the blue channel in the accumulation buffer with a pair of two U16s,
which encode the values of the blue and alpha channels as a fraction of
the value of the density. When the alpha channel is always 1.0, the blue
channel works as normal. Density is now always the last element in the
accumulation buffer.

Eliminating the separate IO operations improved total runtime by more
than 30% on my card, while the extra calculations reduced that to 20%
when alpha was present (though that can be optimized further).
2011-10-11 09:57:37 -04:00
Steven Robertson
a052f7f4c5 Add README 2011-10-03 17:37:32 -04:00
Steven Robertson
6959729ea1 Add quick debug option 2011-10-03 17:10:38 -04:00
Steven Robertson
46c6074b92 Use C++ pass-by-reference to explicitly share. 2011-10-03 16:53:29 -04:00
Steven Robertson
72dbae1ebe Done. The Boost version is much faster, alas. 2011-08-31 13:24:44 -04:00
Steven Robertson
83704dd303 Fine performance, but the scan's mis-ordering is worse than I thought. 2011-08-31 10:39:01 -04:00
Steven Robertson
638d068a00 Promising performance here. 2011-08-27 12:56:06 -04:00
Steven Robertson
82344d7760 Additional progress on sorting types 2011-08-26 11:08:18 -04:00
Erik Reckase
851980f682 mobius d params were missing 2011-07-06 12:47:03 -06:00
Steven Robertson
18a60ec066 Major bugfix. Also include thread-swapping that works. 2011-06-25 20:37:08 -04:00
Erik Reckase
44f897f28e fixed enable/disable chaos 'if chain' in iter kernel function 2011-06-24 09:59:14 -06:00
Erik Reckase
b732a3c244 now the chaos 'if chain' is only used if there are non-unity chaos entries in the genome. 2011-06-24 08:18:08 -06:00
Erik Reckase
50b664b1f9 chaos support \0/ 2011-06-24 06:09:04 -06:00
Erik Reckase
bc2aa00e2a removed stray debug printfs 2011-06-21 11:24:06 -06:00
Erik Reckase
addad052b1 closes 11 - all black pixels with non-zero density were not being handled properly. 2011-06-21 11:22:20 -06:00
Erik Reckase
981de94be5 added <stdio.h> for printf support in cuda code 2011-06-21 11:17:11 -06:00
Erik Reckase
90948704d1 pre_ variation support 2011-06-20 14:08:56 -06:00
Erik Reckase
f14d56558c added support for 'pre_' variations 2011-06-20 14:08:19 -06:00
Erik Reckase
746185ce4d added support for pre_blur. all variations that start with 'pre_' will be applied to the
output of the affine transform before the other variation contributions are calculated.
2011-06-20 14:05:00 -06:00
Steven Robertson
449f7d9374 Add two new kinds of prefix scan; one slower, one faster 2011-06-19 20:33:34 -04:00
Steven Robertson
0813bacebe Added first prefix-scan tests. 2011-06-19 18:13:39 -04:00
Steven Robertson
c66cb463d4 Add background color support, and tentatively disable density blurring. 2011-06-19 00:30:54 -04:00
Steven Robertson
883de380fc Did check. It is right. 2011-06-18 22:30:09 -04:00
Erik Reckase
98fb376545 fixed extra ) in var59 2011-06-17 16:36:27 -06:00
Erik Reckase
f684f90956 fixed a few more variations 2011-06-17 13:00:57 -06:00
Erik Reckase
3ee437d9b2 more fixes for variations...just about have all of the written ones validated. 2011-06-17 10:24:13 -06:00
Erik Reckase
6cd4f328f0 fixes for various variations 2011-06-16 21:25:06 -06:00
Steven Robertson
9e74ff57ce Fix julia variation. Closes issue 10. 2011-06-16 13:42:17 -04:00
Erik Reckase
8a3365712c fixed super_shape 2011-06-16 10:23:47 -06:00
Erik Reckase
e05d43fc57 fixed pie variation. 2011-06-16 06:50:26 -06:00
Erik Reckase
e83e67b440 fixed waves variation. 2011-06-16 05:34:46 -06:00
Erik Reckase
842efb6317 more variation fixes, syntax errors and so on. 2011-06-15 20:21:40 -06:00
Steven Robertson
702e303509 Gaussian dither 2011-06-13 23:20:39 -04:00
Steven Robertson
18ca9cf2f9 Higher-quality JPEG conversions 2011-06-13 23:20:18 -04:00
Steven Robertson
e579c837ce Missed a double in the filtering 2011-06-13 00:50:41 -04:00
Steven Robertson
5ebf62b1a3 Reduce some double-precision constants 2011-06-13 00:48:31 -04:00
Erik Reckase
131ce96263 fixed some missing ; in the variation code. 2011-06-12 21:53:33 -06:00
Steven Robertson
ae914d0b81 Fix some animation bugs 2011-06-12 20:20:36 -04:00
Steven Robertson
89b6732752 Skip the final xform when (re)joining the attractor 2011-06-12 19:29:10 -04:00
Steven Robertson
9a8e57cbc6 Fix a type error when gamma linearization == 0 2011-06-12 19:18:47 -04:00
Steven Robertson
9f2bc49009 Clean up some leftover debugging code in filtering 2011-06-12 19:17:02 -04:00
Steven Robertson
f872baf844 Use much more accurate filtsum estimation polynomials 2011-06-12 17:37:57 -04:00
Steven Robertson
e9998c28da Re-add a hard clamp for an estimator minimum.
The value 0.4 is above what it should be (0.3 is the theoretical minimum), and
having the harder clamp threshold causes some problems, but fixes others.
There's a deeper bug here.
2011-06-11 23:39:51 -04:00
Steven Robertson
299b5d5dab Fix filtering - or at least make it less broken 2011-06-11 23:28:32 -04:00
Steven Robertson
6b09e162a3 Make DE use current center CP instead of anim-wide CP; start debugging color 2011-06-11 22:51:16 -04:00
Steven Robertson
7ff0b65d81 Fix improper gutter offset in camera computation 2011-06-11 17:58:08 -04:00
Steven Robertson
38fbc391e8 Add gamma linearization (may be incorrect) 2011-06-11 17:50:15 -04:00