File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- Move lights around a THREE.js scene.
1
+ Move lights around a THREE.js VR scene
2
+ ======================================
2
3
3
4
Right now, only one light can be controlled. A few things could be explored next:
4
5
- Manipulate different objects, by focusing the closest one on pinch.
5
6
- For handling close objects in constrained situations, use the mouse to select an object, and the hand to move it.
6
7
<br />This could be used also to manipulate different aspects of an object independently - such as rotation.
7
8
8
9
9
- Recording made with the LeapJS [ Recorder] ( http://developer.leapmotion.com/recorder ) .
10
+ Recording made with the LeapJS [ Recorder] ( http://developer.leapmotion.com/recorder ) .
Original file line number Diff line number Diff line change 8
8
< script src ="//js.leapmotion.com/leap-0.6.2.min.js "> </ script >
9
9
< script src ="//js.leapmotion.com/leap-plugins-0.1.7.min.js "> </ script >
10
10
< script src ="//js.leapmotion.com/leap.rigged-hand-0.1.5.min.js "> </ script >
11
-
11
+ <!-- Slightly modified version of OculusRiftEffect.js from THREE.js to target for DK2 -->
12
12
< script type ="text/javascript " src ="javascript/OculusRiftEffect.js "> </ script >
13
13
14
14
< style >
32
32
33
33
< div class ="info ">
34
34
< p >
35
- Designed to be used with a Oculus-mounted Leap Device. < a href ="# " onclick ="goFullScreen(); "> GO FULLSCREEN</ a >
35
+ Designed to be used with a Oculus-mounted Leap Device.
36
+ < a href ="# " onclick ="goFullScreen(); "> GO FULLSCREEN</ a >
36
37
</ p >
37
38
< script >
38
39
function goFullScreen ( ) {
59
60
</ body >
60
61
< script src ="javascript/scene.js "> </ script >
61
62
< script src ="javascript/controller.js "> </ script >
62
- </ html >
63
+ </ html >
You can’t perform that action at this time.
0 commit comments