vr_lab_rear.create_user( VIP = False , AVATAR_VISIBILITY_TABLE = avatar_visibility_table , HEADTRACKING_TARGET_NAME = 'tracking-dlp-glasses-4' , EYE_DISTANCE = 0.065) vr_lab_rear.create_user( VIP = False , AVATAR_VISIBILITY_TABLE = avatar_visibility_table , HEADTRACKING_TARGET_NAME = 'tracking-dlp-glasses-3' , EYE_DISTANCE = 0.065) ## Create tools ## # visibility table # format: A : { B : bool} # interpretation: does display with tag A see representation of tool in displays with tag B? """ tool_visibility_table = { "dlp_wall" : {"table" : False, "portal" : False} , "table" : {"dlp_wall" : True, "portal" : False} , "portal" : {"dlp_wall" : True, "table" : False} } vr_lab_rear.create_ray_pointer( POINTER_TRACKING_STATION = 'tracking-dlp-pointer1' , POINTER_DEVICE_STATION = 'device-pointer1' , VISIBILITY_TABLE = tool_visibility_table) vr_lab_rear.create_portal_cam( CAMERA_TRACKING_STATION = 'tracking-portal-camera-32' , CAMERA_DEVICE_STATION = 'device-portal-camera-32' , VISIBILITY_TABLE = tool_visibility_table) """
, HEADTRACKING_TARGET_NAME = 'tracking-dlp-glasses-3' , EYE_DISTANCE = 0.065) ## Create tools ## # visibility table # format: A : { B : bool} # interpretation: does display with tag A see representation of tool in displays with tag B? tool_visibility_table = { "dlp_wall" : {"table" : False, "portal" : True} , "table" : {"dlp_wall" : True, "portal" : False} , "portal" : {"dlp_wall" : False, "table" : False, "portal" : False} } vr_lab_rear.create_ray_pointer( POINTER_TRACKING_STATION = 'tracking-dlp-pointer1' , POINTER_DEVICE_STATION = 'device-pointer1' , VISIBILITY_TABLE = tool_visibility_table) vr_lab_rear.create_portal_cam( CAMERA_TRACKING_STATION = 'tracking-portal-camera-32' , CAMERA_DEVICE_STATION = 'device-portal-camera-32' , VISIBILITY_TABLE = tool_visibility_table) ## Create portal navigations. ## #''' tower_portal_1_nav = StaticNavigation() tower_portal_1_nav.my_constructor(STATIC_ABS_MAT = avango.gua.make_trans_mat(-12.0, 17.3, -7.0) , STATIC_SCALE = 1.0) tower_portal_2_nav = StaticNavigation() tower_portal_2_nav.my_constructor(STATIC_ABS_MAT = avango.gua.make_trans_mat(-23.0, 1.3, 21.0) * avango.gua.make_rot_mat(-90, 0, 1, 0) , STATIC_SCALE = 1.0)
AVATAR_VISIBILITY_TABLE=avatar_visibility_table, HEADTRACKING_TARGET_NAME="tracking-dlp-glasses-4", EYE_DISTANCE=0.065, ) vr_lab_tabletop.create_user( VIP=False, AVATAR_VISIBILITY_TABLE=avatar_visibility_table, HEADTRACKING_TARGET_NAME="tracking-dlp-glasses-3", EYE_DISTANCE=0.065, ) ## Create tools ## # visibility table # format: A : { B : bool} # interpretation: does display with tag A see representation of tool in displays with tag B? tool_visibility_table = {"table": {"portal": False}, "portal": {"table": False}} vr_lab_tabletop.create_ray_pointer( POINTER_TRACKING_STATION="tracking-dlp-pointer1", POINTER_DEVICE_STATION="device-pointer1", VISIBILITY_TABLE=tool_visibility_table, ) # vr_lab_tabletop.create_portal_cam( CAMERA_TRACKING_STATION = 'tracking-portal-camera-32' # , CAMERA_DEVICE_STATION = 'device-portal-camera-32' # , VISIBILITY_TABLE = tool_visibility_table) virtual_display_groups = []
tool_visibility_table = { "dlp_wall": { "portal": False }, "lcd_wall": { "dlp_wall": True, "portal": False }, "portal": { "dlp_wall": True, "lcd_wall": True } } vr_lab_rear.create_ray_pointer( POINTER_TRACKING_STATION='tracking-dlp-pointer1', POINTER_DEVICE_STATION='device-pointer1', VISIBILITY_TABLE=tool_visibility_table) vr_lab_rear.create_portal_cam( CAMERA_TRACKING_STATION='tracking-portal-camera-32', CAMERA_DEVICE_STATION='device-portal-camera-32', VISIBILITY_TABLE=tool_visibility_table) ## Create portal navigations. ## #''' tower_portal_1_nav = StaticNavigation() tower_portal_1_nav.my_constructor(STATIC_ABS_MAT=avango.gua.make_trans_mat( -12.0, 17.3, -7.0), STATIC_SCALE=1.0) tower_portal_2_nav = StaticNavigation()
vr_lab_rear.create_user(VIP=False, AVATAR_VISIBILITY_TABLE=avatar_visibility_table, HEADTRACKING_TARGET_NAME='tracking-dlp-glasses-4', EYE_DISTANCE=0.065) vr_lab_rear.create_user(VIP=False, AVATAR_VISIBILITY_TABLE=avatar_visibility_table, HEADTRACKING_TARGET_NAME='tracking-dlp-glasses-3', EYE_DISTANCE=0.065) ## Create tools ## # visibility table # format: A : { B : bool} # interpretation: does display with tag A see representation of tool in displays with tag B? """ tool_visibility_table = { "dlp_wall" : {"table" : False, "portal" : False} , "table" : {"dlp_wall" : True, "portal" : False} , "portal" : {"dlp_wall" : True, "table" : False} } vr_lab_rear.create_ray_pointer( POINTER_TRACKING_STATION = 'tracking-dlp-pointer1' , POINTER_DEVICE_STATION = 'device-pointer1' , VISIBILITY_TABLE = tool_visibility_table) vr_lab_rear.create_portal_cam( CAMERA_TRACKING_STATION = 'tracking-portal-camera-32' , CAMERA_DEVICE_STATION = 'device-portal-camera-32' , VISIBILITY_TABLE = tool_visibility_table) """