コード例 #1
0
ファイル: MirrorTouchCubes2.py プロジェクト: vhilab/thirdArm
def Begin():
	global Tracking
	MirrorRoom.CreateRoom()
	InitRecording()
	addAvatar()
	InitCollision()
	configureSound()
	#Comment this out if you want to debug without using HMD
	InitHMD()
	setupTouchCubes()
	touchcube.threeTouchNeedsSimulTouch = False # SimulTouch or sequential touch?
コード例 #2
0
ファイル: MirrorTouchCubes3.py プロジェクト: vhilab/thirdArm
def Begin():
	global Tracking
	MirrorRoom.CreateRoom()
	
	InitRecording()
	addAvatar()
	InitCollision()
	configureSound()

	InitHMD()
	
	#BL:start
	# Add third appendage
	thirdAppendage.add(avatar, appendage, skinChoices, skin, controlSchema)
	#BL:end

	setupTouchCubes()
	touchcube.threeTouchNeedsSimulTouch = False # SimulTouch or sequential touch?
コード例 #3
0
ファイル: controlAppendages.py プロジェクト: vhilab/thirdArm
def Begin():
    global Tracking, controlSchema, isLeftHanded
    MirrorRoom.CreateRoom()

    InitRecording()
    addAvatar()
    InitCollision()
    configureSound()

    InitHMD()

    # BL:start
    # Add appendages
    appendagemanager.addAppendage(avatar, skinChoices)
    # Assign control schema for appendages
    appendagemanager.setControl(controlSchema, isLeftHanded)
    thirdHandIDS.append(TouchCube.thirdAppendage.id)
    # BL:end

    setupTouchCubes()
    touchcube.threeTouchNeedsSimulTouch = False  # SimulTouch or sequential touch?
コード例 #4
0
ファイル: fiveArms.py プロジェクト: vhilab/fiveArms
def Begin():
	global controlSchema
	MirrorRoom.CreateRoom()
	
	InitRecording()
	addAvatar()
	InitCollision()
	configureSound()

	InitHMD()
	
	#BL:start
	# Add appendages
#	appendagemanager.addAppendage(avatar, skinChoices)
	appendagemanager.addAppendages(some_global_variables.avatar, numberOfArms)
	#Assign control schema for appendages
	appendagemanager.setControl(controlSchema)
	thirdHandIDS.append(TouchCube.thirdAppendage.id)
	#BL:end

	setupTouchCubes()
	touchcube.threeTouchNeedsSimulTouch = False # SimulTouch or sequential touch?