From 5402838a74c7a09db4899602886965b7e532b7a7 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Mon, 15 May 2017 00:41:30 -0700 Subject: [PATCH] Disable ill-thought-through form of antialiasing --- cuburn/code/iter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cuburn/code/iter.py b/cuburn/code/iter.py index b2ec107..2fd016e 100644 --- a/cuburn/code/iter.py +++ b/cuburn/code/iter.py @@ -172,11 +172,14 @@ iter(uint64_t out_ptr, uint64_t atom_ptr, mwc_st rctx = msts[this_rb_idx]; {{precalc_camera(cp.camera._precalc())}} +{{if jitter_buckets}} if (threadIdx.y == 5 && threadIdx.x == 4) { float ditherwidth = {{cp.camera.dither_width}} * 0.5f; {{cp.camera.xo}} += ditherwidth * mwc_next_11(rctx); {{cp.camera.yo}} += ditherwidth * mwc_next_11(rctx); } +{{endif}} + int time = blockIdx.x >> 4; float color_dither = 0.49f * mwc_next_11(rctx); @@ -547,6 +550,7 @@ def iter_body(cp): # TODO: detect this properly and use it chaos_used = False + jitter_buckets = False vars = globals() vars.update(locals())