Steven Robertson
f5ef30bc1b
Clean up some filter code
2012-04-16 00:39:22 -07:00
Steven Robertson
f3c2186137
Small fixups
2012-04-14 23:44:10 -07:00
Steven Robertson
44869cc9ea
Remove stray debugging statements
2012-04-14 23:42:38 -07:00
Steven Robertson
e7cb39b456
Fetch defaults when packing interped params
2012-04-14 22:57:11 -07:00
Steven Robertson
627bcf8921
Add blending with lookup. In theory.
2012-04-14 22:56:29 -07:00
Steven Robertson
a4178c60fb
Update the genome specs a bit
2012-04-14 22:55:00 -07:00
Steven Robertson
ee2d571e9d
Rename spec.py to specs.py (prevents clashes)
2012-04-14 22:48:10 -07:00
Steven Robertson
b53f703e6e
Checkpoint! Renders again. Many fixes outstanding.
2012-04-10 08:44:25 -07:00
Steven Robertson
9aa1a94aa1
Experimental HaloClip filter.
2012-04-06 21:33:17 -07:00
Steven Robertson
c57917abe6
Use a unified block and grid addressing scheme.
2012-04-06 21:24:25 -07:00
Steven Robertson
eca8a8e1d3
Factor texrefs out of bilateral filter.
...
This also corrects the fact that denblurlib wouldn't compile without
bilaterllib.
2012-04-06 21:17:31 -07:00
Steven Robertson
b1b09c4bde
Fix filter width/offset in density blur.
...
Fun fact: static initializers of the wrong length are filled with zeros
or whatever. Thanks, C! (This fixes some of the anisotropy which you can
kinda see all over the place with the bugged filtering. Very subtle but
still important to fix.)
2012-04-06 21:08:44 -07:00
Steven Robertson
5d3b290c43
Fix typo
2012-03-18 17:29:34 -07:00
Steven Robertson
460387ef91
Use alternate behavior in presence of NaNs
2012-03-18 17:29:02 -07:00
Steven Robertson
ea43e312e4
Avoid overflow in exponential var.
2012-03-18 14:58:25 -07:00
Steven Robertson
3ee4640001
Hack: add magnitude scaling to affine coeffecients
2012-03-16 20:51:50 -07:00
Steven Robertson
f5356b571b
Fix handling of optional values in XML import
2012-03-16 20:51:50 -07:00
Steven Robertson
e726511c5a
Fix print_interp_knots debugging helper
2012-03-16 20:51:50 -07:00
Steven Robertson
92b1a27e8f
Fix improper seed re-storage
2012-02-16 23:38:35 -05:00
Steven Robertson
66e02db155
Fix potential palette glitch on one-palette anims
2012-02-16 23:38:17 -05:00
Steven Robertson
5a91d9f96c
Hang on to old modules to avoid syncing
2012-02-15 10:07:47 -05:00
Steven Robertson
88abefa4f4
Fix rb_incr() when blockDim.y == 1.
2012-02-15 10:06:35 -05:00
Steven Robertson
b6dfd2d980
Fix (same) logic error in RenderManager.render()
2012-02-14 10:30:34 -08:00
Steven Robertson
60a45c9a20
Sweeping refactor. More bugs undoubtedly remain.
2012-02-14 07:40:58 -08:00
Steven Robertson
1f2f61fd3a
Fix SplEval.insert_knot; add .update
2012-01-31 12:13:45 -05:00
Steven Robertson
c01d52ba24
Fix scaling spatial std on output width
2012-01-31 12:10:15 -05:00
Steven Robertson
6fba14e2f7
Okay, now I'm satisfied.
2012-01-29 18:49:19 -05:00
Steven Robertson
387dfd9f8c
More experiments
2012-01-28 13:20:48 -05:00
Steven Robertson
7c37b2b688
Use box filtering
2012-01-28 13:20:20 -05:00
Steven Robertson
899b8082da
Expose options on filter
2012-01-26 05:34:43 -05:00
Steven Robertson
a4b482f61a
Fix reversed angle factor. Ugh.
2012-01-25 12:25:56 -05:00
Steven Robertson
b4132c7cd9
Absurdly complicated enhancements to filtering.
2012-01-22 23:57:03 -05:00
Steven Robertson
c572f62d7d
Use YUV during accumulation
2012-01-22 23:56:16 -05:00
Steven Robertson
c054c757bd
Limit the maximum number of separate xf buffers
2012-01-22 23:52:09 -05:00
Steven Robertson
45b75d3fa5
Experimental bilateral filtering.
2012-01-21 00:06:15 -05:00
Steven Robertson
a803216551
Move argset to code.util
2012-01-21 00:03:28 -05:00
Steven Robertson
acbde65b9f
Don't call set_format after set_address_2d
2012-01-20 11:22:27 -05:00
Steven Robertson
1398706886
Remove SS from DE, and improve performance.
2012-01-20 11:17:07 -05:00
Steven Robertson
e1914a9c87
Clamp min to 0 in colorclip (for wavelet et al)
2012-01-20 09:23:46 -05:00
Steven Robertson
1ff0deb16b
Fix 'waves' variation
2012-01-15 20:25:37 -05:00
Steven Robertson
a97b53d4bd
Allow use of 'prex' in precalc statements
2012-01-15 20:25:12 -05:00
Steven Robertson
933e5e50b3
Support arc, offset when importing XML loops
2012-01-15 12:49:26 -05:00
Steven Robertson
830c788263
Use newer-format 'link' property
2012-01-15 12:47:56 -05:00
Steven Robertson
f3bf16f18a
Reduce the minimum blur radius
2012-01-10 10:36:26 -05:00
Steven Robertson
7825b006b4
Stamp out pre-echo (hopefully)
2012-01-09 23:39:07 -05:00
Steven Robertson
8c29212821
Experimental supersampling and DE changes
2012-01-09 21:15:05 -05:00
Steven Robertson
11c729d370
Apply edge clamping a little more forcefully
2012-01-09 14:08:32 -05:00
Steven Robertson
7f745d74cd
Use np.unwrap (same idea as monotonify())
2012-01-09 10:17:53 -05:00
Steven Robertson
728df3ace6
Add test routine for splines
2012-01-09 10:17:30 -05:00
Steven Robertson
808bd66138
Add SplEval.insert_knot()
2011-12-28 15:39:17 -05:00
Steven Robertson
de56383a61
Add new palette modes; use 'yuv' by default.
2011-12-23 09:50:03 -05:00
Steven Robertson
693a7a6dc3
Go back to smaller dither radius factor
2011-12-21 16:20:41 -05:00
Steven Robertson
22c1ec872c
Fix velocity matching
2011-12-21 16:20:07 -05:00
Steven Robertson
09725ba794
Correct dither fail.
2011-12-21 11:59:40 -05:00
Steven Robertson
84b8f7d459
Don't add empty author URLs
2011-12-19 16:38:55 -05:00
Steven Robertson
6bf1800a17
Use six digits instead of eight
2011-12-19 16:38:33 -05:00
Steven Robertson
644ca7f62d
Add velocity-matching to SplEval
2011-12-19 16:37:55 -05:00
Steven Robertson
9972d48ba0
Fix some annoying but trivial whitespace issues
2011-12-18 21:53:26 -05:00
Steven Robertson
e9c9cd7db4
Support symmetry element when importing XML
2011-12-18 21:42:05 -05:00
erik
6228b1bb64
added chaos support to genome reading
2011-12-18 15:14:39 -07:00
Steven Robertson
303accad16
Whoops, got 'symmetry' backwards
2011-12-17 21:07:22 -05:00
Steven Robertson
ed0f3f6810
Use string keys for dict
...
Otherwise, loading the result of a conversion immediately without
converting to JSON first fails.
2011-12-17 21:06:45 -05:00
Steven Robertson
201f5b0963
Fix palette encoding
2011-12-17 21:06:00 -05:00
Steven Robertson
f057108360
Change a method's arguments arbitrarily
2011-12-17 20:31:01 -05:00
Steven Robertson
4ab18c06e0
Name a few more templates
2011-12-17 20:30:21 -05:00
Steven Robertson
5d2b4e47dd
Parse XML genomes (merged from flockutil)
2011-12-17 18:46:02 -05:00
Steven Robertson
529bf48982
Use functions for palette instead of silly objects
2011-12-17 18:45:33 -05:00
Steven Robertson
3b29bb2dc2
Drop stale fr0stlib dependency
2011-12-17 17:24:32 -05:00
Steven Robertson
5c1f057bae
Remove stray print statement
2011-12-17 09:40:59 -05:00
Steven Robertson
c80b8a07a7
Another incompatible update to the genome format
2011-12-17 09:23:39 -05:00
Steven Robertson
ed885534d6
Relativize some imports, remove unnecessary typing
2011-12-17 09:22:27 -05:00
Steven Robertson
f5e4443004
Handle primes.bin automatically
2011-12-16 12:13:55 -05:00
Steven Robertson
b43481e374
New genome format to support flockutil
2011-12-15 11:11:05 -05:00
Steven Robertson
12655b8611
Make DE better
2011-12-10 16:24:49 -05:00
Steven Robertson
c59829ad86
Fix buffer overflow
2011-12-10 16:23:24 -05:00
Steven Robertson
411d8b6263
Be more conservative in running overflow check
2011-12-10 12:42:40 -05:00
Steven Robertson
2e4e525d49
Use atomic by default (I'm sold)
2011-12-10 12:32:12 -05:00
Steven Robertson
6c50e6dadc
New atomic write mode
2011-12-10 12:18:00 -05:00
Steven Robertson
a0fd3f965f
More template names
2011-12-10 12:16:42 -05:00
Steven Robertson
a509e58b43
Fix overflow-related bug (hopefully)
2011-12-09 18:46:40 -05:00
Steven Robertson
c5da1efc74
Lockless lossy shared memory writeback.
...
Barely tested! And yet it's going straight into master. Lucky you!
2011-12-09 16:13:23 -05:00
Steven Robertson
6bac3b3a95
Use reordered, lossy bit handling
2011-12-09 14:14:36 -05:00
Steven Robertson
b592cda3db
Fix potential bug in binsearch
2011-12-09 14:14:00 -05:00
Steven Robertson
d3ee6f36c2
Flat (pre-packed int) palettes in deferred mode.
2011-12-08 20:55:07 -05:00
Steven Robertson
b76208078f
Deferred works again. Time to break it.
2011-12-08 15:28:10 -05:00
Steven Robertson
e106524701
Fix code in comment
2011-12-08 13:24:10 -05:00
Steven Robertson
e006ec1915
Slight tweak to clamp thresholds
2011-12-08 12:13:58 -05:00
Steven Robertson
b73461132c
Use consts for image size instead of immediates.
...
This saves us from having to recompile if the frame size changes.
2011-12-08 12:07:22 -05:00
Steven Robertson
084a65c615
Go back to using global accum for now
2011-12-08 11:50:46 -05:00
Steven Robertson
df8100d1f4
Use new mad.cc instruction in MWC
2011-12-08 11:49:31 -05:00
Steven Robertson
094df0ae21
Name the variation templates for debugging
2011-12-08 11:48:38 -05:00
Steven Robertson
e79d9a58fd
Fix cschden, cothden variations
2011-12-07 13:41:45 -05:00
erik
5ce5763da7
changed sense (and name) of values for affine xforms to match smoulder renders.
2011-11-23 07:54:48 -07:00
Steven Robertson
22fdc98128
Fix point swapping.
2011-11-20 10:08:13 -05:00
erik
efd261bd5b
fixes related to interpolation of palettes; hsv interpolation now goes
...
the 'short way' around the hue circle, and the correct palette is now
chosen when > 2 palettes are present in the knots.
2011-11-14 19:12:41 -07:00
Steven Robertson
0f848b8bb8
Dither color when packing for deferred write.
2011-11-12 11:06:44 -05:00
Steven Robertson
6d1c81486c
Don't inline catmull_rom for much faster compiles.
2011-11-12 11:05:44 -05:00
Steven Robertson
24c0c8ee56
Fix some color foibles (more yet remain)
2011-11-12 10:42:02 -05:00
Steven Robertson
9ef5363652
Fix dumb overflow bug
2011-11-11 17:54:33 -05:00
Steven Robertson
eb43b151dc
Deferred writeback.
2011-11-11 17:37:27 -05:00
Steven Robertson
05e1d08681
Add -1-skipping to sort.
2011-11-11 17:34:43 -05:00
Steven Robertson
54f411878b
Experiments with multi-pass sort (still has bugs)
2011-11-10 10:49:35 -05:00
Steven Robertson
13842196ea
Generalize the sort.
2011-11-09 12:00:59 -05:00
Steven Robertson
3147fd40d2
Support CUDA 4.1. Split filtering into new module.
...
The new toolkit generates code for filtering which uses too many
registers, so this change splits filtering into its own module so that
it can have separate register usage limits during compiling. As a bonus,
this should improve startup time in general, since the filtering code
is now fixed and does not need to be recompiled.
2011-11-08 14:38:45 -05:00
Steven Robertson
cea91d75bf
A very fast key-only radix sort.
2011-11-07 23:23:20 -05:00
Steven Robertson
7815c13ba4
Fix camera offset WRT flam3
2011-11-06 10:01:26 -05:00
erik
5179c98254
fixed flawed lazysusan variation. added whorl variation.
2011-11-03 13:31:32 -06:00
erik
3badf0f826
Merge branch 'master' of git://github.com/stevenrobertson/cuburn
...
Conflicts:
cuburn/code/filtering.py
2011-11-03 13:27:31 -06:00
erik
8ea057ff96
fixed highlight_power functionality difference between cuburn and smoulder
2011-11-03 13:18:43 -06:00
Erik Reckase
d382e0f14a
Fix highlight power
2011-10-31 17:20:13 -04:00
Steven Robertson
b240fc8459
Use custom "cross" filtering.
...
Sobel was giving too many false positives. This cross seems to detect
the kinds of edges we care about and avoids the rest of the image, and
it does so on pretty much everything I've tried it on. Very satisfying.
2011-10-29 17:36:06 -04:00
Steven Robertson
0936e34b88
Fix cards stalling out on degenerate flames
2011-10-29 11:14:11 -04:00
Steven Robertson
6204f36ebc
Fix spline derivative calculation.
2011-10-29 10:51:33 -04:00
Steven Robertson
bfff915b7e
Two very obvious spline bugs fixed.
2011-10-28 21:34:42 -04:00
Steven Robertson
28e73d08ee
Add derivative support to SplWrap.
2011-10-28 18:51:33 -04:00
Steven Robertson
a2c4c90cb2
Upgrade fuse, because, well, why not?
2011-10-28 08:41:20 -04:00
Steven Robertson
a6177edc0d
Drop the RNG mult shuffle.
...
It's surprisingly time-consuming, and until I have data showing that we
need it, I'm going to leave this bit of extra randomness voodoo out.
2011-10-28 08:36:27 -04:00
Steven Robertson
185823ad55
Rearrange the main render loop... again.
...
Using one stream with two pagelocked host buffers allows us to keep the
GPU work queue full without pegging the CPU, and also reduces the
incidences where a host buffer will get overwritten before it can be
written. devtid() was flaky, so this patch also introduces a ringbuffer
to handle the 'slots' concept. It also introduces an adaptive number of
temporal samples, which improves efficiency but also killed the
assumption that (ntemporal_samples % 256 == 0), which required some
additional fixes.
2011-10-28 08:30:36 -04:00
Steven Robertson
15f88383b1
Experimental: real Sobel gradient detection
2011-10-28 08:25:00 -04:00
Steven Robertson
9b2b3ba011
Fix buffer overrun in filtering
2011-10-28 08:24:16 -04:00
Steven Robertson
6b2cb024ac
Expand max filter radius to 21 pixels
2011-10-28 08:23:33 -04:00
Steven Robertson
f3a79b200c
New badvals mechanism.
2011-10-27 12:59:58 -04:00
Steven Robertson
cac9b691a8
Add a missing semicolin in disc2
2011-10-27 10:37:12 -04:00
Steven Robertson
77daf5e639
Correct blur radius after Box-Muller
2011-10-27 10:36:44 -04:00
Steven Robertson
1faffa1d14
'fill_dptr' instead of 'zero_dptr'
2011-10-27 10:35:01 -04:00
Steven Robertson
3c1dac530b
Updates to run_job.py
2011-10-27 10:26:30 -04:00
Steven Robertson
5368a9254a
Clamp DE radius further.
...
The maximum standard deviation pushes far too hard into the limits of
the filter width, giving discrete points a weird boxy blur. The filter
slice width needs to be expanded, but that's a whole lot of coeffecient
debugging, and I'm putting it off by just reducing the maximum DE width
for now.
2011-10-27 08:58:51 -04:00
Steven Robertson
9049902b4f
Add a crap gradient detect to make DE less bad.
...
Use the vertical and horizontal gradients to "detect" when a pixel is
part of an edge that has been softened by grid-shift AA, and avoid
blurring it further. This causes occasional 1px artifacts in stills, but
fixes the truly grotesque DE bleed-out for a net win. A better edge
detector is still needed.
2011-10-27 08:51:40 -04:00
Steven Robertson
7c84c6a7a9
Final xform color *is* used after all
2011-10-27 08:46:55 -04:00
Steven Robertson
f650844cb9
Fix two variations
2011-10-26 08:11:10 -04:00
Steven Robertson
a8528a9e1d
Fix rgb2hsv
2011-10-26 08:10:57 -04:00
Steven Robertson
376cd752d6
Palette interpolation on device
2011-10-25 22:56:19 -04:00
Steven Robertson
e793527c29
A few harmless const modifiers
2011-10-25 22:49:26 -04:00
Steven Robertson
3436291eb6
Improve spline loading
2011-10-25 19:03:35 -04:00
Steven Robertson
fb5bdc2a9f
Remove now-unused pyflam3_hacks
2011-10-25 19:03:10 -04:00
Steven Robertson
8939a6343a
New genome representation, and device interp.
2011-10-25 15:44:39 -04:00
Steven Robertson
be31708c09
Fix memory corruption bug (overshoot in colorclip)
2011-10-25 15:43:05 -04:00
Steven Robertson
efc2ac23e2
Fix rendering at insane resolutions
2011-10-19 14:17:01 -04:00
Steven Robertson
20520d2f69
Open primes.bin in binary mode.
2011-10-17 19:31:09 -04:00
Steven Robertson
6c2df777b0
Remove a TODO
2011-10-16 13:52:01 -04:00
Steven Robertson
8ce2470dfb
Relax FUSE a little (no visible impact so far)
2011-10-16 13:45:27 -04:00
Steven Robertson
c4ce3cf4c2
Don't crash on empty render(times)
2011-10-16 13:44:22 -04:00
Steven Robertson
0cc904c4f1
Do post affine transforms. How did I miss this?
2011-10-16 13:43:46 -04:00
Steven Robertson
5111a0f05c
Eliminate needless pre_ var separation
2011-10-16 13:42:37 -04:00
Steven Robertson
9bafbda81a
Refactor host rendering code for better load
2011-10-15 22:22:43 -04:00
Steven Robertson
9ff018de87
Actually fix dithering. (I've seen this before...)
2011-10-15 19:08:16 -04:00
Steven Robertson
63483480d0
Bias the radius to avoid very large dither offsets
2011-10-15 00:50:24 -04:00
Steven Robertson
3be14547ea
Use 3*256 instead of 2*512 blocks; faster on GF104
2011-10-15 00:33:37 -04:00
Steven Robertson
c7728d3507
Add faster no-L1 accum
2011-10-15 00:32:30 -04:00
Steven Robertson
dd645bcbf6
Use one dither offset per block.
2011-10-15 00:29:22 -04:00