Useful Stuff In LeapMotion Folder: —————————————————————————————————————————————————————————————————————————————————————————— 3DLeapTest.html - Allows you to move a simple X3D object with your hand (up, down, left, right), and rotates the object in whatever axis you choose with the rotation of your hand. 3DLeapTest6.html - Provides a simple crosshair that you can control with the Leap. Allows for selection of objects in the canvas (only by location on the canvas - has nothing to do with it knowing where the object starts and begins, unfortunately). LeapAnd3DTest5.xhtml - Finalized video mapping test. Includes LeapMotion controls (keytap to switch between which slider is being manipulated, hand rotation for up/down on the slider), saving the position of the video texture, restoring the texture to the default position, and making a new default. LeapCanvas.xhtml - Canvas that detects the X/Y location where your hand is. Might be useful for something. —————————————————————————————————————————————————————————————————————————————————————————— Useful Stuff In Oculus Folder: —————————————————————————————————————————————————————————————————————————————————————————— LeapShowcase3.html - Allows you to bring in models from local machine or snippet link, same as the X3DToRiftTool. Allows you to enable/disable visible axes that give an indication of which direction the object is turning when Leap Motion is enabled. Leap motion controls - clockwise/counterclockwise circle motions for rotating the object, vertical swipe motions for changing the axes of rotation (or scaling the object). OculusAndLeapTemplate.html - Template for bringing the necessary oculus code a new file. Includes special comment strings that the parser looks for. Includes code for Leap Motion controls, but python script doesn’t add them. x3d2rift.py - Script for turning X3DOM files into Oculus-capable X3DOM files. Parses the template file for the code that it will need, and concatenates it with code from the X3DOM file before inserting it into a new, user-indicated file. If no template file is indicated, then it will use a default. If no new file is indicated, then it will print the code to the console. The X3DOM file is the only necessary argument. Optional arguments: -t TemplateFile.html -n NewFile.x/html -B Opens new file in browser automatically upon completion of script -w px Size in px of the width of the X3D canvas -l px Size in px of the length (height) of the X3D canvas -h displays a help message to the user in the console X3DToRiftTool.html - Web application that enables Oculus capability with any .x3d model. The models can be uploaded from your local machine, linked from a snippet URL, or placed into a folder called “Models” in the current directory and they will be brought in automatically upon the loading of the page. Oculus Rift functionality is disabled by default - can be enabled/disabled at will. However, movements of the object made with the mouse will not travel over to the oculus version. The models are also able to be manipulated with Leap Motion. Circle motions move the sliders up/down and vertical swipes switch between the sliders being manipulated.