bjornbytes / lovr-docs

Documentation for LÖVR
44 stars 35 forks source link

Mirror HUD example #8

Closed mcclure closed 5 years ago

mcclure commented 5 years ago

Here is an example of a simple program that uses HUD and a mouse. Click on the grid to create or destroy vertical boxes. The idea is one person can be in VR and the other person is "editing" the space they're in.

Things that should change before this is checked in:

Stray thought:

mcclure commented 5 years ago

This is ready to be merged I think. The glitch graphics bug is fixed with current master and there are comments in. I don't think after all I should switch to Lovr vectors because most of the vectors are 2-vectors and probably using Lovr's current 3-vectors to simulate 2-vectors will be no less confusing than just doing x,y separately as I do here.

Note, I never did test this on real hardware.

bjornbytes commented 5 years ago

There is 1 more bug on real hardware (known bug, this is the first app to encounter it) that I'm going to fix before merging.

Also, our GLFW is 2 years old, I am trying to upgrade it to see if it fixes the jumpy mouse.

bjornbytes commented 5 years ago

Merging this finally!