googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

How to Show panorama images from URL #209

Closed parveshmishra closed 7 years ago

parveshmishra commented 7 years ago

I have load panorama images from my server.

sanjayc77 commented 7 years ago

Take a look at GVRKit's GVRImageRenderer: https://github.com/googlevr/gvr-ios-sdk/blob/master/Samples/GVRKit/GVRImageRenderer.h

You can easily add a function to initialize from a URL, using textureWithContentsOfURL: https://github.com/googlevr/gvr-ios-sdk/blob/master/Samples/GVRKit/GVRImageRenderer.mm#L30