Twinklebear / ChameleonRT

An example path tracer that runs on multiple ray tracing backends (Embree/DXR/OptiX/Vulkan/Metal/OSPRay)
MIT License
601 stars 39 forks source link

Integration with Apple 3D frameworks (SceneKit, RealityKit)? #10

Closed alelordelo closed 2 years ago

alelordelo commented 2 years ago

Hello Will,

Thanks for sharing such a high caliber repo! : )

is it possible to integrate Chameleon Metal into Apple 3D frameworks like SceneKit or RealityKit?

Best Alex

Twinklebear commented 2 years ago

Hey Alex,

Thanks! It's an interesting idea, I haven't used SceneKit or RealityKit, but it seems like SceneKit has this SCNSceneRendererDelegate that can be used to implement custom rendering. So it might be possible to pull the Metal backend out and use it to do rendering there? There might be a similar way to add custom rendering in RealityKit?

I'll close this issue since I'd leave this kind of integration/use case to something separate from this repo. But if you try this out, I'd be curious to know how it goes!

-Will