Slightly longer video
If you can't tell what is happening: that red point and box are being translated so they are always over the sensor. This uses OpenPeripheral's terminal glasses to draw the screen and its sensor to get where I am looking and my position. I'm then converting that information into a matrix and projecting the point to it renders in the correct location. This could easily be extended to draw lines between points or entire objects in world.
However, there are
- High latency: getting player position takes a tick, then sending to the client takes another tick so there is a large delay between user movement and what is show.
- No Z buffer/Z-sorting: so objects closer to you may not be drawn in front of objects further away.
- Things aren't perfectly positioned when further away.
Edited by SquidDev, 24 May 2016 - 01:37 PM.