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
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-03Fix T53247: mixed CPU + GPU render wrong texture limits.Brecht Van Lommel
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-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 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: 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-20Fix T53109: denoising variance debug passes not working after recent changes.Brecht Van Lommel
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-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: Add utility function to calculate triangle's normalSergey Sharybin
2017-10-11Cycles: Add utility function to remove given attributeSergey Sharybin
2017-10-08Code refactor: use DeviceInfo to enable QBVH and decoupled volume shading.Brecht Van Lommel
2017-10-06Cycles: Fix possible race condition when generating Beckmann tableSergey Sharybin
Two issues here: - Checking table size to be non-zero is not a proper way to go here. This is because we first resize the table and then fill it in. So it was possible that non-initialized table was used. Trickery with using temporary memory and then doing table.swap() might work, but we can not guarantee that table size will be set after the data pointer. - Mutex guard was useless, because every thread was using own mutex. Need to make mutex guard static so all threads are using same mutex.
2017-10-05Code refactor: split displace/background into separate kernels, remove luma.Brecht Van Lommel
2017-10-04Code refactor: zero render buffers outside of kernel.Brecht Van Lommel
This was originally done with the first sample in the kernel for better performance, but it doesn't work anymore with atomics. Any benefit was very minor anyway, too small to measure it seems.
2017-10-04Code refactor: remove rng_state buffer and compute hash on the fly.Brecht Van Lommel
A little faster on some benchmark scenes, a little slower on others, seems about performance neutral on average and saves a little memory.
2017-09-28Fix T52574: make Cycles rendered tile counter more clear.Kim Christensen
Differential Revision: https://developer.blender.org/D2853
2017-09-04Fix T52533: Blender shuts down when rendering duplicated smoke domainSergey Sharybin
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-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-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-10Cycles: De-duplicate trace-time object visibility calculationSergey Sharybin
We already have enough files to worry about in BVH builders. no need to add yet another copy-paste code which is tempting to be running out of sync.
2017-08-09Revert "Cycles: Fix crash changing image after recent OpenCL changes"Mai Lavelle
This reverts commit f2809ae0a671057caa1005e2b9cc91648c33dd1f.
2017-08-08Cycles: Fix crash changing image after recent OpenCL changesSergey Sharybin
Steps to reproduce: - Create shader Image texture -> Diffuse BSDF -> Output. Do NOT select image yet! - Start viewport render. - Select image from the ID browser of Image Texture node. Thing is: with the memory manager we always need to inform device that memory was freed.
2017-08-08Cycles: Pack kernel textures into buffers for OpenCLMai Lavelle
Image textures were being packed into a single buffer for OpenCL, which limited the amount of memory available for images to the size of one buffer (usually 4gb on AMD hardware). By packing textures into multiple buffers that limit is removed, while simultaneously reducing the number of buffers that need to be passed to each kernel. Benchmarks were within 2%. Fixes T51554. Differential Revision: https://developer.blender.org/D2745
2017-08-07Fix Cycles shadow catcher objects influencing each other.Brecht Van Lommel
Since all the shadow catchers are already assumed to be in the footage, the shadows they cast on each other are already in the footage too. So don't just let shadow catchers skip self, but all shadow catchers. Another justification is that it should not matter if the shadow catcher is modeled as one object or multiple separate objects, the resulting render should be the same. Differential Revision: https://developer.blender.org/D2763
2017-08-07Cycles: Cleanup, space after keywordSergey Sharybin
2017-08-07Cycles: remove option to disable transparent shadows globally.Brecht Van Lommel
We already detect this automatically based on shading nodes and per shader settings, and performance of this option is ok now all devices. Differential Revision: https://developer.blender.org/D2767
2017-08-05Cycles: remove min bounces, modify RR to terminate less.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2766
2017-07-25Fix T51450: viewport render time keeps increasing after render is done.Jeff Knox
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2747
2017-07-22Fix use of uninitialized value in Cycles, probably did not cause a bug.Brecht Van Lommel
2017-07-21Fix T52135: Cycles should not keep generated/packed images in memory after ↵Brecht Van Lommel
render.
2017-07-20Fix T52107: Color management difference when using multiple and different ↵Stefan Werner
GPUs together This commit unifies the flattened texture slot names for bindless and regular CUDA textures. Texture indices are now identical across all CUDA architectures, where before Fermi used different indices, which lead to problems when rendering on multi-GPU setups mixing Fermi with newer hardware.
2017-07-12Cycles: Enable SSS from Principled BSDF only when actually in useMai Lavelle
This gives speed up for the split kernel in scenes using the principled BSDF but without subsurface scattering.
2017-07-08Fix T51967: OSL crash after rendering finished (mainly on Windows).Brecht Van Lommel
2017-07-03Fix missing return error introduced by last commitLuca Rood
End of non-void function was being reached since f5535fcb83fd7c1374697923b43565c9e303d225
2017-07-03Fi T51023: MixRGB constant folding not effective with clamp option.Brecht Van Lommel
2017-07-03Fix T51855: Cycles emssive objects with NaN transform break lighting.Brecht Van Lommel
2017-06-21Fix T51849: change Cycles clearcoat gloss to roughness.Brecht Van Lommel
This is compatible with UE4 and more consistent with specular and transmission roughness, even if it deviates from the original Disney BRDF.