User:Fuyi Huang/G3D
Please do not modify this. This is currently my own notes. I need to outline everything.
The configuration takes a little time. After setting up everything, run the make file to build everything. The make file builds the demo as well. Go to /demo and run the only executable file with the parameter from the configuration files. The configuration file should locate in /share/vrsetup. The purpose for the configuration file is unknown yet. However, the demo still cannot run properly at this stage.
Below are some earlier notes.
SSH:
Setting up ssh takes some time. The brown webpage about it is useless. I found the following link useful: http://www.cs.brown.edu/system/net_remote/ssh/remote.pdf. Just go with this and everything works.
Vrg3d:
The example of a configuration file: 3DDLP.vrsetup:
"#" VRG3D VR Setup Configuration File
Description A standard non-VR desktop window
"#" Set to 1 to connect to a vrg3d-server for synchronization and events
ClusterClient 0
ClusterServerHost 127.0.0.1
"#" Name of a VRG3D configuration file for input devices (leave blank for no devices other than kbd and mouse)
InputDevicesFile
"#" These correspond to G3D::GWindow::Settings
WindowWidth 1920
WindowHeight 1080
WindowX 0
WindowY 0
WindowCenter 0
WindowRGBBits 8
WindowAlphaBits 8
WindowDepthBits 8
WindowStencilBits 8
WindowFSAASamples 1
WindowFullScreen 0
WindowAsychronous 1
WindowStereo 0
WindowRefreshRate 75
WindowResizable 1
WindowAllowMaximize 1
WindowFramed 0
WindowCaption VRG3D Application
WindowMouseVisible 1
"#" Setup the VRG3D::DisplayTile for this display
TileAutoAdjustToResolution 1
TileRenderType CHECKERBOARD_STEREO
"#" 53" wide by 30" tall
TileTopLeft (-2.20835, 1.25, 0.0)
TileTopRight ( 2.20835, 1.25, 0.0)
TileBotLeft (-2.20835,-1.25, 0.0)
TileBotRight ( 2.20835,-1.25, 0.0)
TileNearClip 0.01
TileFarClip 100.0
TileFlipStereo 0
TileInitialHeadFrame ((1,0,0,0), (0,1,0,0.0), (0,0,1,2.67), (0,0,0,1))
All the configuration files are of the same type.
The first portion describes the environment the file is used.
The second portion describes the server to connect to.
The third portion is the name of config file for input devices if other than keyboard and mouse.
The fourth portion connects to a cpp file and input the variables for the parameters of the window to display
The fifth portion connects to a cpp file to set the position to be tiled (I currently know nothing about the meanings for the coordinates).
The meanings for the various variables are quite self-explained. But the displaytile portion is confusing. There must be a formula to work out the corresponding values for the different variables. The formula is a problem to be solved.
The configuration files should control the different portion of the display. For example, one configuration file only controls one screen of the cave and only functions one part. It is still unknown why we need four different files to control the same portion of a display. What does “mono” mean?
I assume the desktop versions should work on a CIT machine. However, the program still does not function well. There seems to be something missing when I try to run the executable file.