#!/bin/sh
#\
exec ${GOOD_ROOT_DIR}/YART/bin/rtsh -file $0 $*

set SCENE sample
# enter here the scene you want to see


puts stdout {VR_VIEWER: This simple script shows your representation in a specific scene. Just copy and modify it if you have special needs (no scene, zooming, etc.).}

############################################################

proc VR_position args {}
proc VR_angle args {}
proc VR_maxUsers args {}
proc VR_msg args {}

############################################################

LookatCamera cam { 0 5 10} { 0 0 0} 
Scene sc
PixmapDisplay dpy 600 600
dpy -doublebuffer
cam -scene sc -pixmap dpy -angle 40

source $env(GOOD_ROOT_DIR)/packages/yartVR/scenes/$SCENE

source ~/.yartvr

sc -insert [<YART_VR> me]

Manipulator man
man -father cam
man -currentObject me

cam -rendering


