


~/src/SARndbox-2.3/bin/CalibrateProjector //投影のキャリブレーション(ProjectorMatrix.datファイルの作成) ~/src/SARndbox-2.3/bin/SARndbox //本体


http://idav.ucdavis.edu/~okreylos/ResDev/Vrui/Documentation/UsingVruiApplications.html

RawKinectViewer -compress 0 //キネクトの調整(パスが通っている)
マウス右クリックで平均化(2秒待ち)
~/src/SARndbox-2.3/bin/CalibrateProjector -s <width> <height> //投影のキャリブレーション(プロジェクターの解像度入力 円盤を使う)
~/src/SARndbox-2.3/bin/SARndbox -uhm -fpv -ws 0.5 25 -wts 200 100 //


/src/SARndbox-2.3/etc/SARndbox-2.3/BoxLayout.txt
/src/SARndbox-2.3/etc/SARndbox-2.3/HeightColorMap.cpt
/src/SARndbox-2.3/etc/SARndbox-2.3/ProjectorMatrix.dat
/src/SARndbox-2.3/etc/SARndbox-2.3/SARndbox.cfg
/src/SARndbox-2.3/share/SARndbox-<version>/Shaders/SurfaceAddWaterColor.fs
/.config/Vrui-4.2/Applications/CalibrateProjector.cfg
/.config/Vrui-4.2/Applications/SARndbox.cfg
https://arsandbox.ucdavis.edu/forums/topic/ar-sandbox-post-installation-setup/

(-0.0302053, -0.0164072, 0.999409), -100.1997 //水平面(海水準)のパラメータ(鉛直ベクトルと深さ) ( -28.4518, -36.6135, -99.2554) //sandboxの四隅(左下) ( 36.3453, -36.2071, -100.039) //sandboxの四隅(右下) ( -28.321, 35.1049, -102.783) //sandboxの四隅(左上) ( 36.313, 34.6932, -99.9503) //sandboxの四隅(右下)

section Vrui
section Desktop
section Window
windowFullscreen true
endsection
section Tools
section DefaultTools
section CalibrationTool
toolClass CaptureTool
bindings ((Mouse, 1, 2))
endsection
endsection
endsection
endsection
endsection

section Vrui
section Desktop
section MouseAdapter
mouseIdleTimeout 5.0
endsection
section Window
windowFullscreen true
endsection
section Tools
section DefaultTools
section WaterTool
toolClass GlobalWaterTool
bindings ((Mouse, 1, 2))
endsection
endsection
endsection
endsection
endsection

float colorW=max(turb(vec3(fragCoord*0.05,waterAnimationTime*0.25)),0.0); // Turbulence noise
// float colorW=pow(dot(wn,normalize(vec3(0.075,0.075,1.0))),100.0)*1.0-0.0;
// vec4 waterColor=vec4(colorW,colorW,1.0,1.0); // Water vec4 waterColor=vec4(1.0-colorW,1.0-colorW*2.0,0.0,1.0); // Lava