Forum Replies Created

Viewing 15 posts - 16 through 30 (of 432 total)
  • Author
    Posts
  • in reply to: Feature wish list #115988

    Oliver Kreylos
    Keymaster

    There isn’t a direct feature for continuous local rain in the AR Sandbox code. However, there’s a Vrui way to simulate it. The local rain tool, like all other tools, is bound to an input device, such as the mouse. Vrui lets the user create an arbitrary number of virtual input devices dynamically, and then bind tools to them as to any other device.

    Basic steps:

    1. Create a new virtual input device with two buttons by selecting “Vrui System” -> “Devices” -> “Create Two-Button Device” from the main menu. This creates a grey wireframe box with two small cubes above it and one small cube below in the middle of the screen.

    2. Bind a tool to control virtual input devices to the mouse. Press an unused mouse button or key, and select “User Interface” -> “Input Device Driver” -> “Ray-Based Driver” from the tool menu. Press the same button or key again to confirm.

    3. Now you can pick up and move the grey wireframe box by pointing at it with the mouse and holding the button/key to which you assigned the ray-based driver tool. You can toggle the virtual device’s button by selecting either of the two cubes above the box with the same button/key. A “pressed” button turns green. The first time you press a button, the tool selection menu pops up. Now move the virtual device to highlight “Manage Water Locally,” then toggle the virtual button off. Toggle the other virtual button on and off to assign the “drain” function.

    4. Now move the virtual device anywhere over the terrain, and toggle on its first button. It will start raining until you toggle the button off again.

    in reply to: USB Button Solution #115986

    Oliver Kreylos
    Keymaster

    Are there error messages when starting SARndbox? Check that your modified configuration file is loaded by adding -vruiVerbose to the command line.

    in reply to: looking for a replecment cheap sand #115985

    Oliver Kreylos
    Keymaster

    The sand should be light and of a neutral color, i.e., light gray or white, to achieve a bright projection with high contrast. Other than that, there are no technical requirements. Other light-colored granular materials, for example paper pulp, work as well.

    From a health perspective, inhaling quartz dust is a health risk. The recommended Sandtastik sand is feldspar, not quartz.

    in reply to: Will Updating OS Affect Software? #115944

    Oliver Kreylos
    Keymaster

    Do you use your sandbox computer for anything other than the sandbox? If not, I’d recommend not upgrading the OS. Treat it like an appliance.

    That said, an upgrade between major OS versions might require a re-installation of the Vrui, Kinect, and SARndbox packages as some system libraries might change to incompatible versions. I recommend rebuilding all three packages after the upgrade to be safe. Back up your main Vrui.cfg (if changed), your Kinect’s calibration data, your SARndbox’s BoxLayout.txt and ProjectorMatrix.dat, and any custom shaders or scripts you installed.

    in reply to: Problem with OpenGL #115941

    Oliver Kreylos
    Keymaster

    No, if your graphics card and/or drivers do not support water simulation, you cannot use water simulation.

    in reply to: Problem with OpenGL #115889

    Oliver Kreylos
    Keymaster

    Actually, don’t downgrade the Kinect package.

    Instead, upgrade to version 3.6 of the Kinect package, which checks if GL_EXT_gpu_shader4 is supported by the local OpenGL and, if not, falls back to a facade projector that does not use it.

    Download and install Kinect-3.6 per step 4 of the installation instructions, and then re-build your SARndbox package:

    cd ~/src/SARndbox-2.5
    make clean
    make

    Then run CalibrateProjector again. You still won’t get water simulation, though.

    • This reply was modified 2 months, 3 weeks ago by  Oliver Kreylos. Reason: Oops, bad instructions
    • This reply was modified 2 months, 3 weeks ago by  Oliver Kreylos. Reason: New Kinect package version
    in reply to: Unexpected screen after software installation #115888

    Oliver Kreylos
    Keymaster

    The Kinect-for-Xbox-One is a primadonna, which is one reason why we don’t recommend using it. The two I have work reliably with Kinect-3.4 and Kinect-3.5, but I have not tried any others myself.

    Do you get any error or warning messages when starting RawKinectViewer, such as buffer under-/overflows or USB stalls? If that, try using different USB ports.

    in reply to: Corner order in calibration step 5 #115887

    Oliver Kreylos
    Keymaster

    It appears you are following obsolete instructions. Please follow these step-by-step installation instructions.

    in reply to: I get error in step 11. #115886

    Oliver Kreylos
    Keymaster

    Please check the spelling of the commands you enter, including uppercase/lowercase. The correct command is:

    ./bin/CalibrateProjector -s 1280 800

    in reply to: No detection of the hand for rain #115885

    Oliver Kreylos
    Keymaster

    SARndbox versions post 2.0 use an explicit hand shape detector for rain, as opposed to pre-2.0 versions that just looked for anything inside the configured rain elevation range. The hand detector explicitly looks for five fingers. The Kinect has trouble seeing shiny things, so if you wear large rings or other jewelry it might not detect your hands.

    Also, are you using a Kinect-for-Xbox-360 or a Kinect-for-Xbox-One? The latter isn’t well-tested and might require different parameters for hand detection.

    in reply to: I am inverted and Backwards #115884

    Oliver Kreylos
    Keymaster

    Your first issue turned out to be a Kinect-for-Xbox-One thing. You need to negate all four numbers in the first line of BoxLayout.txt. Afterwards, run CalibrateProjector again and see if it works.

    in reply to: "There was an error launching the application" #115881

    Oliver Kreylos
    Keymaster

    First, try running the shell script you created from a terminal:

    /home/<username>/src/SARndbox-2.5/RunSARndbox.sh

    and see if that works (of course, replace <username> with your actual user name).

    If that doesn’t work, check that the script’s contents are spelled exactly as in the instructions.

    If the script works but the icon still does not, check that the .desktop file you created is exactly as in the instructions, again replacing <username> with your actual user name.

    in reply to: joystick for local tools, part 2 #115880

    Oliver Kreylos
    Keymaster

    There isn’t an easy way to do that, as the transform tools are part of the underlying Vrui toolkit and don’t know about AR or sand boxes. The correct way is to create a SARndbox-specific version of the SixAxisTransformTool which knows about the sand surface, and keeps the virtual input device floating above it. That’s relatively advanced programming, though, as the sand surface is represented in (projective) depth image space, so even finding the elevation of the sand under the current device position is non-trivial as it involves casting rays into an elevation grid.

    in reply to: Problem with OpenGL #115879

    Oliver Kreylos
    Keymaster

    OK, your problem is that your computer doesn’t have a (dedicated) graphics card, but is using the integrated graphics processor (IGP) that’s part of modern Intel CPUs. You got bad information from StackExchange; the “4” in GL_EXT_gpu_shader4 is not an OpenGL version number, but a version number for that specific OpenGL extension. It just so happens that the IGP in your specific Intel CPU doesn’t support it — not surprising, as it is meant for “business graphics” and not serious 3D work.

    CalibrateProjector’s use of that extension snuck into the newest AR Sandbox software version unintentionally. Try downgrading to version 2.3 of SARndbox and see if that works, but in the best case, without a dedicated graphics card, the AR Sandbox won’t be able to support water simulation. You’ll have to turn that off by passing -ws 0 0.0 to SARndbox’s command line.


    Oliver Kreylos
    Keymaster

    This is possible in principle, but not built into the current AR Sandbox software.

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