neilforrest / coloapi Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/coloapi
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/coloapi
License: GNU General Public License v3.0
ColoAPI (http://coloapi.googlecode.com) ======================================================== Neil Forrest 2010 ([email protected]) -------------------------------------------------------- ColoAPI is a library of H3DAPI nodes to support haptic and graphic colocation with headtracking via ARToolkit. Using an ARToolkit marker to indicate the users head position, the viewpoint can be updated in real time enabling graphics and haptics to remain colocated independent of viewing position. Requirements ------------ * H3DAPI 2.1 (www.h3dapi.org) Optional - required for head tracking features * ARToolkit >= 2.72 (http://sourceforge.net/projects/artoolkit/) Compilation ----------- * Generate build files using CMake * Refer to Trouble Shooting section below, if required e.g. Windows, Visual Studio 2005: cd build mkdir vs cd vs cmake .. -G"Visual Studio 8 2005" * Build the BUILD_ALL target in release mode * Build the INSTALL target e.g. Linix cd build mkdir vs cd vs cmake .. make make install Running Examples ---------------- * Print off 'HIRO' pattern from ARToolkit (refer to ARToolkit documentation) * Change working directory to the 'examples' directory within the coloapi directory * Connect external USB camera if required * View any of the example .x3d files using h3dload or h3dviewer e.g. cd examples H3DLoad SimpleARTracking.x3d * Use 'HIRO' marker on forehead to denote head position * Refer to ARToolkit documentation for best tracking performance Trouble Shooting ---------------- * ColoAPI must be built with same compiler and settings as H3DAPI, H3DLoad and H3DViewer. Rebuild all of H3DAPI with your compiler if required. * ARToolkit installation location may have to be specified manually via CMake. By default we look for it at C:/Program Files/ARToolkit/ Use the CMake GUI or run 'ccmake .' or edit CMakeCache.txt in order to define ARTOOLKIT_ROOT Set ARTOOLKIT_ROOT to the ARToolkit installation directory (the one that contains 'include/' and 'lib/') then run cmake again. SimpleARTracking.x3d -------------------- Simple ARToolkit head tracking colocation example where monitor is in x-y plane (center at 0, 0, 0) and camera is placed above display looking along the display normal. Adjust corners of display and camera position to match your measurements. MirroredARTracking.x3d ---------------------- This demo defines a mirrored colocation display by defining 3 corners of the actual display and 3 corners of the mirror. Adjust corners of display and mirror and camera position to match your measurements. NOTE: The "Mirror in Y" option should be enabled in the viewer. FixedViewpoint.x3d ------------------ This demo uses a fixed viewing position (not tracked by ARToolkit or other) and the graphics are rendered based on this specified position and the specified parameters of the display (and mirror, if present). This demo should function without ARToolkit installed. Bugs and Comments ----------------- Please report bugs and comments via googlecode (http://coloapi.googlecode.com) or to [email protected]
plz provide the cmake steps to configure the project..i am getting errors in it
...using windows 7 and visual stdio 2008
Original issue reported on code.google.com by [email protected]
on 7 Jul 2011 at 10:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.