publiclab/infragram

Prototype a split-screen "VR" variant for Google Cardboard (fun)

开放

#43 创建于 2019年1月9日

 (2 条评论) (0 个反应) (0 位负责人)HTML (163 个派生)auto 404
help wanted

仓库指标

星标
 (50 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I've been wanting to run this in Google Cardboard, so you can view real-time as a kind of immersive experience. This would not be too complex, in theory; we could just put 2 canvases next to each other for a basic version.

image

I've attempted this very roughly in this PR: https://github.com/publiclab/infragram/pull/42 but we'll need to modify the code to recognize multiple canvas elements, and run all our setup code on both. I'll highlight where this may need to happen.

A later version might try to intercept the construction of the 3d environment in WebGL and mirror it -- this could be higher performance -- but it would be more complex as well. So let's do the easy version first.

We'll want it to look kind of like this in full-screen mode, although of course not of a virtual roller coaster 😄

image

贡献者指南