chunky icon indicating copy to clipboard operation
chunky copied to clipboard

GPU rendering?

Open oatberry opened this issue 11 years ago • 11 comments

I would like to be able to render scenes with my GPU instead of my CPU.

oatberry avatar Oct 25 '14 15:10 oatberry

Q: Is GPU rendering supported? Not currently, but in the distant future Chunky may be able to render using GPUs that support OpenCL.

Last time I heard, It was either 1.4 or 1.5 that we might see it. Don't quote me on that though.

jackjt8 avatar Nov 14 '14 17:11 jackjt8

This is a duplicate issue, but I will leave it here because it is such a common question.

The answer remains the same: currently not working on it, might work on it next year. If I decide to start working on it again it probably still won't support all the features of the CPU renderer for a long time.

llbit avatar Dec 07 '14 15:12 llbit

@llbit Can we get a clear list of tasks that need to be done to allow implementing an OpenCL renderer? Because I’d probably be interested in working on that during semester break, but I haven’t worked with Chunky at all yet.

justjanne avatar May 02 '15 17:05 justjanne

@justjanne There is a working proof-of-concept for OpenCL rendering in the code. You could use that as a starting point. To get it to production level you'd have to do a lot of stuff. I can give you the requirements:

  • Upload texture data to GPU
  • Implement texture mapping
  • Implement local intersection models for every block that needs them (or support custom block modes, which is WIP for the Java renderer)
  • Implement BVH (probably don't want Octree on GPU)
  • Render fog
  • Render simulated sky
  • Render textured sky (equirectangular and polar projections)
  • Support HDR sky maps
  • Render clouds
  • Support all camera projections (spherical, steregraphic, parallel, pinhole, etc.)
  • Support for depth of field
  • Add water simulation (water world feature)
  • Implement entity rendering framework similar to Java renderer
  • Sync everything with the Java scene description

llbit avatar May 06 '15 03:05 llbit

Has there been any sort of update on this? My cpu isnt great but i have a good gpu and would love to get these images rendered in like a minute as opposed to hours

drewc5131 avatar Dec 21 '18 01:12 drewc5131

hey yo a year later since the last comment, any update AT ALL?

hate having to render on my i5 when my 1050ti could do it just as easy. Literally went out and learned how to render my world with blender just so I could render it faster

SeasonalFerret avatar Apr 06 '20 03:04 SeasonalFerret

nope

ProNoob135 avatar Apr 06 '20 06:04 ProNoob135

@SylveonBottle There are absolutely no plans of adding any form of GPU rendering support.

lUNuXl avatar Apr 06 '20 12:04 lUNuXl

@SylveonBottle There are absolutely no plans of adding any form of GPU rendering support.

then you should update the site

image

SeasonalFerret avatar Apr 06 '20 17:04 SeasonalFerret

  1. Main developer is MIA. There are forks but we don't have the ability to change anything here or regarding the site.

  2. Key part is that GPU rendering may be added in the future. llbit did work on it a bit a few years ago but otherwise there are no plans from currently developers to work on it.

jackjt8 avatar Apr 06 '20 17:04 jackjt8

Update since this still comes up frequently: There's a WIP plugin for GPU support made by @alexhliu (requires a recent Chunky 2.4 snapshot): https://github.com/alexhliu/ChunkyClPlugin

leMaik avatar Mar 27 '21 12:03 leMaik