![]() |
#10
|
|||
|
|||
I'll have to ask a developer if there is a way to get the refresh rate from a connected HMD. You could check to see if the HMD is connected and hardcode the rate based on that.
The following shows how to create create an action from a node3d command: Code:
import viz import vizact viz.go() viz.MainView.getHeadLight().disable() viz.clearcolor(viz.SLATE) ball = viz.addChild('basketball.osgb',pos=[0,1.8,3]) light = viz.addLight() light.intensity(0) mix = vizact.mix(0.0, 1.0, time=1.0) change_intensity = vizact.method.intensity(mix) light.addAction(change_intensity) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about Vizard Expiration Timer Rate | mizutani_jun | Vizard | 2 | 02-23-2011 09:13 PM |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 10:46 AM |
Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 10:46 AM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |
Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 09:39 PM |