Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Interacting with SARndbox source code #103730

    mishafarms
    Participant

    There are probably a few ways to do this. One is that there is a DEM saver for the elevation data. You can go find that code and use it to get the projected and calibrated elevation. This would
    probably be the easiest.

    If you learn more OpenGL you can actually have a buffer that gets filled in with the fixed-up elevations from the processing that is done in OpenGL to fic the data. This is pretty quick and the Host CPU
    does very little work, you can get the elevation for every update frame. You would then have to process the data and then feed the info back into OpenGL. You would still need some OpenGL coding, but probably
    not too bad.

    The other technique is to really learn the graphics shaders and add a new shader that would take the elevation data in the OpenGL engines and process it and color the output with your data instead.
    this is the fastest to run, probably the hardest to do if you don’t know OpenGL and shaders.

    I once did something with the get the OpenGL to process the buffers and then hand the buffers to the Host, so that the Host could then save them out. I may be able to find that code. It isn’t clean, but I did get what appeared to be corrected elevation data.

    Michael

    in reply to: Motion sensor for the projector turning off/on? #103728

    mishafarms
    Participant

    Why not use the data from the Kinect. There should be very little variation when no one is playing. otherwise you would expect to see changes in the frames. You can look for how long has it been since the last
    big change and if it has been longer then X then turn off the projector. (maybe if you go to screen saver it will turn off the projector, no extra HW needed.). Then when the frames show major change for
    Y time, then turn the projector back on.

    Michael

    in reply to: 16×9 projector #103632

    mishafarms
    Participant

    Just wondering if anyone has any ideas on this?

    Michael

    in reply to: Autostarting sandbox on computer boot? #103631

    mishafarms
    Participant

    Have an user autologin. This should be set in the login window settings.
    Then at that user go to the startup applications. and you should be able to
    start the sandbox from there. I use a script to run my sandbox because I
    always want it set back to water and earth.

    Michael


    mishafarms
    Participant

    Try this command. It will tell you where it put the file.
    dpkg -L libdbus-1-dev

    here is the output of mine. I removed all the lines that are not the file
    we are looking at.

    /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus/dbus-arch-deps.h

    If you find the file, then the issue becomes why is your compile not pointing to the correct directory to find it.
    You may have to compile with VERBOSE=1 and get all the output of the failed compile including the g++ command to compile.

    Michael

    in reply to: Build Your Own Landscape #103484

    mishafarms
    Participant

    I just followed the directions loaded in the tahoe dem file and my sand had blue and red and white parts. I will try loading again when I am near the sandbox.

    in reply to: Build Your Own Landscape #103462

    mishafarms
    Participant

    Here is a thread that talks about it DEM Help. and Oliver put a lake Tahoe DEM file up on a server referenced in this thread DEM Examples It seemed to work for me.

    Michael


    mishafarms
    Participant

    Try sudo apt-get install libdbus-1-dev
    by the way this should have been installed by the Build-Ubuntu.sh, Are you using that to install and build Vrui?

    Michael

    • This reply was modified 1 year ago by  mishafarms.
    in reply to: 16×9 projector #103435

    mishafarms
    Participant

    That should say 320×720 off to the right

Viewing 9 posts - 1 through 9 (of 9 total)