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
2021-12-07Cycles: Metal host-side codeMichael Jones
This patch adds the Metal host-side code: - Add all core host-side Metal backend files (device_impl, queue, etc) - Add MetalRT BVH setup files - Integrate with Cycles device enumeration code - Revive `path_source_replace_includes` in util/path (required for MSL compilation) This patch also includes a couple of small kernel-side fixes: - Add an implementation of `lgammaf` for Metal [Nemes, Gergő (2010), "New asymptotic expansion for the Gamma function", Archiv der Mathematik](https://users.renyi.hu/~gergonemes/) - include "work_stealing.h" inside the Metal context class because it accesses state now Ref T92212 Reviewed By: brecht Maniphest Tasks: T92212 Differential Revision: https://developer.blender.org/D13423
2021-12-02Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-12-02Fix T93560: crash with image paint undo and cycles preview renderBrecht Van Lommel
Cycles preview rendering could free the image buffers being used by drawing in another thread due to a race condition. This race condition was unlikely before, but now that preview renders are started right before we draw the image in the image editor or load it as a texture in the 3D viewport, it's likely to happen. As we are close to release this is too risky to fix properly, just avoid freeing the cache for preview renders instead and accept increased memory usage in some cases.
2021-11-30Cleanup: spelling in comments & stringsCampbell Barton
2021-11-25Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-25Cycles: expose direct light sampling option in Debug panel, tweak panel layoutBrecht Van Lommel
2021-11-25Fix build error with experimental features after recent release cycle bumpBrecht Van Lommel
Hair, pointcloud and simulation datablock types should be disabled in the beta cycles already like other experimental features.
2021-11-24Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-24Fix inconsistent UI terminology for tiling optionBrecht Van Lommel
Was meant to be Use instead of Using.
2021-11-23Cleanup: Use new CollectionRef::empty() methodJesse Yurkovich
Use the new CollectionRef::empty() method in all locations where appropriate. Differential Revision: https://developer.blender.org/D13276
2021-11-22Fix confusing new Cycles UI terminologyBrecht Van Lommel
* Rename "Auto Tiles" to "Use Tiling", it's not really automatic and confusing with the old auto tile size add-on. * Rename "Adaptive" scrambling distance to "Automatic", to avoid confusion with adaptive sampling.
2021-11-22Fix confusing new Cycles UI terminologyBrecht Van Lommel
* Rename "Auto Tiles" to "Use Tiling", it's not really automatic and confusing with the old auto tile size add-on. * Rename "Adaptive" scrambling distance to "Automatic", to avoid confusion with adaptive sampling.
2021-11-19Cleanup: fix typos in comments and docsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D10447
2021-11-18Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-11-18Fix T93082: Cycles baking not handling transparency correctlyBrecht Van Lommel
For baking, replace transparent BSDF with holdout for baking. This ensure no objects behind are baked, and that the baked image has alpha.
2021-11-17Cycles: add build option to enable a debugging feature for MISSebastian Herholz
This patch adds a CMake option "WITH_CYCLES_DEBUG" which builds cycles with a feature that allows debugging/selecting the direct-light sampling strategy. The same option may later be used to add other debugging features that could affect performance in release builds. The three options are: * Forward path tracing (e.g., via BSDF or phase function) * Next-event estimation * Multiple importance sampling combination of the previous two methods Such a feature is useful for debugging light different sampling, evaluation, and pdf methods (e.g., for light sources and BSDFs). Differential Revision: https://developer.blender.org/D13152
2021-11-17Build: match GCC and Clang float conversion warnings in CyclesBrecht Van Lommel
2021-11-17Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-17Fix build error with strict double to float conversionBrecht Van Lommel
2021-11-16Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-16Fix T93125: Cycles wrong remaining render time with high number of samplesBrecht Van Lommel
Avoid integer overflow.
2021-11-12Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-12Fix T92002: no Cycles combined baking support for filter settingsBrecht Van Lommel
2021-11-12Fix Cycles ray visibility panel missing for volume objectsBrecht Van Lommel
2021-11-12Fix Cycles ray visibility panel missing for volume objectsBrecht Van Lommel
2021-11-11Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-11Fix T93005: Cycles shadow catcher not inherited by instancesBrecht Van Lommel
2021-11-11Cycles: Add sample offset optionAndrii
This patch exposes the sampling offset option to Blender. It is located in the "Sampling > Advanced" panel. For example, this can be useful to parallelize rendering and distribute different chunks of samples for each computer to render. --- I also had to add this option to `RenderWork` and `RenderScheduler` classes so that the sample count in the status string can be calculated correctly. Reviewed By: leesonw Differential Revision: https://developer.blender.org/D13086
2021-11-10Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-10Fix T92864: curve object does not sync correctly in cyclesJacques Lucke
The issue was that the `object_is_geometry` method was used in two different contexts that expected the function to behave differently. So a recent change that fixed `object_is_geometry` for one context, broke it for the other context. The two contexts are: * Check if a "real" object can contain a geometry to check if it has to be tagged for sync after an update. * Check if an object/instance actually is a geometry that cycles can work with. I created a new `object_can_have_geometry` method for the first use case, instead of trying to adapt the existing object_is_geometry method to serve both uses. Additionally, I changed it so that a BObjectInfo is passed into `object_is_geometry` to make it more explicit when this method is supposed to be used. Differential Revision: https://developer.blender.org/D13135
2021-11-09Merge branch 'blender-v3.0-release'Aaron Carlisle
2021-11-09Cycles: mark both RDNA and RDNA2 as support for HIPBrecht Van Lommel
2021-11-09Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-09Cycles: add AMD driver version info for HIP on WindowsBrecht Van Lommel
2021-11-05Fix T92815: Incorrect handling of evaluated meshes from curvesHans Goudey
Evaluated meshes from curves are presented to render engines as separate instance objects now, just like evaluated meshes from other object types like point clouds and volumes. For that reason, cycles should not consider curve objects as geometry (previously it did, meaning it retrieved a second mesh from the curve object as well as the temporary evaluated mesh geometry). Further, avoid adding a curve object's evaluated mesh as data_eval, since that is special behavior for meshes that is arbitrary. Adding an evaluated mesh there but not an evalauted pointcloud is arbitrary, for example. Retrieve the evaluated mesh in from the geometry set in BKE_object_get_evaluated_mesh now, to support that change. This gets us closer to a place where all of an object's evaluated data is stored in geometry_set_eval, and we just have helper functions to access specific geometry components. Differential Revision: https://developer.blender.org/D13118
2021-11-05Fix T92815: Incorrect handling of evaluated meshes from curvesHans Goudey
Evaluated meshes from curves are presented to render engines as separate instance objects now, just like evaluated meshes from other object types like point clouds and volumes. For that reason, cycles should not consider curve objects as geometry (previously it did, meaning it retrieved a second mesh from the curve object as well as the temporary evaluated mesh geometry). Further, avoid adding a curve object's evaluated mesh as data_eval, since that is special behavior for meshes that is arbitrary. Adding an evaluated mesh there but not an evalauted pointcloud is arbitrary, for example. Retrieve the evaluated mesh in from the geometry set in BKE_object_get_evaluated_mesh now, to support that change. This gets us closer to a place where all of an object's evaluated data is stored in geometry_set_eval, and we just have helper functions to access specific geometry components. Differential Revision: https://developer.blender.org/D13118
2021-11-04Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-04Cycles: add code to check for supported HIP device architecturesBrecht Van Lommel
RDNA2 only for now to be conservative, but testing more hardware is underway. Ref T92393 Differential Revision: https://developer.blender.org/D12958
2021-11-04Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-04Fix T91986: incorrect syncing of geometry instancesJacques Lucke
The issue was that some geometries were not synced again even when they changed. This commit adds a map that keeps track of the geometries that need to be updated when an object has changed. Differential Revision: https://developer.blender.org/D13020
2021-11-02Merge branch 'blender-v3.0-release'Thomas Dinges
2021-11-02Fix typo in Cycles PMJ enum define.Thomas Dinges
Reported by Raimund58 in the chat, thanks!
2021-11-01Merge branch 'blender-v3.0-release'Thomas Dinges
2021-11-01Fix Cycles integrator presets.Thomas Dinges
New presets couldn't be added.
2021-11-01Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-01Fix Python error running regression tests after recent changesBrecht Van Lommel
2021-11-01Merge branch 'blender-v3.0-release'Clément Foucault
2021-11-01Cycles: Enable debug symbols for ClangOmar Emara
Debug symbols were disabled for Clang at some point due to link issues. This is no longer the case for any reasonably modern version of Clang. So this patch removes the check in question. Differential Revision: https://developer.blender.org/D13045 Reviewed By: brecht
2021-11-01Fix Cycles Python warnings when removed OpenCL device was enabledBrecht Van Lommel
2021-11-01Fix Cycles denoising depth pass missing in compositorBrecht Van Lommel