Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
AgeCommit message (Collapse)Author
2017-09-05Cycles: Fix compilation error with CUDA after recent changesSergey Sharybin
2017-09-05Fix T52433: Volume Absorption color tintSergey Sharybin
Need to exit the volume stack when shadow ray laves the medium. Thanks Brecht for review and help in troubleshooting!
2017-09-05Cycles: Cleanup, styleSergey Sharybin
2017-09-04Cycles: Fix compilation warningSergey Sharybin
2017-09-04Fix T52533: Blender shuts down when rendering duplicated smoke domainSergey Sharybin
2017-09-01Fix T52472: VSE Audio Volume not set immediatelyJoerg Mueller
Audio mixing is done with volume interpolation. A new handle started at volume 1, now starting at volume 0 for a smooth fade in.
2017-09-01Cycles: follow strict class naming conventionCampbell Barton
2017-08-31Cycles: Cleanup, indentation and trailing whitespaceSergey Sharybin
2017-08-31Cycles: Fix typo in commentSergey Sharybin
2017-08-30Fixing T52477 - switching from custom ray/triangle intersection code to the ↵Stefan Werner
one from util_intersection.h. This fixes the bug and makes the code more readable and maintainable.
2017-08-30Cycles: Fix build with networking enabledMai Lavelle
2017-08-29Fix Cycles Windows render errors with BVH2 CPU rendering.Brecht Van Lommel
One problem is that it was always using __mm_blendv_ps emulation even if the instruction was supported. The other that the emulation function was wrong. Thanks a lot to Ray Molenkamp for tracking this one down.
2017-08-28Atomics: Use system headers directly, without bad level dependency to BLISergey Sharybin
This will make it easier to re-use library as-is in other projects, such as Cycles standalone repo for example.
2017-08-25Fix for fix (tm): Residue of the debug codeSergey Sharybin
2017-08-25Fix mistake in previous tangent space optimizationSergey Sharybin
2017-08-25Cycles: Cleanup, naming of variableSergey Sharybin
Always use b_ prefix for C++ RNA data.
2017-08-25Cycles: Add assert to catch possibly wrong logicSergey Sharybin
2017-08-25Cycles: Mark pixels with negative values as outliersLukas Stockner
If a pixel has negative components, something already went wrong, so the best option is to just ignore it. Should be good for 2.79.
2017-08-25Another optimization of tangent space calculationSergey Sharybin
Don't use quick sort for small arrays, bubble sort works way faster for small arrays due to cache coherency. This is what qsort() from libc is doing actually. We can also experiment unrolling some extra small arrays, for example 3 and 4 element arrays. This reduces tangent space calculation for dragon from 3.1sec to 2.9sec.
2017-08-25Optimize tangent space calculation by inlining functionsSergey Sharybin
Brings tangent space calculation from 4.6sec to 3.1sec for dragon model in BI. Cycles is also somewhat faster, but it has other bottlenecks. Funny thing, using simple `static inline` already gives a lot of speedup here. That's just answering question whether it's OK to leave decision on what to inline up to a compiler..
2017-08-25Cycles: Add utility function to query current value of scoped timerSergey Sharybin
2017-08-25Cycles: Correct logging of sued CPU intrisicsSergey Sharybin
2017-08-25Cycles: Fix stack overflow during traversal caused by floating overflowSergey Sharybin
Would be nice to be able to catch this with assert as well, will see what would be the best way to do this/.\ Need to verify with Mai that this solves crash for her and maybe consider porting this to 2.79.
2017-08-24Cycles: FIx issue with -0 being considered a non-finite valueSergey Sharybin
2017-08-24Fix Cycles CUDA transparent shadow error after recent fix in c22b52c.Brecht Van Lommel
Fishy cat benchmark was rendering with wrong shadows. Cause is unclear, adding printf or rearranging code seems to avoid this issue, possibly a compiler bug. This reverts the fix and solves the OSL bug elsewhere.
2017-08-24Code cleanup: remove shader context.Brecht Van Lommel
This was needed when we accessed OSL closure memory after shader evaluation, which could get overwritten by another shader evaluation. But all closures are immediatley converted to ShaderClosure now, so no longer needed.
2017-08-23Cycles: Add maximum depth stat to bvh builderMai Lavelle
2017-08-23Fix implementation of atomic update max and move to a central locationMai Lavelle
While unlikely to have had any serious effects because of limited use, the previous implementation was not actually atomic due to a data race and incorrectly coded CAS loop. We also had duplicates of this code in a few places, it's now been moved to a single location with all other atomic operations.
2017-08-23Fix T51805: Overlapping volumes renders incorrect on AMD GPUSergey Sharybin
We need to make sure we can store all volume closures for all objects in volume stack. This is a bit tricky to detect what would be the "nestness" level of volumes so for now use maximum possible stack depth. Might cause some slowdown, but better to give reliable render output than to fail quickly. Should be safe for 2.79 after extra eyes.
2017-08-22Fix panorama render crash with split kernel, due to incorrect buffer pointer.Brecht Van Lommel
Also some refactoring to clarify variable usage scope.
2017-08-21Cycles: reorganize Performance panel layout, move viewport BVH type to debug.Brecht Van Lommel
2017-08-21Cycles: attempt to recover from crashing CUDA/OpenCL drivers on Windows.Brecht Van Lommel
I don't know if this will actually work, needs testing. Ref T52064.
2017-08-21Revert "Cycles: remove square samples option."Brecht Van Lommel
This reverts commit 757c24b6bceaeeae95f743b72b6a7040880a0ebf. We'll revisit this when doing deeper sampling changes.
2017-08-21Fix T52470: cycles OpenCL hair rendering not working after recent changes.Brecht Van Lommel
2017-08-20Code cleanup: deduplicate some bsdf node methods.Brecht Van Lommel
2017-08-20Cycles: support baking normals plugged into BSDFs, averaged with closure weight.Brecht Van Lommel
2017-08-20Code cleanup: remove copy of shader graph for bump, no longer needed.Brecht Van Lommel
2017-08-19Fix T52452: OSL trace broken after shadow catcher recent changes.Brecht Van Lommel
We should only early out with any hit in BVH traversal if the only visibility bits used are opaque shadow. Not when opaque shadow is one of multiple bits.
2017-08-19Code cleanup: move rng into path state.Brecht Van Lommel
Also pass by value and don't write back now that it is just a hash for seeding and no longer an LCG state. Together this makes CUDA a tiny bit faster in my tests, but mainly simplifies code.
2017-08-19Fix T52443: Cycles OpenCL build error after recent mesh lights changes.Brecht Van Lommel
2017-08-17Cycles: Fix for a division by zero that could happen with solid angle ↵Stefan Werner
triangle light sampling
2017-08-17Improved triangle sampling for mesh lightsStefan Werner
This implements Arvo's "Stratified sampling of spherical triangles". Similar to how we sample rectangular area lights, this is sampling triangles over their solid angle. It does significantly improve sampling close to the triangle, but doesn't do much for more distant triangles. So I added a simple heuristic to switch between the two methods. Unfortunately, I expect this to add render time in any case, even when it does not make any difference whatsoever. It'll take some benchmarking with various scenes and hardware to estimate how severe the impact is and if it is worth the change. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: Vega-core, brecht, SteffenD Tags: #cycles Differential Revision: https://developer.blender.org/D2730
2017-08-17Cycles: Calculate correct remaining time when using a larger pixel sizeLukas Stockner
2017-08-15Cycles/BI: Add a pixel size option for speeding up viewport renderingLukas Stockner
This patch adds "Pixel Size" to the performance options, which allows to render in a smaller resolution, which is especially useful for displays with high DPI. Reviewers: Severin, dingto, sergey, brecht Reviewed By: brecht Subscribers: Severin, venomgfx, eyecandy, brecht Differential Revision: https://developer.blender.org/D1619
2017-08-14Cycles: Fixed broken camera motion blur when motion was not set to center on ↵Stefan Werner
frame Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: sergey Differential Revision: https://developer.blender.org/D2787
2017-08-14Cycles: Guard memcpy to potentially re-allocating memory with lockSergey Sharybin
Basically, make re-alloc and memcpy from the same lock, otherwise one thread might be re-allocating thread while another one is trying to copy data there. Reported by Mohamed Sakr in IRC, thanks!
2017-08-13Code cleanup: make L_transparent part of PathRadiance.Brecht Van Lommel
2017-08-13Code cleanup: make DebugData part of PathRadiance.Brecht Van Lommel
2017-08-13Code cleanup: make it easier to test only Sobol, CMJ or Pseudorandom.Brecht Van Lommel
2017-08-12Cycles: optimize CPU split kernel data init.Brecht Van Lommel