Xcode 15 Ray Tracing Playgrounds

It appears that playgrounds don’t seem to be working well with Metal ray tracing in the first beta of Xcode 15 on macOS Sonoma.

In the meantime, so that you can continue working, here are starter and final projects for Chapter 27, Rendering With Rays:

Clouds-starter.zip (39.8 KB)
Clouds-final.zip (45.9 KB)

If you have any difficulty converting the instructions from the book’s playground code to this Xcode project code, please ask here.


Thanks for this. My playground doesn’t do anything but this works fine.

1 Like