ThatRedox / ChunkyClPlugin

An OpenCL raytracer for Chunky.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ Development has been moved to chunky-opencl! ⚠️

ChunkyCL

ChunkyCL is a plugin to the Minecraft Path-tracer Chunky which harnesses the power of the GPU with OpenCL 1.2+ to accelerate rendering. It is currently a work in progress and does not support many features such as biome tinting. The core renderer itself is still under development so render results may change drastically between versions.

Downloads

Note: Even if the build is failing, the link will link to the latest successful build.

Installation

Note: If you are using Chunky 2.4.X, use the stable build.

Note: The latest version development version requires the 2.5.0 snapshots.

Download the latest plugin build and extract it. In the Chunky Launcher, expand Advanced Settings and click on Manage plugins. In the Plugin Manager window click on Add and select the .jar file in the extracted zip file. Click on Save and start Chunky as usual.

image

Select ChunkyCL as your renderer for the scene in the Advanced tab.

image

Performance

Rough performance with a RTX 2070 is around 400 times that of the traditional CPU renderer as of 2022-01-27.

Some settings have been added to improve render performance.

  • Indoor scenes should disable sunlight under Lighting
  • Draw depth may be adjusted under Advanced
  • Draw entities may be unchecked under Advanced
  • OpenCL Device selector under Advanced

Compatibility

  • Not compatible with the Denoising Plugin.

Development

This project is setup to work with IntelliJ and CLion. The base directory is intended to be opened in IntelliJ and the src/main/opencl directory in CLion.

Copyright & License

ChunkyCL is Copyright (c) 2021 - 2022, ThatRedox and Contributors.

Permission to modify and redistribute is granted under the terms of the GPLv3 license. See the file LICENSE for the full license.

ChunkyCL uses the following 3rd party libraries:

About

An OpenCL raytracer for Chunky.

License:GNU General Public License v3.0


Languages

Language:Java 51.3%Language:C++ 27.7%Language:C 20.5%Language:CMake 0.4%