Brecht Van Lommel
fe00dbcc23
Fix cycles motion pass for hair curves showing a bit of motion when there isn't any.
2014-05-09 17:14:13 +02:00
Campbell Barton
8d16869d83
Code cleanup: Add -Werror=float-conversion to Cycles
2014-05-03 07:31:46 +10:00
Campbell Barton
a2489e29f6
Code cleanup: style, unused import
2014-04-28 00:19:15 +10:00
Brecht Van Lommel
6b9ca06088
Cycles: some tiny hair intersection optimizations that help maybe 2%.
2014-04-23 01:35:28 +02:00
Brecht Van Lommel
0f85174d50
Fix occasional wrong normal for curves with minimum width.
...
This caused a couple of fireflies in koro_final.blend. The wrong normal would
cause the shading point to be set as backfacing, which triggered another bug
with hair BSDFs on the backface of hair curves. That one is not fixed yet but
there's a comment in the code about it now.
2014-04-23 01:35:27 +02:00
Sv. Lockal
e7c2578576
Cycles: avoid 1.0f/(1.0f/x) divisions, which msvc (only) can't optimize.
...
This makes bmw scene in msvc 12 builds 6% faster.
It also gives a minor speedup for SSE hair in all compilers.
2014-04-03 22:08:53 +04:00
Brecht Van Lommel
393216a6df
Cycles code refactor: move more code to geom folder, add some comments.
2014-03-29 13:03:48 +01:00
Brecht Van Lommel
e8b1cfed0a
Cycles code refactor: replace magic ~0 values in the code with defines.
2014-03-29 13:03:47 +01:00
Brecht Van Lommel
e2184c653e
Cycles: add support for curve deformation motion blur.
2014-03-29 13:03:47 +01:00
Brecht Van Lommel
0509553b5e
Cycles code refactor: changes to make adding new primitive types easier.
2014-03-29 13:03:46 +01:00
Brecht Van Lommel
24ad7e0bea
Cycles code refactor: add support for motion vertex attributes.
2014-03-29 13:03:46 +01:00
Brecht Van Lommel
41d1675053
Cycles code refactor: move more geometry code into per primitive files.
2014-03-29 13:03:45 +01:00
Brecht Van Lommel
84470a1190
Cycles code refactor: move geometry related kernel files into own directory.
2014-03-29 13:03:45 +01:00