Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: WebGL Viewer Support #2

Open
aparrapo opened this issue Sep 24, 2019 · 0 comments
Open

Feature: WebGL Viewer Support #2

aparrapo opened this issue Sep 24, 2019 · 0 comments
Labels
do-not-reap Do not delete this pull request or issue due to inactivity. enhancement New feature or request

Comments

@aparrapo
Copy link
Contributor

The WebGL standard has been adopted by all modern web browsers and offers an API for rendering using the GPU on a browser. The browser is the end-all-be-all for many users, so making 6DoF consumable through the browser is a necessary step towards getting more people to experience the content.

The current behavior and new feature

GLViewer is the viewer for 6DoF content if not using a Rift headset. It is an extensive array of OpenGL and meshing code, so converting them to a similar WebGL viewer will likely be a significant undertaking. There is also the possibility of using wasm and compiling our C++ code to be ingested by a wasm-supported browser, but this seems more experimental and will likely have performance hitches.

Relevant Files:

  • source/viewer/GlViewer.cpp and linked headers, i.e.:
    • source/gpu/GlfwUtil.h
    • source/render/RigScene.h
    • source/render/VideoFile.h

Expected use cases

This would have great impact in making 6DoF content more easily consumable and, therefore, more likely for people to engage with the content. However, it will likely be a significant undertaking, for which we would likely recommend working in a small group (of say 2-3 people) towards completion.

@aparrapo aparrapo added enhancement New feature or request do-not-reap Do not delete this pull request or issue due to inactivity. labels Sep 24, 2019
@aparrapo aparrapo changed the title Feature: Feature: WebGL Viewer Support Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-reap Do not delete this pull request or issue due to inactivity. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant