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
AgeCommit message (Collapse)Author
2014-05-09Fix cycles motion pass for hair curves showing a bit of motion when there ↵Brecht Van Lommel
isn't any.
2014-05-08Cycles-Bake: displacement support (fix T40068)Dalai Felinto
Code with contribution from Brecht Van Lommel. Reviewers: brecht Differential Revision: https://developer.blender.org/D510
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-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 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-05Code cleanupCampbell 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-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-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-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-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-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-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-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
2014-04-21Fix new Cycles UV Map node not working correct for bump mapping.Kevin Dietrich
Reviewed By: brecht Differential Revision: https://developer.blender.org/D475
2014-04-18Cycles: SVM optimization for mix shaders, to skip more code when the mix weightBrecht Van Lommel
for one of the input shaders is zero. This gives about 5% speedup for koro_final.blend. In general this is important so you can design shaders that run faster for shadows, diffuse bounces, etc, for example by skipping procedural textures or even using a single fixed color.
2014-04-18Fix cycles using acosf in panorama render when it should use safe_acosf.Brecht Van Lommel
2014-04-16Fix for scons/CUDA build after recent commit.Brecht Van Lommel
2014-04-16Cycles CUDA: enabled branched path kernel again, with more registers.Brecht Van Lommel
2014-04-16Cycles code refactor: use __launch_bounds__ instead of -maxrregcount for CUDA.Brecht Van Lommel
This makes it easier to have per kernel number of registers. Also, all the tunable parameters for this are now in kernel.cu, rather than spread over cmake, scons and device_cuda.cpp.
2014-04-15Fix T39284: clamp cycles volume density to be >= 0, to avoid accidental ↵Brecht Van Lommel
strange shading.
2014-04-09Cycles / CUDA: Increase sm_2x registers to 40.Thomas Dinges
This fixes the ptaxs "ACCESS_VIOLATION" error and should allow our Linux and Windows build bots to compile again. Unfortunately this comes with a performance penalty on sm_2x cards, so this is only a workaround for now. Branched Path is still globally disabled on GPU.
2014-04-07OpenCL Change opencl_assert to be more like cuda assert where possible.Martijn Berger
added some extra warnings and feedback if things go wrong
2014-04-07OpenCL + AMD adapt kernel to newer driverMartijn Berger
2014-04-04Cycles: Disable Branched Path on all GPUs for now, until we separate the cubins.Thomas Dinges
SM_20 fails now as well, reported by Zanqdo in IRC.
2014-04-03Cycles: SSE optimization for Voronoi cells textureSv. Lockal
Gives 5-6% speedup for Caterpillar_PatazStudio.blend. Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D419
2014-04-03Cycles: avoid 1.0f/(1.0f/x) divisions, which msvc (only) can't optimize.Sv. Lockal
This makes bmw scene in msvc 12 builds 6% faster. It also gives a minor speedup for SSE hair in all compilers.
2014-04-03Fix T39577: cycles issue mixing anisotropic BSDFs with branched path tracer.Brecht Van Lommel
2014-04-02Fix T39525: cycles volume render difference between branched/non-branched path.Brecht Van Lommel
2014-04-02Cycles: add dedicated UV Map node, easier to find and has convenient auto ↵Kevin Dietrich
complete. Fixes T37954. Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D230
2014-03-31Fix T39525: branched path + no lights + disabled use all lights option crash.Brecht Van Lommel
2014-03-29Fix scons CUDA build and compile error with more strict compilers.Brecht Van Lommel
2014-03-29Cycles volume: change heterogeneous volume sampling in branched path first hit.Brecht Van Lommel
This now uses decoupled ray marching, and removes the probalistic scattering. What this means is that each AA sample will be slower but contain less noise, hopefully giving less render time to reach the same noise levels. For those following along, there's still a bunch of volume sampling improvements to do: all-light sampling, multiple importance sampling, transmittance threshold, better indirect light handling, multiple scatter approximation.