Age | Commit message (Collapse) | Author |
|
* Some simplification of closure code (Velvet and Toon).
|
|
OpenCL fixes.
|
|
* Code cleanup, remove unused "resolution" variable from the DeviceTask class, was never used.
|
|
* Use is_zero(a) rather than dot(a, a) == 0, saves some calculations.
|
|
documentation for possible solutions.
|
|
* Fix compile error, when building with __KERNEL_SSE__
|
|
* Avoid one unneeded division by 1.0f and save one variable assignment.
|
|
* Add M_2PI_F and M_4PI_F constants and use them inside the codebase.
|
|
|
|
* Avoid some unnecessary re-declarations of closure data and simplify *_setup() functions a bit.
|
|
displacement
distance, and an Invert option to invert the bump effect.
|
|
access.
|
|
rendering
of hair and surfaces, similar to blender internal options.
|
|
* Change some more if / else if conditions to switch / case.
* Avoid an unneeded variable casting in phong_ramp closure.
|
|
|
|
Problem was that due to group proxy node the anisotropic node did not detect
early enough that it needs generated texture coordinate data to generate the
tangent. Now the proxy nodes are removed earlier.
|
|
* Remove old comment for sm_13 cards and really check for OpenCL 1.1.
|
|
|
|
* Change some if / else if conditions to switch / case.
|
|
* Avoid some variable castings here to save some calculations.
|
|
* Remove unused film_response table code.
|
|
* Remove custom template from r52885, not needed anymore as OSL 1.3 is a requirement and we do not use a custom branch anymore.
|
|
for Apple OpenCL on OS X 10.8 and simple AO render.
Also environment variable CYCLES_OPENCL_TEST can now be set to CPU, GPU,
ACCELERATOR, DEFAULT or ALL values to test particuler devices.
|
|
give results that were either too weak or too strong, this makes it give more
predictable results. The downside is that it breaks backwards compatibility but
the previous behavior was almost broken.
|
|
* Code refactor of tile ordering to simplify the code and avoid some branching.
* Changed the Center method, so it really follows center -> corners, instead of the BI method, which was confusing sometimes.
|
|
* Enable hair rendering on the GPU.
Patch by Stuart Broadfoot, with small tweaks by me, to only enable it on sm_20 and above.
|
|
the Bump node has a Normal input, so you can chain it after a Normal Map node.
Note that normal mapping always has to be done first because it is tied to the
particular mesh surface and tangents.
|
|
meshes.
|
|
ray differentials for lighting, which could cause bad texture filtering
artifacts or performance.
|
|
|
|
importance sampling + OSL.
|
|
after a bugfix for precision issues with low roughness. Now it renders them as
perfectly sharp which avoids the problematic calculations rather than increasing
the roughness.
|
|
initializing the data_type variable for shader sockets and so tried to set a non-existing float RNA property, leading to failed assert.
|
|
* Fast math compiler flag was set for Cycles, but not OSL.
|
|
use "texture" as prop name, but at least WeightVG modifiers do not.
Fixed by adding a "texture_user_property" member to spacebuts' context, and using it to get the prop identifier in ui script.
Thanks to Brecht for its advice!
|
|
|
|
uninitialized memory usage.
|
|
linux.
The problem was (again) the x86 extended precision float register being used for
one float value while the other was rounded to lower precision. This caused the
strictly weak order requirement for std::sort to be broken.
|
|
dupliverted by its parent.
|
|
unminimizing
a maximized Blender window in Ubuntu Unity. The window size would slightly change
as part of the unminimize effect.
Now cycles waits 0.2 seconds before restarting rendering after a viewport resize,
also a bit less flickery when changing the 3d view size in Blender itself.
|
|
and preview running at the same time.
It seems there's something in OSL/LLVM that's not thread safe, but I couldn't
figure out what exactly. Now all renders share the same OSL ShadingSystem which
should avoid the problem.
|
|
|
|
Now there is a single BVH traversal code with #ifdefs for various features.
At runtime it will then select the appropriate variation to use depending if
instancing, hair or motion blur is in use.
This makes scenes without hair render a bit faster, especially after the
minimum width feature was added. It's not the most beautiful code, but we can't
use c++ templates and there were already 4 copies, adding 4 more to handle the
hair case separately would be too much.
|
|
sampler,
slightly faster but also fixes the u/v sampling dimensions not longer being at even
values which is needed for best results.
|
|
when
openimageio can't detect premul/straight alpha correct.
|
|
unnecessary padding variable
- Corrected the Sobol dimension and removed a pad variable in Curve Struct.
|
|
panel now has an option to specify how to use them. There's three options:
* Use: render layer samples override scene samples
* Bounded: bound render layer samples by scene samples
* Ignore: ignore render layer sample settings
|
|
were not properly premultiplied.
|
|
|
|
|