robbo

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: projector #2692
    robbo
    Participant

    One issue I have had is being able to calibrate it properly in a well lit environment. It seems that the Kinect sensor can’t seem to read the sand properly in daylight conditions. It could be because of the reflective quality of the type of sand I’m using and this might not be an issue for you. But it is something I would test before committing to an expensive build.

    in reply to: Immense Lag on Water (& Other GPU Related Activities) #2691
    robbo
    Participant

    I may be wrong here, but I think the water part of the simulation is CPU heavy and has no built in limit to how much a user can add. It can easily overwhelm even the beefiest of computer builds.

    One way to deal with this is to increase the evaporation rate in the command line when you start the program. If you make it aggressive it’ll dry out the map pretty quickly. It’ll be up to you to see what works best for your users. I’m assuming their aware they can add water by using the hand gesture so even if the evaporation rate is high they can still add enough to find the simulation useful. This can at least reduce slow-downs. You can also change the amount of reflections in the water and a few other settings and see if that helps.

    Another way is to add an arcade button that can “drain” the water. Possibly in conjunction with a little sign that says “If program is slowing down, press and hold me to remove some water.”.

    There’s a few tutorials on this forum that can show you exactly what I’m talking about if you do a little search for them. I’ll check back when I have more time and see if I can dig them up for you if you’re still having trouble.

    in reply to: Kinect view upside down #2589
    robbo
    Participant

    Not sure if you fixed this but it sounds like you need to rotate your kinect 180 degrees, or flip the orientation of your projector in it’s settings.

    Hope this helps!

    in reply to: Switch texture water to lava #2570
    robbo
    Participant

    OK! I think I figured out why I was running into issues. I recreated the SARndbox.pipe file in the /bin directory with mknod SARndbox.pipe p.

    If you do it this way it does not create a SARndbox.fifo named pipe file. So if I try to reference it with SARndbox -uhm -fpv -cp SARndbox.fifo or send it commands like echo "colorMap <color map file>" > SARndbox.fifo it doesn’t work.

    So the solution is very simple 🙂 I changed any reference toSARndbox.fifo to SARndbox.pipe and voila! Everything works great! I can update the color maps with a simple script just how you outlined above in real time.

    in reply to: Switch texture water to lava #2567
    robbo
    Participant

    ok here is what I got for permissions -rwxrwxrwx 1 sandbox sandbox 28 Jun 7 13:05 SARndbox.fifo

    and here is the command I was using straight out of the /bin folder in terminal

    ./SARndbox -fpv -uhm -cp ~/src/SARndbox-2.8/bin/SARndbox.fifo -vruiVerbose

    • This reply was modified 8 months, 2 weeks ago by robbo.
    in reply to: Switch texture water to lava #2565
    robbo
    Participant

    These instructions are super helpful! So thank you for posting a good explanation. I am having a strange issue though. I can send the command to the pipe and it does change the elevation map colors but only after I restart the program. I’m not getting any errors in the command line where SARndbox is running. I’ve tried creating a pipe file with both mknod and mkfifo but neither will cause the program to update in realtime. Any help is very appreciated!

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