Vive Focus Vision
Vive Focus Vision
Oculus Quest Pro の特徴
Oculus Quest Pro の特徴
Oculus Quest Pro の接続方法
Oculus Quest Pro の接続方法
・
Oculus Quest Pro での Eye Tracking データの出力
Oculus Quest Pro での Eye Tracking データの出力
#####################################################################''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' VIZARD/PYTHON SCRIPT FOR IMMERSIVE 3D EXPERIMENTS. ALL RIGHTS RESERVED YOSHIOKA LAB, CHIBA UNIVERSITY, JAPAN.
This Script Based on using the following equipments. - WorldViz Vizard 8.0 - Meta Quest Pro via OpenXR'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''#####################################################################
import vizviz.go()
import vizfxmodel = vizfx.addChild('piazza.osgb')
#OpenXR HMD linkingimport openxrhmd = openxr.HMD()viz.link(hmd.getSensor(), viz.MainView)
#EyeTracking Contributionxr = openxr.getClient()eyeTracker = xr.getEyeTracker()
##Putting a ball on the fixation pointimport vizshapepoint = vizshape.addSphere(radius=0.3, color=viz.GREEN)point.disable(viz.INTERSECTION)
def EyePosition_World(): gazeMat = eyeTracker.getMatrix() gazeMat.postMult(viz.MainView.getMatrix()) line = gazeMat.getLineForward(1000) info = viz.intersect(line.begin, line.end) point.setPosition(info.point)recordCallback = vizact.onupdate(0,EyePosition_World)
This Script Based on using the following equipments. - WorldViz Vizard 8.0 - Meta Quest Pro via OpenXR'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''#####################################################################
import vizviz.go()
import vizfxmodel = vizfx.addChild('piazza.osgb')
#OpenXR HMD linkingimport openxrhmd = openxr.HMD()viz.link(hmd.getSensor(), viz.MainView)
#EyeTracking Contributionxr = openxr.getClient()eyeTracker = xr.getEyeTracker()
##Putting a ball on the fixation pointimport vizshapepoint = vizshape.addSphere(radius=0.3, color=viz.GREEN)point.disable(viz.INTERSECTION)
def EyePosition_World(): gazeMat = eyeTracker.getMatrix() gazeMat.postMult(viz.MainView.getMatrix()) line = gazeMat.getLineForward(1000) info = viz.intersect(line.begin, line.end) point.setPosition(info.point)recordCallback = vizact.onupdate(0,EyePosition_World)