The ART of WAR project uses Augmented Reality technology to create an environment where virtual objects can seamlessly interact with real objects in the form of a 3-Dimensional game. Users control virtual tanks in a turn-based fashion to fire at one another. The goal of the project was to create an environment where virtual and real objects could occlude one another and enhance the strategic elements of the game. The two-player, interactive system combined a desktop webcam with an open-source image processing engine, and OpenGL graphics.
The following video demonstrates the depth buffering (occlusion) and interaction between virtual (tanks) and physical objects (boxes / terrain) objects of our augmented reality prototype.
The purpose of the turn-based game is to destroy the other tank. The following features were designed to enhance the gameplay:
-Players begin their turn by moving their tank within the blue circle. This allows players to move their tank and force their opponent to change their trajectory.
-Virtual and real objects are subject to full collision detection for all movements / shots.
-Players may adjust the tank barrel angles (about the Z axis and XY plane) for their shot.
-A light blue wind vector introduces a sense of randomness into each shot.
-Once satisfied with their positioning, the player must select power (distance) for their shot from an oscillating power bar.
-The physics engine calculates the trajectory of the shot using the barrel direction, power of the shot, gravity and the wind. Again, full collision detection is utilized for all virtual and all recognized physical objects.
-The projectile will explode upon hitting one of the real or virtual objects (table surface included).
-Each of the particles in the explosion will also be subject to the physics engine / wind.
-A tank will lose health for each particle of the explosion that hits the tank.
Great project. Looks like a lot of fun and hard work.
msj120 3 years ago 11
but japan still has the best technology ever
chosenone234 2 years ago 7