Changeset 593
- Timestamp:
- 11/29/11 18:32:15 (6 months ago)
- Location:
- trunk/examples/display
- Files:
-
- 1 added
- 1 edited
-
ray-gray.iv (added)
-
two_view_wiimote.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/display/two_view_wiimote.py
r448 r593 63 63 #continue only if a wiimote and the statsviewer device were successfully created (The TwoView display supports this) 64 64 if not wiimote or not stats_viewer: 65 print "Wiimote or stats viewer is Null. Exit" 65 66 sys.exit() 66 67 … … 76 77 pickray_transform = avango.osg.nodes.MatrixTransform() 77 78 pickray_transform.Matrix.connect_from(wiimote.Matrix) 78 pickray_object = avango.osg.nodes.LoadFile(Filename=" data/models/ray-gray.iv")79 pickray_object = avango.osg.nodes.LoadFile(Filename="ray-gray.iv") 79 80 pickray_object.add_and_init_field(avango.SFUInt(), "PickMask", 0) 80 81 pickray_transform.Children.value.append(pickray_object)
Note: See TracChangeset
for help on using the changeset viewer.
