PDA

View Full Version : Tablet Orientation as input device


JB_HP_Viz
01-14-2015, 11:41 AM
Has anyone integrated a tablet as an input device for controlling a viewpoint in Vizard using the tablet's orientation capability as shown in this example:
http://www.html5rocks.com/en/tutorials/device/orientation/

Jeff
01-20-2015, 05:22 AM
If there is a browser that supports reading the orientation data and also websocket communication than this maybe possible.

JB_HP_Viz
04-08-2015, 01:10 PM
Jeff,

I modified the driving_vizhtml file you provided me back in February that showed how to connect an HTML button to a transport in vizconnect and instead used a Tablets orientation data to control moving the mini forward and backward; left and right. I'm attaching the vizard file.

It works but not very useful since it isn't that easy to control going forward or reverse without turning.

Let me know if you have any thoughts on how I might be able to do a better user interface that uses the orientation data. Any comments or feedback would be appreciated.

Thank you for all the great examples you always provide, that have made it easy to modify and update for other uses.

John