forums.agvr.co

the official altergaze forums

Library for iOS/SceneKit

Anything Altergaze related: games, VR projects and 3D printing,

by SlashAndBurn » 20 Dec 2014, 07:36

I've been working on my app for so long that it's become a mess of prototype code and unused methods, so I started to rewrite my framework and simplify some of the logic.

The new library will handle device/hmd configurations, creating VR cameras, RenderTextures, orientation, distortion, color correction and rendering. I've been trying to make the library extendable so you won't be stuck with my few settings or you could just extend what I made.

At the moment the library is a pile of random untested classes, so I will need some time to sort out all the details, test and implement it back into my video app.

Main work flow would be, view shows up, you create the scene/camera, and then start the update/render flow. You can define multiple viewpoints, but only one can be active at a time. One thing that you need to take account of is this is using SceneKit to render, so some of the scenekit as a viewfeatures don't really work. Basically you need to make changes to the nodes to get work done.

I'm going for a static library approach, so I need to find a decent license where library changes should be shared, but your proprietary code can be kept private.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 22 Dec 2014, 19:35

Update #1:

I spoke with the ALPS-VR people about using parts of their Unity library with my SDK. So the Library will be GPL V3, but your App does not need to also be GPL V3.

And on the Library front, I have it rendering Mono & SBS images. Also I just added CoreMotion head tracking, but i'm looking into porting the ALPS-VR head tracking module in the next few days.

So currently i have manager/utility classes which will handle HMD Management (VR Devices), Mobile Device Management (Your phone), Trackers (Head Tracking), Renderers (Mono / SBS) & Color Correction. You can create Ghost cameras, which mean you don't have a neck, and head tracking is automatically applied. There will not be a way to disable head tracking.

Right now i'm battling a bug, which seems to only apply to SceneKit & GLKit, which means I have to double render the left eye.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 27 Dec 2014, 17:57

The fine folks over at Apple help me solve the double render eye issue, so now that problem is gone. Also I started to implement the head tracker from ALPS VR, but it's no where near ready because of differences between android and iOS. I guess I could start posting my code soon, after I start adding the license nonsense to each file's header.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 04 Jan 2015, 06:05

I was playing with SCN-VR today and fixed a few things. The Left eye render will now always clear the screen, so the need to have a background image has been removed. Also you can signal the system to not use head-tracking, which is handy for alignment screens.

Also the head tracker for ALPS-VR isn't functional, I have it coded, but something is different between iOS & android.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 05 Jan 2015, 22:55

I was talking with my tester and they though it would be neat, for iPads and other devices to have the ability to mimic other screens. So I'm going to add support, which is already built in but not enabled to have a virtual device inside your current device, so if desired you could render a smaller screen with black bars. I don't know the exact setup right now, like could you select iPad as your device, and iPhone 5S as your view. Only issue may be converting between the varius DPI's.

I may just add a new option called Virtual Screen, where you can tweak your selected device's options to add black bars and lower the final resolution.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 06 Jan 2015, 06:33

I just got virtual device support working in my latest build. It's only available to Tablet users, but it allows them to choose one of the following schemes.

Landscape (Standard)
Landscape 16:9
Portrait
Portrait 16:9
Virtual Device Landscape
Virtual Device Portrait

And the devices they choose to emulate include iPhone 4s/5/6/6+

When enabled black bars will appear around the view. I put my iPhone 5s next to the virtual output and the size was identical, so yeah.

iPhone 6 Plus is way to big, I may need to look at its settings and make some changes since it does that resizing thing.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 19 Jan 2015, 15:04

The library is now looking better, I still need to clean it up a bit, since I've been moving code around to build the profile system.

1) Profiles are here and streamline the setup process.

2) I need to go through the old Manager classes and strip out unneeded code. And also move some of my code from Mobile VR Player to it, since it's basically there to setup the edit views. I may leave that code outside the library and just have it in the starter project.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 03 Feb 2015, 15:03

The library is still being worked on and bugs removed. The biggest changes have been to the Profile Wizard objects, which are responsible for altering the profile.

Each profile has built in and extended attributes. You can define your own Wizard item instances and add them to the static WizardManager. Now all your setting and configuration can be defined per user.

The only thing i'm trying to alter right now is adding sections to Extended Attributes, because right now it's looking crazy.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 23 Feb 2015, 14:13

I'm starting to get the source code release ready.
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by pearlofMt » 23 Feb 2015, 21:18

the Glulxe iOS project includes the UI for importing and exporting save files. This has not yet been integrated into the iOSFizmo setup. Its not that theres anything hard about it; I just havent made the changes.
pearlofMt
 
Posts: 4
Joined: 27 Dec 2014, 10:47

by SlashAndBurn » 24 Feb 2015, 19:22

What are you talking about? :?
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by SlashAndBurn » 27 Feb 2015, 14:16

I uploaded the source code, as it is now. You could use it, but I haven't uploaded a demo yet.

https://github.com/mgatelabs/SCN-VR
Creator of Mobile VR Station, a VR media player for iOS platforms.
App: https://appsto.re/us/nlBn5.i
Website: http://mgatelabs.com/cms/mobile-vr-player/
Facebook: https://www.facebook.com/mobilevrstation/
User avatar
SlashAndBurn
 
Posts: 85
Joined: 20 Oct 2014, 13:25
Location: Alabama

by Indecente » 03 Jul 2015, 19:07

i updated to iOS 8.4 and non of my music is showing up., i went into setting to see if i can select show all but noting is there for me to click., when i type the name of the artist its there but my library isn't ... HEEEEELLLLLPPPPP
Indecente
 
Posts: 6
Joined: 06 Jun 2015, 15:14

by Indecente » 04 Jul 2015, 15:22

Civ rev II has no multiplayer for iOS at least, get civ rev 1 I you pay extra for multiplayer but it is faster and has better controls.
Indecente
 
Posts: 6
Joined: 06 Jun 2015, 15:14


Return to General Discussions

cron