microsoft / HoloJS

Provides a framework for creating holographic apps using JavaScript and WebGL.
MIT License
1.19k stars 114 forks source link

Add samples website and generic HoloJS viewer app for web hosted apps #74

Closed Almost-Done closed 7 years ago

Almost-Done commented 7 years ago

Abstract the logic of managing the CoreWindow and OpenGL resources from the native app. HoloJsAppView and HoloJsAppSource classes have been added that take care of these tasks. The native code for a HoloJS app is just 2 lines long: auto holoJsAppSource = ref new HoloJsAppSource(ref new String(L"scripts/app.json")); CoreApplication::Run(holoJsAppSource);

Options for running the app are exposed by the HoloJsAppView class: world origin location, image stabilization, etc.

Add web hosted samples for an FBX loader and PhotoSphere. Add sample website that hosts these samples. The web hosted samples work in the browser (through app.html) or can launch in a viewer app through a protocol handler registered by the viewer app.