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-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
2017-10-24Cycles: Fix memory leak in test and simplify codeSergey Sharybin
2017-10-24Cycles: Fix test compilation failure after recent refactorSergey Sharybin
The test will leak CPU devices, but is all passing other than that. Leak will be fixed shortly. P.S. Committing code refactor without running regression tests, tsk ;)
2017-10-24Fix T53134: denoising with CPU + GPU render leaves some tiles noisy.Brecht Van Lommel
2017-10-24Code refactor: move more memory allocation logic into device API.Brecht Van Lommel
* Remove tex_* and pixels_* functions, replace by mem_*. * Add MEM_TEXTURE and MEM_PIXELS as memory types recognized by devices. * No longer create device_memory and call mem_* directly, always go through device_only_memory, device_vector and device_pixels.
2017-10-24Code refactor: use device_only_memory and device_vector in more places.Brecht Van Lommel
2017-10-24Code refactor: store device/interp/extension/type in each device_memory.Brecht Van Lommel
2017-10-24Code refactor: pass device to scene, check OSL with device info.Brecht Van Lommel
2017-10-21Code refactor: avoid some unnecessary device memory copying.Brecht Van Lommel
2017-10-21Code refactor: simplify image device memory allocation.Brecht Van Lommel
2017-10-21Fix issue with resumable rendering in recent changes.Brecht Van Lommel
2017-10-21Cycles: disable progressive refine if denoising or save buffers is used.Brecht Van Lommel
Progressive refine undoes memory saving from save buffers, so enabling both does not make much sense. Previously enabling progressive refine would disable denoising, but it should be the other way around since denoise actually affects the render result. Includes some code refactor for progressive refine render buffers, and avoids recomputing tiles for each progressive sample.
2017-10-21Cycles: combined CPU + GPU rendering support.Brecht Van Lommel
CPU rendering will be restricted to a BVH2, which is not ideal for raytracing performance but can be shared with the GPU. Decoupled volume shading will be disabled to match GPU volume sampling. The number of CPU rendering threads is reduced to leave one core dedicated to each GPU. Viewport rendering will also only use GPU rendering still. So along with the BVH2 usage, perfect scaling should not be expected. Go to User Preferences > System to enable the CPU to render alongside the GPU. Differential Revision: https://developer.blender.org/D2873
2017-10-20Fix T53109: denoising variance debug passes not working after recent changes.Brecht Van Lommel
2017-10-19Cycles: Add extra logging in CUDA device detection codeSergey Sharybin
2017-10-19Fix part of T53038: principled BSDF clearcoat weight has no effect with 0 ↵Brecht Van Lommel
roughness.
2017-10-18Cycles: Fix wrong shading when some mesh triangle has non-finite coordinateSergey Sharybin
This is fully unpredictable for artists when one damaged object makes the whole scene to render incorrectly. This involves two main changes: - It is not enough to check triangle bounds to be valid when building BVH. This is because triangle might have some finite vertices and some non-finite. - We shouldn't add non-finite triangle area to the overall area for MIS.
2017-10-18Fix T53098, T53079: OpenCL world texture errors after recent changes.Brecht Van Lommel
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-15Code cleanup: deduplicate primitive refit code.Brecht Van Lommel
2017-10-15Fix OpenCL performance regression after cubic interpolation.Brecht Van Lommel
Reorganize code to reduce register pressure.
2017-10-11Fix T53048: OSL Volume is broken in Blender 2.79Sergey Sharybin
Was a mistake in optimization commit which was disconnecting closures and nodes which does not make sense for volume output. OSL script we can't ignore and can't currently know in advance if it's a proper volume shader or not. So we never disconnect OSL nodes from volume output. This is a good candidate for corrective release.
2017-10-11Cycles: Speedup up tangent space calculationSergey Sharybin
This patch goes away form using C++ RNA during tangent space calculation which avoids quite a bit of overhead. Now all calculation is done using data which already exists in ccl::Mesh. This means, tangent space is now calculated from triangles, which doesn't seem to be any different (at least as far as regression tests are concerned). One of the positive sides is that this change makes it possible to move tangent space calculation from blender/ to render/ so we will have Cycles standalone supporting tangent space. Reviewers: brecht, lukasstockner97, campbellbarton Differential Revision: https://developer.blender.org/D2810