Cycles renderer
Go to file
Michael Jones (Apple) 6170e50fbd Fix #116243, #122022 - metalrt live viewport stability issues
This PR fixes live viewport stability issues on Mac when MetalRT is enabled.

There were two sources of instability:

1) `MTLAccelerationStructure` instances were not being correctly retained meaning that use-after-free crashes could occur following a geometry sync.
2) `MTLIntersectionFunctionTable` objects could be unsafely shared between multiple `MetalDeviceQueue` instances (in this case, `setBuffer` being the unsafe mutation)

The solution to 2 involves creating a new `MetalDispatchPipeline` type which is strictly used by only 1 `MetalDeviceQueue` instance.

Pull Request: blender/blender#124055
2024-07-23 22:08:45 +02:00
.gitea/default_merge_message Gitea: Add pull request templates 2024-02-09 17:22:40 +01:00
.github/workflows Build: Switch from Subversion to Git LFS for libraries 2024-06-26 13:30:39 +02:00
examples Expose object node in XML API (#8) 2024-01-15 20:04:22 +01:00
lib Build: Update libraries to 4.2 2024-06-27 02:36:18 +02:00
src Fix #116243, #122022 - metalrt live viewport stability issues 2024-07-23 22:08:45 +02:00
third_party Build: Update hipew to match Blender 2024-06-26 19:18:41 +02:00
tools Tools: Add scripts to sync from the Blender repo 2024-06-26 19:18:41 +02:00
web Web: remove dead twitter link, fix grammar 2023-11-03 15:59:25 +01:00
.clang-format Tools: Match clang format to Blender 2024-06-26 18:57:05 +02:00
.gitignore Build: changes to improve Windows build 2022-04-25 13:53:56 +02:00
.gitmodules Build: Switch from Subversion to Git LFS for libraries 2024-06-26 13:30:39 +02:00
AUTHORS Add cycles-renderer.org website to repository 2022-09-26 03:01:46 +02:00
BUILDING.md Build: Raise required Houdini version to 20.x 2024-06-26 13:30:39 +02:00
CMakeLists.txt Cleanup: Silence warning with newer CMake 2024-06-26 13:30:39 +02:00
GNUmakefile Tests: Add basic test to check if standalone can launch 2024-06-26 13:29:54 +02:00
LICENSE Initial integration of build system for standalone repository 2014-11-15 19:54:48 +05:00
make.bat Tests: Add basic test to check if standalone can launch 2024-06-26 13:29:54 +02:00
README.md Build: support building Hydra render delegate for Houdini 2022-04-12 19:45:33 +02:00

Cycles Renderer

Cycles is a path tracing renderer focused on interactivity and ease of use, while supporting many production features.

https://www.cycles-renderer.org

Building

Cycles can be built as a standalone application or a Hydra render delegate. See BUILDING.md for instructions.

Examples

The repository contains example xml scenes which could be used for testing.

Example usage:

./cycles scene_monkey.xml

You can also use optional parameters (see ./cycles --help), like:

./cycles --samples 100 --output ./image.png scene_monkey.xml

For the OSL scene you need to enable the OSL shading system:

./cycles --shadingsys osl scene_osl_stripes.xml

Contact

For help building or running Cycles, see the channels listed here:

https://www.cycles-renderer.org/development/