Forum Replies Created

Viewing 15 posts - 31 through 45 (of 483 total)
  • Author
    Posts
  • in reply to: Toggle Contour Lines via Control Pipe? #118332

    Oliver Kreylos
    Keymaster

    There is currently no command for contour line control on the control pipe. All the commands it does understand are listed in the Sandbox class’s frame() method, in Sandbox.cpp around line 1178.

    in reply to: USB Button Solution #118277

    Oliver Kreylos
    Keymaster

    What do you mean by “screenshot feature?”

    in reply to: MAC 0s Vrui-4.6-005 error 71 #118276

    Oliver Kreylos
    Keymaster

    It looks like OS X has a new C++ compiler. The first is just an FYI from the USB library; ignore that. The second is something I’m going to look into. The third is a problem. “Placement new” appears to be missing, and that’s an issue with no easy work-around. I will need to check if that is a change to the C++ standard, or an OS X quirk.

    In general, you won’t have a good time trying to run the AR Sandbox on OS X, anyway, due to problems like these.

    in reply to: Kinect FOV too small in calibration #118268

    Oliver Kreylos
    Keymaster

    Ignore it. Go through the calibration, and it will all be fine.

    That said. your projector image doesn’t fill the entire box. I would zoom in a bit.

    in reply to: Help!!! Image 90 out #118235

    Oliver Kreylos
    Keymaster

    It looks like you forgot to add -fpv (“fixed projector view”) to SARndbox’s command line.

    in reply to: GL error! #117951

    Oliver Kreylos
    Keymaster

    In that case, you didn’t install the Nvidia driver, or something went wrong during its installation. Without the driver, the grapbics card won’t be used.

    in reply to: USB Button Solution #117950

    Oliver Kreylos
    Keymaster

    Vrui-4.5-004 already includes ScriptExecutorTool. No need to download it again and re-build.

    in reply to: how to hide contour lines in window2 #117925

    Oliver Kreylos
    Keymaster

    After the -wi 1 command line argument that switches to the second window’s parameter set, you can add -ncl to disable contour lines for that window.

    in reply to: Glitch / freeze on Startup #117913

    Oliver Kreylos
    Keymaster

    One thing that might work is to run KinectUtil reset all immediately after boot. If booting leaves your Kinect in a bad state, resetting it should clear it up.

    in reply to: Step 11 & 12 Issues #117912

    Oliver Kreylos
    Keymaster

    IO::StandardFile: Unable to open file /etc/SARndbox-2.5/BoxLayout.txt for reading due to error 2 (No such file or directory)

    Does it write exactly this, i.e., is there a slash (“/”) before the “etc” in the filename? If so, something went wrong while building the AR Sandbox code, and it is looking for files in the wrong place. This should not happen. Did you modify the makefile in any way before building? Most importantly, does line 39 say

    INSTALLDIR := $(PWD)

    in reply to: completely turn off water? #117907

    Oliver Kreylos
    Keymaster

    Add -ws 0 0.0 to the command line.

    in reply to: Creating real-world landscapes in AR Sandbox? #117905

    Oliver Kreylos
    Keymaster

    This is how the base AR Sandbox does guided terrain creation: https://youtu.be/nPba_9WzdjI?t=699

    Details are in these threads:

    Terrian model?

    DEM Help

    ARES is based on the AR Sandbox code, but was never publicly released as far as I know.

    in reply to: Is the i7 950 powerful enough? #117904

    Oliver Kreylos
    Keymaster

    The CPU should be fine. It’s the graphics card that really matters, and a 1060 is OK.

    I am typing this from a Core i7 920 at 2.67 GHz.

    in reply to: GL error! #117903

    Oliver Kreylos
    Keymaster

    OpenGL vendor string: VMware, Inc.

    It looks like you are running the AR Sandbox from inside a virtual machine. That won’t work (or only yield extremely low frame rates), as the AR Sandbox does not get access to the physical graphics card.

    in reply to: USB buttons: rotate secondary view #117902

    Oliver Kreylos
    Keymaster

    That can be done, but it’s a bit complex. There is a tool class in Vrui that converts a pair of buttons into an analog axis (“Transformer” => “Button -> Valuator” in the tool menu, or “ButtonToValuatorTool” in configuration files. So you can create two analog axes out of the joystick’s four buttons.

    The navigation tool class you want to use is SixAxisNavigationTool which requires seven analog axes (translation along three axes, rotation around three axes, uniform scaling).

    You still need to create five analog axes out of thin air, and the best way is to use a set of radio buttons to replicate your two joystick axes into 8 total axes, two of which will be active at any given time. This is done by class MultiShiftButtonTool. In short:

    Step 1: Create two analog axes out of two joystick buttons each.

    Step 2: Create a multi-shift tool with four planes, using four arbitrary buttons as switch buttons and the two created analog axes as replicated features.

    Step 3: Create a six-axis navigation tool and bind it to 7 of the 8 created analog axes.

    Step 4 (optional): Put a cap (NopTool) on the eighth axis to avoid annoying tool menu pop-ups.

    Here’s a template tool binding section:

    section DefaultTools
      section JoystickXAxis
        toolClass ButtonToValuatorTool
        bindings ((Device, PositiveXButton, NegativeXButton)) # Change device and button names as needed
      endsection
    
      section JoystickYAxis
        toolClass ButtonToValuatorTool
        bindings ((Device, PositiveYButton, NegativeYButton)) # Change device and button names as needed
      endsection
    
      section AxisReplicator
        toolClass MultiShiftButtonTool
        bindings ((Device, Plane1Button, Plane2Button, Plane3Button, Plane4Button), \ # Change these names as needed
                  (JoystickXAxis, Valuator0), (JoystickYAxis, Valuator0))
        numPlanes 4
        resetFeatures true
      endsection
    
      section JoystickNavigation
        toolClass SixAxisNavigationTool
        bindings ((AxisReplicator, Valuator0, Valuator1, Valuator2, Valuator3, Valuator4, Valuator5, Valuator6))
      endsection
    
      section JoystickCap
        toolClass NopTool
        bindings ((AxisReplicator, Valuator7))
      endsection
    endsection
Viewing 15 posts - 31 through 45 (of 483 total)