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
2014-05-08Fix T40079: cycles crash with objects that have hair motion blur, but no ↵Brecht Van Lommel
triangle motion.
2014-05-07Code cleanup: spelling/indentationCampbell Barton
2014-05-07Fix cycles crash after recent use alpha commit.Brecht Van Lommel
2014-05-07Cycles-Bake: Subsurface Scattering support (fix T40060)Dalai Felinto
This fixes the SSS Direct/Indirect passes as well as the Combined pass. Patch reviewed and with fixes and contributions from Brecht van Lommel. Note: displacement/bump map (related to the report) will be handled separately Reviewers: brecht Differential Revision: https://developer.blender.org/D503
2014-05-07Nodes: add absolute value operation to all math nodesMatt Heimlich
Reviewed By: dingto, brecht Differential Revision: https://developer.blender.org/D507
2014-05-07Cycles: add support for "Use Alpha" option on image datablocks.Carlo Andreacchio
Reviewed By: brecht Differential Revision: https://developer.blender.org/D486
2014-05-07Cycles-Bake: Ambient Occlusion needs to be computed for COMBINEDDalai Felinto
Now the COMBINED pass includes the Ambient Occlusion. This was not reported anywhere, but while working in the Subsurface Scattering I realize we needed this fix for combined.
2014-05-06Fix possible NULL pointer dereference in CyclesCampbell Barton
2014-05-06Fix T40049: cycles baking glossy shader looks faceted.Brecht Van Lommel
Use smooth normal instead of flat normal as view direction.
2014-05-06Fix T39946: OSL + tangent space normal maps not working in Cycles.Brecht Van Lommel
2014-05-06Cycles: revert part of the optimization from ff34c2dCampbell Barton
This was faster for my AMD system but slower for Intel. However with gcc4.9,-O3 I was able to get roughly the same speed before/after. Revert since this isnt giving such clear benefits on most systems.
2014-05-05Fix T40032: hair BSDF not working correct after primitive type code refactoring.Brecht Van Lommel
2014-05-05Fix T40031: cycles deformation motion blur wrong render on last frame of ↵Brecht Van Lommel
animation.
2014-05-05Code cleanupCampbell Barton
2014-05-05Add check for LIKELY/UNLIKELY is CPU onlyCampbell Barton
2014-05-05Cycles: avoid int->float conversions for pixel lookupsCampbell Barton
Gives ~3% speedup for image.blend test, and 6% for image heavy file. Overall speedup in real-world use is likely much less.
2014-05-04Cycles: use LIKELY/UNLIKELY macrosCampbell Barton
Gives overall ~3% speedup in own tests for BMW scene.
2014-05-04Style cleanup: indentation, bracesCampbell Barton
2014-05-04Code cleanup: avoid int/uint mixup in cyclesCampbell Barton
2014-05-03Code cleanup: style, require ; for cuda_assert, opencl_assertCampbell Barton
2014-05-03Quiet float conversion warnings when building cycles standaloneCampbell Barton
2014-05-03Comment out scons '-Werror=float-conversion' for Cycles for now.Bastien Montagne
This option is only available in gcc >= 4.9, and we do not have a fancy helper in scons to check availability of a flag...
2014-05-03Fix '-Werror=float-conversion' error with gcc < 4.9, for CMakeBastien Montagne
Scons is still TODO.
2014-05-03Cycles: CUDA changes for kernel evaluation cancelBrecht Van Lommel
2014-05-03Cycles BakeDalai Felinto
Expand Cycles to use the new baking API in Blender. It works on the selected object, and the panel can be accessed in the Render panel (similar to where it is for the Blender Internal). It bakes for the active texture of each material of the object. The active texture is currently defined as the active Image Texture node present in the material nodetree. If you don't want the baking to override an existent material, make sure the active Image Texture node is not connected to the nodetree. The active texture is also the texture shown in the viewport in the rendered mode. Remember to save your images after the baking is complete. Note: Bake currently only works in the CPU Note: This is not supported by Cycles standalone because a lot of the work is done in Blender as part of the operator only, not the engine (Cycles). Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Bake Supported Passes: ----------------- Data Passes * Normal * UV * Diffuse/Glossy/Transmission/Subsurface/Emit Color Light Passes * AO * Combined * Shadow * Diffuse/Glossy/Transmission/Subsurface/Emit Direct/Indirect * Environment Review: D421 Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge Original design by Brecht van Lommel. The entire commit history can be found on the branch: bake-cycles
2014-05-03Code cleanup: Add -Werror=float-conversion to CyclesCampbell Barton
2014-05-02Cleanup: Remove unused variables.Thomas Dinges
2014-05-02Cycles UI:Pablo Vazquez
Show the Ray Visibility panel for objects with dupli_group on, no reason to hide it.
2014-05-01Cycles: MIS for lamps now loops over all lamps instead of picking one.Brecht Van Lommel
Probably will not be noticed in most scenes. This helps reduce noise when you have multiple lamps with MIS enabled, at the cost of some performance, but from testing some scenes this seems better.
2014-05-01Cleanup / Cycles: Adjust comment for faster testing in the future.Thomas Dinges
Unfortunately the function call is still a bit slower, even with CUDA 6.0. :/
2014-04-30Fix T39965: Sequencer do not sync cycles stripsSergey Sharybin
The was actually caused by the way how Cycles uses objects layers. It's not possible to rely on the fact that layers are flushed from Base to Object. It's only valid when rendering active scene. Now made it so layers are used from the base.
2014-04-30Cycles CUDA: make CUDA toolkit 6.0 the official supported version.Brecht Van Lommel
This also updates the configurations to build kernels for compute capability 5.0 cards, when using and older CUDA toolkit version this will be skipped. Also includes tweaks to improve performance with this version: * Increase max registers on sm_30, sm_35 and sm_50 * No longer use texture storage on sm_30
2014-04-29Fix for wrong behavior of 'darken' blend mode with factor.Kevin Dietrich
The formula was not consistent across Blender and behaved strangely, now it is a simple linear blend between color1 and min(color1, color2). Reviewed By: brecht Differential Revision: https://developer.blender.org/D489
2014-04-29Code cleanup: don't use unnecessary .exe extension in scons, simplify code.Lawrence D'Oliveiro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D236
2014-04-28Cycles CUDA: add support for sm_50 cards in kernel.cu, for testing.Brecht Van Lommel
2014-04-27Code cleanup: style, unused importCampbell Barton
2014-04-26Cycles: avoid some CUDA performance on scenes without deformation motion blur.Brecht Van Lommel
2014-04-25Fix T39843: cycles memory leak rendering with high transparent depth.Brecht Van Lommel
2014-04-24Code cleanup: unused python vars & importsCampbell Barton
Use frosted rather then pyflakes
2014-04-23Quiet warningCampbell Barton
2014-04-23Cycles: some tiny hair intersection optimizations that help maybe 2%.Brecht Van Lommel
2014-04-23Fix occasional wrong normal for curves with minimum width.Brecht Van Lommel
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-22Cycles: optimization for hair BVH build, allow max 2 hair curves per leaf.Brecht Van Lommel
This gives me 14% reduction in render time for koro_final.blend.
2014-04-22Fix T39833: Nurbs CrashBastien Montagne
Converting empty object to mesh can generate a 'Null' BL:Mesh, we have to check against it.
2014-04-21Cycles: shadow function optimization for transparent shadows (CPU only).Brecht Van Lommel
Old algorithm: Raytrace from one transparent surface to the next step by step. To minimize overhead in cases where we don't need transparent shadows, we first trace a regular shadow ray. We check if the hit primitive was potentially transparent, and only in that case start marching. this gives extra ray cast for the cases were we do want transparency. New algorithm: We trace a single ray. If it hits any opaque surface, or more than a given number of transparent surfaces is hit, then we consider the geometry to be entirely blocked. If not, all transparent surfaces will be recorded and we will shade them one by one to determine how much light is blocked. This all happens in one scene intersection function. Recording all hits works well in some cases but may be slower in others. If we have many semi-transparent hairs, one intersection may be faster because you'd be reinteresecting the same hairs a lot with each step otherwise. If however there is mostly binary transparency then we may be recording many unnecessary intersections when one of the first surfaces blocks all light. We found that this helps quite nicely in some scenes, on koro.blend this can give a 50% reduction in render time, on the pabellon barcelona scene and a forest scene with transparent leaves it was 30%. Some other files rendered maybe 1% or 2% slower, but this seems a reasonable tradeoff. Differential Revision: https://developer.blender.org/D473
2014-04-21Cleanup: Remove OpenCL __MULTI_CLOSURE__ sanity check, not needed anymore ↵Thomas Dinges
after 04a10907dc41.
2014-04-21Cleanup: Pass PathState as a whole, instead of individual members.Thomas Dinges
Differential Revision: https://developer.blender.org/D477
2014-04-21Fix T39793: cycles SVM shading bug with tangled up nodes after recent ↵Brecht Van Lommel
optimization.
2014-04-21Code cleanup: remove old closure sampling code Cycles.Brecht Van Lommel
This was the original code to get things working on old GPUs, but now it is no longer in use and various features in fact depend on this to work correctly to the point that enabling this code is too buggy to be useful.
2014-04-21Cycles: add Transparent Depth output to Light Path node.Carlo Andreacchio
This can for example be useful if you want to manually terminate the path at some point and use a color other than black. Reviewed By: brecht Differential Revision: https://developer.blender.org/D454