Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Swift version? #314

Open
bsabiston opened this issue Mar 14, 2018 · 7 comments
Open

Swift version? #314

bsabiston opened this issue Mar 14, 2018 · 7 comments

Comments

@bsabiston
Copy link

bsabiston commented Mar 14, 2018

Are there any plans for a native Swift version of the SDK?

@bsabiston bsabiston changed the title Documentation out of date? Swift version? Mar 14, 2018
@Performador
Copy link

We currently do not have plans for a Swift version. Is there a particular reason you're looking for a Swift framework?

@bsabiston
Copy link
Author

Just seems like Objective C is on the way out. Swift seems to be the thing to be using for current Apple software.

@Performador
Copy link

You are correct but under the hood, most of GVRSDK is C++ with minimal Obj-C which you should be able to import into Swift land (except for #312 which we're looking into). I do not expect a pure Swift implementation to be any more performant.

@bsabiston
Copy link
Author

Okay. What I really need is a Metal version. I'm trying to Frankenstein the SDK onto my Metal app currently. It's kind of working. Is the source code available for the SDK? I'm trying to figure out how to do the lens distortion...

@Performador
Copy link

Unfortunately the mesh distortion code is not open source. We're looking into how we can support Metal.

@bsabiston
Copy link
Author

Okay, thanks. I'm thinking now that instead of using Metal to display the scene, I should probably just use it to render to a texture and then pass that back to the google cardboardView so that it can do the lens distortion.

@NeethuAntony
Copy link

Hi did the gvr-ios-sdk is available which uses Metal Api for rendering?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants