I recall being amazed by a demonstration of augmented reality back in 2009:
Augmented Reality digital hologram.
You can find a Portage ebuild for the Augmented Reality Toolkit (
ARToolKit)
here. You will need to install it by using a Portage local overlay. If you don't know how to use Portage and local overlays, the method is summarised below. All the commands below must be done as root user (hence the hash prompt shown in the steps below). Open a Konsole/Terminal window and log in as the root user.
1. Install Git, as the Sabayon Portage overlay uses it:
- Code: Select all
# equo install git
2. Synchronise with the Portage repositories those ebuilds on your PC that are in the Portage tree:
- Code: Select all
# emerge --sync
3. Add the Sabayon overlay if it is not already added:
- Code: Select all
# layman -a sabayon
4. If it is already added, synchronise with the Sabayon overlay repository those ebuilds on your PC that are in the Sabayon overlay:
- Code: Select all
# layman -S
5. Edit the file /etc/make.conf and make sure it has the following lines in it at the end of the file:
- Code: Select all
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
ACCEPT_LICENSE="*"
(Delete the line PORTDIR_OVERLAY="/usr/local/portage/" if already in the file.)
6. Set up the directories for your local overlay:
- Code: Select all
# mkdir -p /usr/local/portage/media-libs/ARToolKit
7. Stop Portage nagging about a missing name for your local overlay:
- Code: Select all
# mkdir /usr/local/portage/profiles
# echo "local_overlay" > /usr/local/portage/profiles/repo_name
8. Go to the above-mentioned Web page for the ebuild, download it and save the file ARToolKit-2.72.1-r3.ebuild to your Desktop.
9. Copy the file into the correct directory:
- Code: Select all
# cd /usr/local/portage/media-libs/ARToolKit
# cp /home/fitzcarraldo/Desktop/ARToolKit-2.72.1-r3.ebuild .
(Obviously replace "fitzcarraldo" with your user name.)
10. Generate the manifest:
- Code: Select all
# ebuild ARToolKit-2.72.1-r3.ebuild manifest
11. Merge (install) the package:
- Code: Select all
# emerge -1v ARToolKit
12. Tell Entropy what you did via Portage:
- Code: Select all
# equo rescue spmsync
I have not tried it myself, so do not know if it will install or how to use the ARToolKit. Good luck!
EDIT: Added the missing ".ebuild" to the end of the ebuild file name in Step 9.