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-11-16Cycles: Fix crash with split branched path tracingMai Lavelle
ShaderData memory was getting clobbered in the branched path code paths. Was caused by 087331c495b04ebd37903c0dc0e46262354cf026
2017-11-14Smoke: Pass non-trivial arguments by const referenceSergey Sharybin
2017-11-14Fix compilation error with clang-5Sergey Sharybin
2017-11-14Cycles: Make per-object random value output also work for LampsLukas Stockner
2017-11-14Cycles: Refactor closure roughness detection to fix a potential bug with ↵Lukas Stockner
Denoising of specular shaders
2017-11-13Cycles: Fix compilation error of standalone applicationSergey Sharybin
2017-11-13Cycles: Fix compilation error with OIIO compiled against system PugiXMLSergey Sharybin
2017-11-12Fix T53289: CUDA missing textures not showing pink, after recent changes.Brecht Van Lommel
2017-11-11Cycles: Set error if a split kernel fails to loadMai Lavelle
To help catch cases where adding a new kernel is missed for one of the device implementations.
2017-11-10Cycles: Fix compilation error with latest OIIOSergey Sharybin
There was some changes about namespaces, which causes ambiguities. Replaces using namespace with an explicit symbols we need. Is good idea to NOT pull in the whole namespace anyway!
2017-11-10Cycles: better distance sampling for chromatic volume extinction.Brecht Van Lommel
Previously we picked one of the RGB channels with equal probability, but this works poorly in a dense volume after many bounces. Now we take into account the throughput and single scattering albedo. This makes it a little more practical to do brute force SSS with volumes, but is still very inefficient because we do direct light sampling at every volume bounce even when inside an opaque mesh. In theory there could be a light inside the mesh so we can't automatically disable direct lighting.
2017-11-09Fix T53270: crash with multiscatter GGX after recent refactoring.Brecht Van Lommel
In fact this was an existing issue when exceeding the number of available closure, but it's more common now that we set the number to 0 for shadows and emission
2017-11-09Fix (harmless) valgrind warning.Brecht Van Lommel
2017-11-09Cycles: avoid reallocating tile denoising memory many times during render.Brecht Van Lommel
2017-11-09Cycles: Silence warning when building without OSLDalai Felinto
2017-11-09Cycles: Replace __MAX_CLOSURE__ build option with runtime integrator variableMai Lavelle
Goal is to reduce OpenCL kernel recompilations. Currently viewport renders are still set to use 64 closures as this seems to be faster and we don't want to cause a performance regression there. Needs to be investigated. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2775
2017-11-08Cycles: add bevel shader, for raytrace based rounded edges.Brecht Van Lommel
The algorithm averages normals from nearby surfaces. It uses the same sampling strategy as BSSRDFs, casting rays along the normal and two orthogonal axes, and combining the samples with MIS. The main concern here is that we are introducing raytracing inside shader evaluation, which could be quite bad for GPU performance and stack memory usage. In practice it doesn't seem so bad though. Note that using this feature can easily slow down renders 20%, and that if you care about performance then it's better to use a bevel modifier. Mainly this is useful for baking, and for cases where the mesh topology makes it difficult for the bevel modifier to work well. Differential Revision: https://developer.blender.org/D2803
2017-11-08Code refactor: rename subsurface to local traversal, for reuse.Brecht Van Lommel
2017-11-08Cycles: antialias normal baking if the mesh has a bump map.Brecht Van Lommel
2017-11-08Cycles: add an extra CUDA synchronize before rendering.Brecht Van Lommel
It should not be needed as far as I know, but just in case it fixes any of the recent issues like T52572.
2017-11-08Fix incorrect MIS weights in Cycles with multiple lights.Brecht Van Lommel
This causes some difference in the classroom scene, where ray visibility tricks are used and break the MIS balance. Otherwise there doesn't seem to be much effect, but better to use the right formulas. Problem originally identified by Lukas.
2017-11-07Cycles: Cleanup, styleSergey Sharybin
2017-11-05Cycles: reduce closure memory usage for emission/shadow shader data.Brecht Van Lommel
With a Titan Xp, reduces path trace local memory from 1092MB to 840MB. Benchmark performance was within 1% with both RX 480 and Titan Xp. Original patch was implemented by Sergey. Differential Revision: https://developer.blender.org/D2249
2017-11-05Code refactor: sum transparent and absorption weights outside closures.Brecht Van Lommel
2017-11-05Code refactor: remove emission and background closures, sum directly.Brecht Van Lommel
2017-11-05Cycles: fix inefficient attribute map storage, saves 615MB in victor scene.Brecht Van Lommel
2017-11-05Code refactor: device memory cleanups, preparing for mapped host memory.Brecht Van Lommel
2017-11-05Cycles: reserve CUDA local memory ahead of time.Brecht Van Lommel
This way we can log the amount of memory used, and it will be important for host mapped memory support.
2017-11-04Code refactor: replace CUDA array with linear memory for 1D and 2D textures.Brecht Van Lommel
This is a prequisite for getting host memory allocation to work. There appears to be no support for 3D textures using host memory. The original version of this code was written by Stefan Werner for D2056.
2017-11-03Fix T53247: mixed CPU + GPU render wrong texture limits.Brecht Van Lommel
2017-11-02Fix Cycles showing empty tiles while they are being denoised.Brecht Van Lommel
2017-11-02Fix T53182: cancelling save buffers + denoising render clears image.Brecht Van Lommel
2017-11-02Cycles: Add another limit to OpenCL memory usageMai Lavelle
Some drivers may report very large allocation sizes, which could cause unnecessary memory usage. This is now limited to 2gb which should still be enough to get the needed performance benefits without waste.
2017-11-01Cycles: Add utility function to distinguish between scatter and absorption ↵Sergey Sharybin
volume ID
2017-11-01Cycles: Cleanup, make it more obvious what preprocessor belongs toSergey Sharybin
2017-11-01Cycles: Cleanup, delete trailing whitespaceSergey Sharybin
2017-10-31Experiment with adding output file meta data from render engineSergey Sharybin
The idea is to make it possible to report extra meta data from render engine to the file writing. This way we can provide additional information such as number of samples rendered by resumable Cycles rendering so we can easily combine files back. Currently only report number of samples from Cycles when rendering a single render-layer scene. This is something what was required here at the studio. We can easily extend that further. Ideally we would also need to support non-string metadata, but that's for later. Reviewers: mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: sybren, candreacchio Differential Revision: https://developer.blender.org/D2502
2017-10-31Cycles: Bump version number to 1.9.0Sergey Sharybin
This matches Blender Release 2.79.
2017-10-31Fix crash of standalone app after recent refactorSergey Sharybin
2017-10-31MacOS: Use correct Cocoa protocol on any compilerArto Kitula
2017-10-29Cycles: restore SOBOL_SKIP hack, for some cases where it helps still.Brecht Van Lommel
2017-10-26Fix T52984. Trackpad rotation to natural directionArto Kitula
2017-10-25Cycles: use AO factor to let user adjust intensity of AO bounces.Brecht Van Lommel
We are already using the AO distance, so might as well offer this extra control over the intensity. Useful when an interior scene is supposed to be significantly darker than the background shader.
2017-10-25Fix T53004: XWayland ignores cursor-warp callsCampbell Barton
There is currently a limitation in XWayland, the cursor needs to be hidden during warp calls.
2017-10-25Fix one more assert being triggered due to recent changes.Brecht Van Lommel
2017-10-25Code refactor: remove MEM_WRITE_ONLY, always use MEM_READ_WRITE.Brecht Van Lommel
It's unlikely the driver can do useful optimizations with this, and if we sum multiple samples we are reading from the memory anyway.
2017-10-24Fix Cycles gtests build on macOS.Brecht Van Lommel
2017-10-24Fix T53146: incomplete multi GPU and CPU + GPU memory statistics.Brecht Van Lommel
Part due to recent changes, part old bug.
2017-10-24Cycles: Fix compilation in debug modeSergey Sharybin
Please check compilation before committing refactor changes!
2017-10-24Cycles: Fix compilation error without C++11Sergey Sharybin