Add support for Apple Metal rendering for macOS and iOS

Has there been any discussion internally at Kitware about Apple’s move as of WWDC 2018 to not support OpenGL any more?

Looks like there needs to be a Metal backed rendering system to support this move. I would really like to hear thoughts from Kitware on how this will be handled. Happy to help where we can!

Perhaps the best route would be for VTK to adopt Vulkan, and support macOS via MoltenVK:

https://en.wikipedia.org/wiki/Vulkan_(API)#MoltenVK

I too would be interested to know if Kitware has any plans in this area.

Sean

1 Like

See this discussion including Kitware people reacting to the news at the time.

It could be nice to get an update from Kitware on this topic.

Vulkan + MoltenVK is the way imo.

Implementing the Vulkan rendering will not be an easy task though.

I agree with Mathieu and Sean, vulkan + moltenvk for the win.

Our rough plan is to build a prototype on top of the SceneGraph+RayTracing structure we developed for OSPRay, ie SceneGraph+Vulkan, and use that to discover what we need to do. Whether we keep that architecture or not is undecided.

We have not started implementing anything yet to my knowledge.

@lassoan @mwestphal @Dave_DeMarle thanks for your responses. I hadn’t checked back in on MoltenVK in awhile and didn’t realize they had opened it with a free implementation GitHub, that’s good news!

I’ll be happy to test, break, and fix whenever y’all start working on the Vulkan API.

Cheers,
Cole