Reply To: How to display numbers with the contours?

Home Forums AR Sandbox Forum How to display numbers with the contours? Reply To: How to display numbers with the contours?

#111056
Oliver Kreylos
Keymaster

There is a “ScriptExecutor” tool class in Vrui that can execute a script. You bind it to a button/key like any other tool, and when that button/key is pressed, the script is run. That’s how I set up our AR Sandbox to switch between water and lava: I made two scripts that modify the water fragment shader and use the AR Sandbox’s control pipe to change the viscosity of the fluid, and use two ScriptExecutor tools, bound to two USB buttons, to call those scripts from inside the SARndbox application.

Comments are closed.