Forum Replies Created

Viewing 15 posts - 31 through 45 (of 522 total)
  • Author
    Posts
  • in reply to: Had any luck with RealSense? #123980
    Oliver Kreylos
    Keymaster

    I might be getting the exact model numbers wrong, but the F200 (time-of-flight) had very low resolution and short maximum sensing distance (less than 1m) and a lot of noise. The R200 (structured light for laptops/tablets) had a small FoV, so it needed to be mounted way high up, and then poor vertical resolution, poor sample coverage, and high noise.

    I currently have a D435 to play with, which is second-generation RealSense and doesn’t yet work with the AR Sandbox, and I’m not impressed by its 3D sensing quality so far, either.

    It’s kinda sad that the first-generation Kinect, which just had its ninth birthday, is still the best 3D camera for an AR Sandbox that I’ve tried so far.

    in reply to: Can I use Distance info from Kinect in OpenCv? #123975
    Oliver Kreylos
    Keymaster

    You can also use pkg-config to fill in the per-package settings:

    OPENCV_BASEDIR = 
    OPENCV_DEPENDS = 
    OPENCV_INCLUDE = $(shell pkg-config --cflags-only-I opencv)
    OPENCV_CFLAGS = $(shell pkg-config --cflags-only-other opencv)
    OPENCV_LIBDIR = $(shell pkg-config --libs-only-L opencv)
    OPENCV_LIBS = $(shell pkg-config --libs-only-l opencv)
    OPENCV_LINKLIBFLAGS = $(shell pkg-config --libs-only-other opencv)
    in reply to: Can I use Distance info from Kinect in OpenCv? #123974
    Oliver Kreylos
    Keymaster

    The simplest way to add custom packages to individual projects if you’re using Vrui’s build system (Packages.*, BasicMakefile etc.) is to put a package definition somewhere in the project’s makefile. For example, here is a snippet from my own Packages.local file:

    OPENCV_BASEDIR = /usr
    OPENCV_DEPENDS = 
    OPENCV_INCLUDE = -I$(OPENCV_BASEDIR)/$(INCLUDEEXT)/opencv
    OPENCV_LIBDIR  = -L$(OPENCV_BASEDIR)/$(LIBEXT)
    OPENCV_LIBS    = -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann \
                     -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect \
                     -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts \
                     -lopencv_video -lopencv_videostab

    (This might be for an older OpenCV version.)

    Then use the package by adding OPENCV to the list of packages used by a make product, for example

    $(EXEDIR)/SARndbox: PACKAGES += OPENCV

    in reply to: Had any luck with RealSense? #123973
    Oliver Kreylos
    Keymaster

    The current software supports RealSense cameras using the first-generation Intel RealSense SDK. Those cameras were not good enough to run an AR Sandbox in any reasonable way.

    The current RealSense camera line, primarily models D415 and D435, only works with the second-generation RealSense SDK, which is not supported yet. Someone would have to write a new driver.

    in reply to: Issue during final step of calibration #118840
    Oliver Kreylos
    Keymaster

    /home/oem/src/SARndbox-2.67/etc/SARndbox-2.6/BoxLayout.txt

    That -2.67 should be a -2.6 This is either a copy error, but if you double-check and it’s actually as spelled here, I recommend re-building the AR Sandbox package from scratch: remove the /home/oem/src/SARndbox-xxx directory entirely, re-download the package, and rebuild.

    in reply to: Common Issues (READ THIS FIRST!) #118827
    Oliver Kreylos
    Keymaster

    Install the recommended driver and reboot.

    in reply to: Updating Sandbox with no internet access #118802
    Oliver Kreylos
    Keymaster

    1. Download newest packages (.tar.gz files) from the web onto a USB drive.

    2. Plug USB drive into sandbox computer. This should open a window showing the drive’s contents.

    3. Open a terminal window and go to the directory where the old source packages are, by default:

    $ cd ~/src

    4. Unpack the Vrui source package: Type “tar xfz ” (including the last space), then drag the Vrui-x.y-zzz.tar.gz file from the USB drive window onto the terminal window. Press Enter. This will create a new directory under ~/src, with the same name as the package minus .tar.gz

    5. Go inside the new Vrui directory:
    $ cd Vrui-x.y-zzz

    6. Build and install Vrui:
    $ make
    $ sudo make install

    Then repeat the same steps for the other two packages.

    in reply to: Feature wish list #118789
    Oliver Kreylos
    Keymaster

    If your alignment is off, run the calibration steps outlined in this guide, starting at Step 7.

    You definitely want to mount the Kinect camera as securely as possible, or you will have to re-calibrate all the time.

    in reply to: Minimum CPU #118788
    Oliver Kreylos
    Keymaster

    In general, the AR Sandbox is GPU-limited unless you’re using a second-generation Kinect-for-Xbox-One, which does its depth reconstruction on the host.

    But I can’t tell whether this CPU will cut it.

    in reply to: Odd alignment error #118763
    Oliver Kreylos
    Keymaster

    This is happening inside the camera, or along the optical path from the sand to the camera lens, so nothing you can do via BoxLayout.txt or inside the AR Sandbox software is going to affect it. RawKinectViewer shows the raw depth video feed from the camera, and there is an area of missing data that corresponds to the missing data you see inside the AR Sandbox. I’m guessing that your camera is broken somehow. I would temporarily replace it with another one and see if that fixes it.

    in reply to: Map colors not displaying – just blue #118759
    Oliver Kreylos
    Keymaster

    Which version of the Kinect camera do you have?

    “We´re also getting: glPrintError: Invalid framebuffer operation”

    That means your graphics card (or more likely your CPU’s built-in graphics adapter) can’t handle the AR Sandbox’s water flow simulation. Unless you can upgrade, you’ll have to disable water by passing -ws 0.0 0 on SARndbox’s command line.

    in reply to: Odd alignment error #118757
    Oliver Kreylos
    Keymaster

    From the raw Kinect feed, it looks like there is a big area of depth data missing, and that area seems to line up with the green area in the AR Sandbox image. I don’t think this is a projection problem, but a camera problem.

    Which version of the Kinect camera are you using? Check that the camera’s lens and its pattern projector / IR emitter are unobstructed.

    in reply to: Dual Display Not Working #118708
    Oliver Kreylos
    Keymaster

    I just tried opening a dual-window Vrui application myself, on my laptop which does not have a discrete graphics card, either. I am getting the same result.

    It appears that this is a missing feature or a bug in the Intel graphics driver. By default, when opening multiple windows, Vrui shares the 3D rendering context between all opened windows, as that is the more efficient way to do it. This seems to cause trouble on Intel graphics.

    You can work around this by forcing Vrui to open two windows with different 3D contexts, by assigning different window group IDs to your windows. This will negatively affect performance, especially in the AR Sandbox water renderer, because it will have to run twice in parallel. Since water isn’t working on Intel graphics anyway, it might not be a huge issue.

    In the configuration section defining the second window (“section Window2” if you followed the detailed installation instructions), add the setting groupId 1. This will force separate contexts, and it should work.

    in reply to: SARndbox-2.6 does not have color #118678
    Oliver Kreylos
    Keymaster

    Add -uhm (“use height map”) to the command line.

    in reply to: Cost effective pc build #118666
    Oliver Kreylos
    Keymaster

    > I wonder if I can somehow tune things so it uses more VRAM and gets better performance on the water sim.

    No, the AR Sandbox uses as much VRAM as it can use. What’s limiting it is purely the number crunching performance of the graphics card’s stream processors.

    You shouldn’t really have a problem with a 1060, though. Check that your water simulation box does not extend past your physical sandbox, as the simulation is bottlenecked by the water cells that have the fastest-moving water, and cells outside the actual box might essentially be waterfalls.

    You can also reduce the water simulation’s resolution by adjusting the -wts <width> <height> command line parameter.

Viewing 15 posts - 31 through 45 (of 522 total)