Cycles is a path tracing renderer focused on interactivity and ease of use, while supporting many production features.
https://www.cycles-renderer.org
Cycles can be built as a standalone application or a Hydra render delegate. See BUILDING.md for instructions.
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
How to Update ccycles.dll Properly
Ensure both the Mac and the Windows sections are completed.
-
For Apple Silicon devices:
- Ensure you have the universal binaries. Download them here.
- Unzip the binaries to
RDK/cycles/lib/darwin_universal.
-
For non-Apple Silicon devices:
- Navigate to
RDK/cycles/cycles. - Run the command
make update.
- Navigate to
-
Go to
RDK/cycles/cyclesand runmake release. -
Execute
cp -r install/* ../../../../../../big_libs/RhinoCycles/ccycles/osx/release/. -
Go to
big_libs, create a branch if needed and execute:
git add -f RhinoCycles/ccycles/osx/release/libccycles.dylib
git commit
git push <branch_name>
-
Checkout the
big_libsbranch made above. -
Navigate to
RDK/cycles/cycles. -
Execute
rm -fr build/. -
Run
./make_rhino.bat release all.
- This will end with a build error.
- Open
Cycles.sln.
- Switch the target to Release.
- Right-click the
cycles_deviceproject and selectOpen folder in File Explorer.
- Open
cycles_device.vcxprojwith a text editor.
- Search for the string
/J /bigobj. - Ensure you found the one for the Release target and change it to
/J /bigobj /Zc:__cplusplus.
-
Go back to
Cycles.sln, reload the project, and then pressBuild. -
After the build is finished, explicitly build the
INSTALLproject. -
Download ResourceHacker if you haven't and ensure the executable is in Windows' PATH.
-
Navigate to
RDK/cycleswith PowerShell and execute the script:
.\versioninfo_changer.ps1
- Copy the following two files:
RDK/cycles/cycles/install/ccycles.dllRDK/cycles/cycles/install/cycles_kernel_oneapi_jit.dll
To the following folder: big_libs\RhinoCycles\ccycles\win\release
- Go to
big_libsand execute:
git add -f RhinoCycles/ccycles/win/release/ccycles.dll RhinoCycles/ccycles/win/release/cycles_kernel_oneapi_jit.dll
git commit
git push
For help building or running Cycles, see the channels listed here: