Sean Robinson

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 173 total)
  • Author
    Posts
  • in reply to: Screenshots of the Sandbox #2662
    Sean Robinson
    Participant

    Your reply cannot be created at this time.

    Welcome to the spam filter. I’ve used the split-post method in the past, too.

    It looks like gnome-screenshot does not handle background windows. But if you can leave focus on the sandbox window, it is possible to use a keyboard shortcut or a looping script for easy screenshots.

    Igor Bubelov has an article about adapting gnome-screenshot for faster use. He describes setting up a shortcut to capture a screenshot and save it to a file with minimal user interaction.

    It sounds like you don’t want the water animation at all. You can start the sandbox with SARndbox -rs 0 to disable rain/water.

    in reply to: TLS error while compling Vrui form script #2661
    Sean Robinson
    Participant

    My version of Mint is 21.2, I could not locate a 19.x version to download.

    It is possible to build the AR Sandbox on LM 21.x, but you will need to change the process a bit. See the solution from @solanic in VRUI – “Unable to locate package”. The discussion on that page has background info and further links.

    in reply to: Screenshots of the Sandbox #2650
    Sean Robinson
    Participant

    Welcome to the forum.

    I’ll assume you are using Linux Mint. The default screenshot app is started by the keyboard’s “Print Screen” key. Try it out and come back if you have questions.

    What about the water simulation do you want to toggle? Do you want the water to disappear/appear, evaporate/drain away and able to be added as new rain, or pause the animation so the water is frozen in place?

    in reply to: TLS error while compling Vrui form script #2648
    Sean Robinson
    Participant

    Are you using Mint 19.x (latest supported version) or another Mint version?

    I think you need to remove the src directory before rebuilding Vrui. The error you show can come from the following: failed first build, install missing dependencies, then try to build again without removing artifacts from the first build.

    Also, this looks like an incomplete summary of the error rather than the actual error message(s). If the above does not work, please post the full errors.

    in reply to: Vrui version #2647
    Sean Robinson
    Participant

    Welcome to the forum.

    It looks like Vrui 10.1 does not yet have a public release. As Kinect and SARndbox don’t have a new release since Vrui 10.1, I believe staying with Vrui 8.00-002 is the better choice. Luckily, at this time it is also the only choice.

    in reply to: Sandbox on a curved surface #2619
    Sean Robinson
    Participant

    Welcome to the forum.

    With OpenGL and C++ experience, you should have a good start to the changes you want to make. If you have the math background to handle vectors and transformations between 3D spaces, even better.

    The classes in Vrui are used for most of the math in the sandbox. Being familiar with Vrui will likely make your task easier.

    https://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Documentation/OverviewGeometry.html

    Brainstorming with you… My approach to a circular box would be to fit an equation for a circle or cylinder from Kinect data; this would be an additional calibration step. Make a circular black-and-white texture from the equation and blend it in OpenGL to create a clip region.

    IIUC, the water boundary shader handles removing water that leaves the box edges. So, maybe the same circular texture could be combined with the boundary shader to change the shape of the box edge.

    This is an interesting change to the usual sandbox design. Please share photos/links when your sandbox is complete.

    Sean Robinson
    Participant

    Welcome to the forum.

    Water control buttons and fluid texture changes (e.g. water, lave, sewage) are add-ons that will take some figuring. I have not seen anything for these features as comprehensive as Oliver’s base sandbox set-up videos.

    For water buttons, you can check the options I list in External button for rain/drain.

    Detailed plans for lava replacement of water are shared in Switch texture water to lava.

    in reply to: Linux #2614
    Sean Robinson
    Participant

    The latest recommended Linux version can be found at the beginning of https://web.cs.ucdavis.edu/~okreylos/ResDev/SARndbox/SoftwareInstallation.html

    in reply to: External button for rain/drain #2612
    Sean Robinson
    Participant

    Oliver had a post on the old forum that uses an arcade USB encoder to send standard keyboard keys when the “arcade” buttons are pressed. He includes instructions for configuring the sandbox to use the buttons.

    The Wayback Machine has his post for “USB Button Solution”, but I cannot include the URL.

    Also, there are USB keyboards with one, two, five, etc. buttons. This way, the only sandbox setup is to assign tools (drain/rain) in the configuration file. I do not know how the output values are assigned to the keys, but I suspect it requires Windows for the initial setup.

    Another example is Liudr’s AR Sandbox controller. He gives instructions for building flood and drain buttons using an Arduino microcontroller.

    https://liudr.wordpress.com/2017/12/29/augmented-reality-sandbox-control-using-arduino-feather/

    in reply to: How to create a water source? #2604
    Sean Robinson
    Participant

    I have not tried the FURB software (Caixa and custom SARndbox), but it looks like it could be made to work with the newer sandbox software. The second idea is to add the Caixa water spring changes to the latest SARndbox.

    I’ll add my notes in case someone wants to try porting the spring sources to SARndbox 2.x. Below here are my speculations from watching the video, reading the source code for the various components in Caixa, and their source changes to SARndbox v1.6.

    There are two parts: 1) measurement of the target (black-top-surface hemispheres) coordinates with Caixa; and 2) modifications to SARndbox to read the measured points from a file and add local water at those points.

    The modified SARndbox reads the spring coordinates and uses a modified Sandbox::LocalWaterTool::addWater to add water to several “S” points. Sandbox::LocalWaterTool gains a ::registerPoint helper function to add “S” points.

    If someone wants to work on this feature, I’d be happy to advise.

    in reply to: How to create a water source? #2603
    Sean Robinson
    Participant

    The first idea, and immediately workable, is to use xdotool. With xdotool:

    1- move the mouse to a spring source
    2- press the local water key
    3- wait some time
    4- release the key

    Repeat this in a loop (in a script) with several spring sources.

    As an example, here are xdotool commands to add water at three locations, each for a tenth of a second. (This assumes the ‘r’ key has been assigned to “Manage Local Water” in SARndbox.)

    search --name "^SARndbox$"
    windowactivate %1
    mousemove --window %1 --polar 0 200
    keydown 'r'
    sleep 0.1
    keyup 'r'
    mousemove --window %1 --polar 90 200
    keydown 'r'
    sleep 0.1
    keyup 'r'
    mousemove --window %1 --polar 270 200
    keydown 'r'
    sleep 0.1
    keyup 'r'

    If there is not enough water from each spring, increase the rain strength with the -rs argument or patch your SARndbox to add the rainStrength pipe command.

    in reply to: How to create a water source? #2602
    Sean Robinson
    Participant

    Thank you for sharing the video. I had not seen the Universidade Regional de Blumenau (FURB) project before.

    …I can’t talk with the creators…

    Is it a language issue or are they not responding?

    I see two possible ways to accomplish multiple springs. I’ll split the ideas across posts in case I have to fight the spam filters.

    in reply to: Calibration Issues #2601
    Sean Robinson
    Participant

    The BenQ MX631ST looks to have a native 4:3 aspect ratio, so that should be simpler. Otherwise, it appears to be the same as the MW632ST.

    I would try to disable any image processing by the projector. In the projector menus, set the aspect ratio to “Real” and disable digital zoom by setting it to “1.0”.

    in reply to: Calibration Issues #2599
    Sean Robinson
    Participant

    Hm, so that yellow frame is supposed to outline the sandbox? After reading the source code for CalibrateProjector.cpp, I see you’re right.

    I suspect the yellow frame does not match the sandbox because your projector (and ours) has a wider aspect ratio than the software originally expected. A 4:3 ratio is hardcoded into CalibrateProjector, while a BenQ MW632ST projects in a 16:10 aspect ratio.

    I’ve never seen the yellow frame match the physical box and it has not been a problem. I recommend ignoring the yellow frame and calibrate as normal.

    in reply to: How to create a water source? #2596
    Sean Robinson
    Participant

    One possible way to do this is to cut out a hand silohuette. Just as a trial, I once cut out a trace of my hand on cardboard and stood it over the sand with a short PVC pipe. It worked to make an artesian well on the sand.

    We do not use the hand silohuette because part of the fun is the interactivity and group effort. Assign a student to make the rain hand shape. Rotate student helpers as arms become tired.

    Another way is to use the “Manage Water Locally” tool. Place the mouse cursor where you want the rain/spring and press the assigned key to add water at that spot. I believe this could be automated with xdotool (for Xorg or the similar ydotool for Wayland) to place the mouse pointer and virtually press the “Manage Water Locally” hot key. I think it would be possible to assign a command key in SARndbox to run a script for a local water source. I have not tried this.

Viewing 15 posts - 16 through 30 (of 173 total)