-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
WebVR Support - THREE.js & WebVR boilerplate #827
Conversation
It's a fun experiment, but I have to ask what the point would be? VNC is fundamentally 2D so I don't quite see what this adds. |
@ShaneHarris that's really neat, do you have any video of it in action? Is this just a fun project or do you have something you are using this for? I'm not sure it's appropriate for the main tree, however, I would be happy to see a link to your repository added to the list here: https://github.com/novnc/noVNC/wiki/Projects-and-companies-using-noVNC |
@kanaka yes i think your right its probably a bit out there for the main tree, would be awesome to add to the list. No video as of yet ill try to get one uploaded to youtube! I do have this demo of the screen distortion for large resolutions - To be honest i took a notion one evening and threw it together in a few hours code bashing so not really devoted currently. It just hooks into the main no vnc canvas and uses that as a texture for a mesh in THREE.js. I guess it's inspired by products like Big Screen VR and Virtual Desktop but i haven't even spared a thought to fundamentals like mouse & keyboard input or advanced configuration. I would like to see if its possible to hook straight into the separate differential tiles sent from the remote frame buffer and apply the tiles directly to separate meshes in THREE.js. This might give a bit of a performance boost to cut out the middle man so to speak. What is unique about this approach is the ability to visualise much higher resolutions, the above demo uses a 4k resolution on a laptop that supports a native max of 1360x768. I can enlarge the screen in VR and wrap it around a sphere geometry to compensate for the higher resolution. |
moved webvr description up a bit to make it easier to find.
added images for illustration.
spelling error
You could pass a custom version of |
@DirectXMan12 yes indeed i noticed most of the frame buffer and canvas guts going on in there I think that is probably the best way to hook into the direct feed. I have been looking at input too. It seems there are a few options but its not quite there yet. Here are some things i have considered: Leap Motion - https://www.youtube.com/watch?v=ckAGpmf21a8 There is always the cheap and cheerful webcam feed used in the RiftSketch project. https://www.youtube.com/watch?v=SKPYx4CEIlM I wonder how many computers i could VNC at once in VR with this library. Any idea what the limitations would be there? @kanaka I have created a new repo and i think a better approach is to add the noVNC repo as a submodule. its bare at the minute but ill be pushing the first commit this afternoon. |
fix to prevent typescript compilation errors.
Added to list of projects in wiki commit 4c509cb |
A basic example using WebVR to display the VNC canvas in VR with THREE.js.