-
Notifications
You must be signed in to change notification settings - Fork 1
g-ben-wiz/ARMinis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
You run the binary by typing ARMinis <terrain file> <model file> You can use multiple model files or the same one multiple times. Here are the packages we're using: sudo apt-get install mesa-common-dev mesademos libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev sudo apt-get install libglut3-dev libjpeg62-dev sudo apt-get install libxi-dev libxmu-dev sudo apt-get install libgconf2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev You need this env variable for ARTOOLKIT to work properly w/ gstreamer: export ARTOOLKIT_CONFIG="v4l2src device=/dev/video0 use-fixed-fps=false ! ffmpegcolorspace ! capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit ! fakesink" Here's how we compile ARMinis (depends on where glut.h and libglut live) g++ -o ../bin/ARMinis main.cpp -I /usr/include/ -L /usr/lib/ -lglut -lGL -lGLU -lX11 -lXmu -lXi -lm -lARgsub -lARvideo -lAR -lglut -lGLU -lGL -lXi -lX11 -lm -lpthread -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 * make sure include contents are inside your include directory * make sure lib contents are inside your lib directory src/make-map.c is the thing that makes our default minis board (a bunch of square polygons)
About
Augmented Reality Wargames Miniatures
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published