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
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-11Smoke: put density/color in separate textures, fixes for workbench shaderBrecht Van Lommel
This is more in line with standard grids and means we don't have to make many special exceptions in the upcoming change for arbitrary number of volume grids support in Eevee. The workbench shader was also changed to fix bugs where squared density was used, and the smoke color would affect the density so that black smoke would be invisible. This can change the look of smoke in workbench significantly. When using the color grid when smoke has a constant color, the color grid will no longer be premultiplied by the density. If the color is constant we want to be able not to store a grid at all. This breaks one test for Cycles and Eevee, but the setup in that test using a color without density does not make sense. It suffers from artifacts since the unpremultiplied color grid by itself will not have smooth boundaries. Differential Revision: https://developer.blender.org/D6951
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-11GHOST: tests now build againCampbell Barton
GLX gears work as expected, multitest_c only creates windows but misses font drawing still.
2020-03-11Cleanup: remove bitmap font drawing ifdef from MultiTest.cCampbell 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-09Fix part of T73921: hang with Eevee light baking and MantaflowBrecht Van Lommel
Now it crashes instead.
2020-03-08Fix T74537: Fixed out of bounds memory access in Cycles' PMJ sampler.Stefan Werner
2020-03-07Fluid: Optimization for smoke simulation (multigrid)Sebastián Barschkis
The solver will now automatically detect static scenes (no moving obstacles) and use a slightly faster pressure solve in those cases.
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-06Cleanup: Fix forward declaration of headersDalai Felinto
2020-03-06Cycles: cleanup warningDalai Felinto
2020-03-06Fluid: Revert bc2ce31d7940 (changes to open boundaries)Sebastián Barschkis
Changes from that commit turned out to be unstable.
2020-03-06Cleanup: tweak Cycles #includes in preparation for clang-format sortingBrecht Van Lommel
2020-03-06Cleanup: spellingCampbell Barton
2020-03-06Fix memory leak in the colorio fallback implementation.Sebastian Parborg
We would previously not store the transforms that were added to the group transform node. This would lead to pointer to allocated memory being lost and not freed.
2020-03-06Attempt to fix build errors on macOSJulian Eisel
Mistake in 5be0e3430d13
2020-03-06GHOST/Keymap: support for detecting repeat eventsCampbell Barton
- Keymap items now have 'repeat' boolean which can be set to make keymap items respond to key repeat events or not. - Support for X11 & WIN32 (not macOS currently). This allows for the possibility to perform actions while a key is held and finish the action upon release. Thanks to @Severin for review and WIN32 support.
2020-03-06Cleanup: spellingCampbell Barton
2020-03-05Ghost: Support drawing OpenGL framebuffers into a DirectX 11 bufferJulian Eisel
Adds a minimal DirectX 11 Ghost context, plus some shared DirectX-OpenGL resource interface using the NV_DX_interop2 WGL extension. From what I know, this should be available on modern GPUs. If not, it should fail gracefully. There should be no user visible changes at this point. Needed for DirectX-only OpenXR platforms (e.g. Windows Mixed Reality). I heard there are other use-cases as well though. It's known that this currently fails on some AMD systems, but that seems to be fixable. Most of this comes from the 2019 GSoC project, "Core Support of Virtual Reality Headsets through OpenXR" (https://wiki.blender.org/wiki/User:Severin/GSoC-2019/). Reviewed by: Jeroen Bakker, Ray Molenkam, Brecht van Lommel Differential Revision: https://developer.blender.org/D6190
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-05Fluid: More optimizations in smoke / liquid scriptsSebastián Barschkis
Reduced extrapolation distances, no need to extrapolate that far.
2020-03-05Fluid: Diffusion settings now optionalSebastián Barschkis
For optimization purposes these settings need to be enabled explicitly from now on.
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-05Fix T74446: Liquid Inflow Does Not WorkSebastián Barschkis
Somehow this was forgotton in the optimization patch a5c4a44df67e.
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-04Fluid: Bounding boxes for effector objectsSebastián Barschkis
This commit adds bounding box support for emission objects - similarly to flow objects. Before, each effector object had to iterate over the entire domain. Bake times of scenes with multiple obstacles improved significantly with this optimization. Other improvements that were implemented alongside the bbox feature: - Option for subframe sampling for effector objects - Option to enable / disable effectors (can be animated) - Optimization for static objects. If a flow or effector object does not move and the adaptive domain is not in use, the bake time will be optimized further by reusing the flow / effector grids from the previous frame (no recalculation).
2020-03-04Fluid: Added sanity grid initializations in smoke / liquid scriptsSebastián Barschkis
Just a sanity check.
2020-03-04Fluid: Naming cleanup for flags gridSebastián Barschkis
Use flags instead of obstacle to avoid confusion with obstacle levelset grid.