background image

ARS | AUGMENTED REALITY SERIES

https://system76.com/weekendproject/

ADJUST THE “SEA LEVEL”

 

A:  Launch the main 

SARndbox

 application by searching for “sandbox” in the Ubuntu dash:

 

 

B:  Then maximize the application so it fills: your entire sandbox:

 

C:   If in step 4 you calculated the base plane with a piece of poster board (or a similar flat surface) on

 

 

top of your sandbox, your sea level will be too high, and you’ll see something like this:

 

 

On the other hand, if in step 4 you calculated the base plane when your sandbox was empty, the sea

 

 

level will be too low. Either way, you’ll want to adjust the sea level so it’s just below the surface of

 

 

your sand when it’s more or less flattened out.

Содержание AUGMENTED REALITY Series

Страница 1: ...g the Kinect or projector unit until instructed by the tutorial For detailed information on the hardware setup see the AR Sandbox hardware tutorial Diversified Woodcrafts ARS Series includes A Our fir...

Страница 2: ...inal whoami D Add yourself to the vrui grp group with this command replacing USERNAME with the user name returned by the whoami command above sudo adduser USERNAME vrui grp E Reboot your computer so a...

Страница 3: ...erior of your sandbox It s okay if it overlaps it slightly D Hit Esc to close the RawKinectViewer CALCULATE BASE PLANE A There are two ways to calculate the base plane If you haven t yet filled your s...

Страница 4: ...ekendproject B From a terminal launch the RawKinectViewer RawKinectViewer compress 0 C Maximize this window so it s easier to see your sandbox D Press and hold the right mouse button move your cursor...

Страница 5: ...F You now need to draw a rectangle that fits within the interior of your flat surface in the depth view You want some space between your rectangle and the edges of your flat surface Start with your cu...

Страница 6: ...own below then right click and select Copy I Edit the BoxLayout txt file by running this command from the terminal gedit etc SARndbox 1 6 BoxLayout txt J Paste the line you just copied over the first...

Страница 7: ...a piece of poster board or another flat surface on top of your sandbox in the previous step you ll need to remove it for this step B From a terminal again launch the RawKinectViewer RawKinectViewer c...

Страница 8: ...o make sure you position your cursor over the sand surface and not over the sides of your sandbox Position your cursor so that there s a small amount of space between the sand surface and the sides of...

Страница 9: ...D REALITY SERIES https system76 com weekendproject G Second move your cursor to the lower right interior corner then press the 1 key H Third move your cursor to the upper left interior corner then pre...

Страница 10: ...oject I Finally move your cursor to the upper right interior corner then press the 1 key J Hit Esc to exit RawKinectViewer K In the terminal you ll see four lines printed You need to highlight these f...

Страница 11: ...opied so you end up with something like this N Save the file and close gedit POSITION PROJECTOR A Turn on your projector and plug the HDMI cord into your computer B If you have a dedicated display in...

Страница 12: ...to be as level as possible but it doesn t need to be perfectly level B To calibrate your sandbox you ll need an alignment target and several spacers to help you perform the alignment at multiple heig...

Страница 13: ...p we used in this tutorial we set our projector to 1920x1080 but our particular BenQ projector allows us to force a 4 3 aspect ratio even when the resolution is a 16 9 aspect ratio So in our case we l...

Страница 14: ...points at the lowest height Using your shortest spacer line up your alignment target under the white cross hairs projected onto the sand surface Then press the 1 key to capture this tie point After a...

Страница 15: ...a larger spacer J Finally you ll capture tie points at highest height Using your tallest spacer or stacking two spacers on top of each other line up your alignment target under the white cross hairs p...

Страница 16: ...f in step 4 you calculated the base plane with a piece of poster board or a similar flat surface on top of your sandbox your sea level will be too high and you ll see something like this On the other...

Страница 17: ...txt The value highlighted below in BoxLayout txt controls the sea level F You ll want to adjust the final value in the first line to be roughly the same as the smallest of the final value on the four...

Страница 18: ...ough the setup and calibration As long as you don t change the physical setup of your sandbox in particular the position of the Kinect the projector and the sandbox relative to each other you never ne...

Страница 19: ...ion rate set the sandbox will steadily fill with more and more water as you make it rain which eventually will cause the real time fluid simulation to become slow So you typically want to set an evapo...

Отзывы: