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
2020-03-12Fix memory leak in recent Cycles image texture refactorBrecht Van Lommel
2020-03-12Cleanup: add device_texture for images, distinct from other global memoryBrecht Van Lommel
There was too much image texture specific stuff in device_memory, and too much code duplication between devices.
2020-03-12Fix build error with recent OpenImageIO versionsBrecht Van Lommel
2020-03-12Cleanup: spelling, clang-formatCampbell Barton
2020-03-11Fix T73626: crash scrubbing timeline with Cycles viewport and smoke/fireBrecht Van Lommel
2020-03-11Cleanup: refactor image loading to use abstract ImageLoader base classBrecht Van Lommel
Rather than passing around void pointers, various Blender image sources now subclass this. OIIO is also just another type of image loader. Also fixes T67718: Cycles viewport render crash editing point density settings
2020-03-11Cleanup: add ImageHandle to centralize image ownership logicBrecht Van Lommel
2020-03-11Cycles: add internal default volume shader, to be used for new volume objectBrecht Van Lommel
This is mostly straightforward, but required some refactoring to ensure that the default volume material does not always turn on the volume feature for GPU rendering.
2020-03-11Cleanup: remove foreach include from header, conflicts with OpenVDBBrecht Van Lommel
2020-03-11Fix Optix build error on Linux with some compilersBrecht Van Lommel
2020-03-11Fix Cycles crash in BVH8 build due to out of bounds memory accessGiovanni Remigi
Differential Revision: https://developer.blender.org/D7114
2020-03-11Cleanup: stop encoding image data type in slot indexBrecht Van Lommel
This is legacy code from when we had a fixed number of textures.
2020-03-11Fix Cycles link error with debug + asan after RTTI changesBrecht Van Lommel
2020-03-11Cycles: disable RTTI only for OSL files, other libraries like OpenVDB need itBrecht Van Lommel
This is a bit weak since it's not entirely clear where the boundary is, but tested to build and pass tests on all platforms.
2020-03-11Fix Cycles incorrect result when compressing some 8 bit log colorspace imagesBrecht Van Lommel
Don't clamp and do premultiply after color space conversion.
2020-03-11Cycles: add view layer setting to exclude volumes, like hair and surfacesBrecht Van Lommel
2020-03-11UI: show more digits for adaptive sampling noise thresholdBrecht Van Lommel
2020-03-11Cleanup: clang-formatCampbell Barton
2020-03-10Cycles: Fixed Shadow and Mist passes with adaptive sampling.Stefan Werner
This also fixes a side-effect where turning on UV pass but leaving Shadow pass turned off destroyed the Combined pass.
2020-03-10Cycles: Using OpenCL popcount() in PMJ sampler.Stefan Werner
2020-03-09Cleanup: avoid (harmless) race condition reported by HelgrindJohan Walles
Differential Revision: https://developer.blender.org/D7058
2020-03-08Fix T74537: Fixed out of bounds memory access in Cycles' PMJ sampler.Stefan Werner
2020-03-07UI: move Cycles adaptive sampling settings to own subpanelBrecht Van Lommel
2020-03-07Fix T74504: Cycles wrong progress bar with CPU adaptive samplingBrecht Van Lommel
2020-03-07Fix error in Cycles Optix adaptive sampling after recent cleanupBrecht Van Lommel
2020-03-06Cycles: cleanup warningDalai Felinto
2020-03-06Cleanup: tweak Cycles #includes in preparation for clang-format sortingBrecht Van Lommel
2020-03-06Cleanup: spellingCampbell Barton
2020-03-05Fix T74393: Cycles crashes when both OSL and Optix Denoising are enabledPatrick Mours
Enabling viewport denoising causes Cycles to use a multi-device, which always returned NULL when asked for OSL memory and would subsequently crash. This fixes that by returning the correct OSL memory pointer from the CPU device in the special viewport denoising multi-device.
2020-03-05Adaptive Sampling for Cycles.Stefan Werner
This feature takes some inspiration from "RenderMan: An Advanced Path Tracing Architecture for Movie Rendering" and "A Hierarchical Automatic Stopping Condition for Monte Carlo Global Illumination" The basic principle is as follows: While samples are being added to a pixel, the adaptive sampler writes half of the samples to a separate buffer. This gives it two separate estimates of the same pixel, and by comparing their difference it estimates convergence. Once convergence drops below a given threshold, the pixel is considered done. When a pixel has not converged yet and needs more samples than the minimum, its immediate neighbors are also set to take more samples. This is done in order to more reliably detect sharp features such as caustics. A 3x3 box filter that is run periodically over the tile buffer is used for that purpose. After a tile has finished rendering, the values of all passes are scaled as if they were rendered with the full number of samples. This way, any code operating on these buffers, for example the denoiser, does not need to be changed for per-pixel sample counts. Reviewed By: brecht, #cycles Differential Revision: https://developer.blender.org/D4686
2020-03-05Addons: deprecate 'wiki_url'Aaron Carlisle
When running with debug enabled ('-d' argument), warnings are printed for add-ons which are not yet updated. Reminder to name things based on what they do, not the technologies they use :)
2020-03-05Cleanup: formatting, strip trailing spaceCampbell Barton
2020-03-04Cleanup: cmake indentationCampbell Barton
2020-03-02Cycles: add Progressive Multi-Jitter sampling patternStefan Werner
This sampling pattern is particularly suited to adaptive sampling, and will be used for that upcoming feature. Based on "Progressive Multi-Jittered Sample Sequences" by Per Christensen, Andrew Kensler and Charlie Kilpatrick. Ref D4686
2020-03-02Shading: Add invert option to Vector Rotate NodeCharlie Jolly
Checkbox to invert rotation angle, suggested by @simonthommes Differential Revision: https://developer.blender.org/D6932
2020-02-28Cycles: Rework tile scheduling for denoisingPatrick Mours
This fixes denoising being delayed until after all rendering has finished. Instead, tile-based denoising is now part of the "RENDER" task again, so that it is all in one task and does not cause issues with dedicated task pools where tasks are serialized. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6940
2020-02-28Fix CUDA out of memory error with OptiX viewport denoising on small GPUsPatrick Mours
This makes the memory allocation for the denoiser state use the memory allocator in Cycles, which will evict textures to host memory when there is not enough space on the device. This means the allocation for the denoiser state won't just fail if there is no more space and instead more space is made for it to work. Also simplifies code somewhat.
2020-02-27Fix T74262: Cycles OpenCL error on some devices after recent changesBrecht Van Lommel
2020-02-27Fix unreported crash/assert in Cycles with volume render pass in viewportDalai Felinto
Bug introduced on e0085bfd24da.
2020-02-26Cleanup: add ImageKey to avoid longer argument lists and duplicated codeBrecht Van Lommel
2020-02-26Cleanup: spellingCampbell Barton
2020-02-25Fix T74063: Cycles light pass viewport display wrong with saturated colorsBrecht Van Lommel
2020-02-25Cleanup: Remove superfluous "cuda_device_ptr" functionPatrick Mours
2020-02-25Cycles: Add option to change which sample to start viewport denoising atPatrick Mours
This patch adds a new user-configurable option to change at which sample viewport denoising should kick in. Setting it to zero retains previous behavior (start immediately), while other values will defer denoising until the particular sample has been reached. Default is now at one, to avoid the weirdness that is AI denoising at small resolutions. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6906
2020-02-25Fix T74095: crash deleting all faces in edit mode with Cycles renderingBrecht Van Lommel
2020-02-25Cycles: move sss and diffuse transmission into diffuse passBrecht Van Lommel
This simplifies compositors setups and will be consistent with Eevee render passes from D6331. There's a continuum between these passes and it's not clear there is much advantage to having them available separately. Differential Revision: https://developer.blender.org/D6848
2020-02-24Fix Cycles Embree hair + motion blur failing after recent Catmull-Rom changeBrecht Van Lommel
Ref T73778
2020-02-24Fix T74169: Vector Rotate Node - Euler modes not working as intendedCharlie Jolly
Remove additional Euler modes for the time being, not working as intended, will add back if there is a need.
2020-02-24Fix unnecessary Cycles OptiX kernel loadingPatrick Mours
With the OptiX viewport denoiser active, an OptiX device was added to the device list even when rendering and denoising on different devices (e.g. CPU or CUDA) in background rendering. This fixes it, so the OptiX device is only added when actually needed, as in only when OptiX denoising is actually active in background rendering.
2020-02-20Cycles: Switched Embree to use Catmull-Rom curves.Stefan Werner
The latest versions of Embree support Catmull-Rom splines which use less memory than the previously used Hermite splines. The representation is also much closer to Cycles own data structures and can hopefully be unified in the future for more memory savings. Memory savings using Victor benchmark scene: Compared to previous Embree: ~400MB Compared to Cycles' native BVH: ~1GB