Announcing iOS support

68 views
Skip to first unread message

Robert Osfield

unread,
Apr 26, 2022, 11:47:59 AM4/26/22
to vsg-users : VulkanSceneGraph Developer Discussion Group

From Iconiq Labs (https://www.iconiqlabs.com), a software company located in València (Spain), with long and happy experience with OpenSceneGraph,

we are happy to announce that we've managed to support and run VulkanSceneGraph in iOS. Here is a picture of VSG running the LZ sample model on an iPhone 8.

iOS.png

We'd like to share our effort with the project and contribute to its success as we have a lot of faith with it. We've created the following PR's for the project management to consider this. We hope it is accepted and everyone enjoys this as much as we did developing it.

VulkanSceneGraph core:
https://github.com/vsg-dev/VulkanSceneGraph/pull/433

vsgExamples:
https://github.com/vsg-dev/vsgExamples/pull/143

We are aware that the code might need some pretty minor changes, but we believe it is mature enough and the heavy lifting is done so that it can be made public as it is.

Cheers,

Jaume Faus,

Ranen Ghosh

unread,
May 12, 2022, 8:52:32 AM5/12/22
to vsg-users : VulkanSceneGraph Developer Discussion Group
Are there any tips on how to install vulkan and build vsg for iOS support?

The MoltenVK README indicates that I should not use the VulkanSDK in this case, but instead source from the MoltenVK repository:
https://github.com/KhronosGroup/MoltenVK
If you are developing a Vulkan application for macOS, it is highly recommended that you use the Vulkan SDK and the MoltenVK library included in it.  … If you are developing a Vulkan application for iOS … you can use this document to learn how to build a MoltenVK runtime library from source code.

However after building the MoltenVK framework, I couldn't get cmake to complete successfully in VulkanSceneGraph.
For one thing, it required a Vulkan version > "1.2.162.0" but the MoltenVK version is an implementation of vulkan 1.1. Beyond that I couldn't find explicit_layer.d in the MoltenVK source tree, as referenced here
https://github.com/vsg-dev/VulkanSceneGraph/blob/master/INSTALL.md#detailed-instructions-for-setting-up-your-environment-and-building-for-macos

Ranen Ghosh

unread,
May 12, 2022, 9:00:01 AM5/12/22
to vsg-users : VulkanSceneGraph Developer Discussion Group
Please disregard.  I apologize - although I searched before I found this relevant info only after posting this question :(
https://github.com/KhronosGroup/MoltenVK/blob/master/Docs/MoltenVK_Runtime_UserGuide.md

Jaume Faus

unread,
May 13, 2022, 3:55:30 AM5/13/22
to vsg-...@googlegroups.com

Hi Ranen, I'd be very much interested in learning how did it go for you in iOS to see if there is anything that can be improved. Please, let us know about your experience.

Regards,
Jaume

--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/6ae6c059-ad63-4a74-a9ee-ddc576fdc5fen%40googlegroups.com.

  
Reply all
Reply to author
Forward
0 new messages