Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import viz
  2. import vizfx
  3. import vizconnect
  4.  
  5. import Config
  6. import Stimulus
  7. vizconnect.go(Config.VIZCONNECT_CONFIG_FILE)
  8.  
  9. d = vizfx.addChild('Asset/art/Environment/SimpleRoom.osgb')
  10. d.disable(viz.ANIMATIONS)
  11. d.setAnimationFrame(0)
  12.  
  13. s = Stimulus.Stim6Debug()
  14.  
  15. def show():
  16. s.show()
  17. def play():
  18. s.play()
  19.  
  20. vizact.onkeydown('z',show)
  21. vizact.onkeydown('x',play)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement