bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
14.92k stars 1.93k forks source link

WebVR support #893

Closed njbrown closed 1 year ago

njbrown commented 8 years ago

Are there plans for webvr support for bgfx?

ghost commented 8 years ago

@kariem2k Instead of saying +1 just choose the +1 emoticon.

bkaradzic commented 8 years ago

Is there any info about support in Emscripten?

njbrown commented 8 years ago

The Minko engine supports it. I'm gonna dig around to see how they implemented it. https://groups.google.com/forum/#!topic/emscripten-discuss/NI02hHcsVNI http://oculus-rex.com/ https://github.com/aerys/minko/ https://minko.io/

njbrown commented 8 years ago

they used evaluated statements https://github.com/aerys/minko/blob/e215153374d0970b0f2af5fcb17579866f52f4c1/plugin/vr/src/minko/oculus/WebVROculus.cpp