Introduction
Game Name: PerC
Gamebox
Platform: Intel AIO
Category : Games
Coding Languages to be used: Processing Creative Coding
Language
Overview of the application and what it does
This application is a gesture oriented game(or Combination
of games) developed in Processing Framework and using Intel Perceptual SDK R2.It is a kind of
engaging game that gets you hooked up to a brand new experience.
Features:
The game involves gestures in front of a 3D Depth Camera. All Game movements will be
done by air gestures.
Supported Types:
- Swipe Left
- Swipe Right
- Swipe Up
- Swipe Down
- Circle
As the name suggests it is a Gamebox so there will be lot of
games or scenarios to tinker with.
Description of the intended uses of the application as well as approach taken to develop the application
The Flow
I am very big Sci-fi
movie fan my maze idea came from it.The movie that changed my entire view of Computer Science was Tron Legacy. I like the lines from
Kevin Flyn in the movie when he says to his son
Kevin Flynn: The
Grid. A digital frontier. I tried to picture clusters of information as they
moved through the computer. What did they look like? Ships? motorcycles? Were
the circuits like freeways? I kept dreaming of a world I thought I'd never see.
And then, one day...
7 Year Old Sam Flynn:
You got in.
Kevin Flynn: That's
right, man. I got in.
I started experimenting with Intel Perceptual SDK and the processing Framework. At first I failed miserably but never lost heart.I went through all of the processing
Document available and spent hours
studying and putting to effect.Its a
great tool to work with.
With the movie came the idea of this maze game. The entire Arc system resembles somewhat like the Identity Disc as
shown in figure
The famous quote from the movie regarding Identity Disc
Everything
you do or learn will be imprinted on this disc. If you lose your disc, or
fail to follow commands, you will be subject to immediate deresolution.
This the Figure given below that inspired the Maze
Arcs Plus the Balls Will It Work
I went through lot of arc examples in Processing exactly to figure out how it works than came this
bizarre idea to Integrate gesture movement to balls.
I had to dig
in deep with Intel Perceptual SDK and started experimenting with it. Although for a start
point of view the results were not encouraging. I spent hours and day by day to get it
done. Then came the moment that i was waiting for the result. I was able to map
gesture input to the ball. Combing both the balls and the arcs got my result and it was good.
Game Mechanics and the Way to Interact Within the Game
It uses simple
gesture recognition to get going with out Touch. Simple laws of Physics have
been taken care of. With hand gestures
combined you are able to play the game.
Controlling the Ball
The ball is
controlled by the hand gesture and your effort will be to obstacle path and
find a way to the center,guiding the ball with gesture to the center
point.
Swipe Left Hand Gesture
With the Swipe left hand gesture you increase the difficult
level of the maze game with more arcs to disrupt your path.
Swipe Right
With swipe right gesture you decrease the level of
difficulty of the game with less arcs to disrupt the ball path.
The figure below shows the depiction
Swipe Up
With Swipe Up gesture
you get a different pattern and effect to the maze game.
Swipe Down
With the swipe down hand gesture yet you get another pattern
and effect to the maze game.
Another Screenshot from the game showing how to guide the
ball to center.
Game Video Link
Just check the video and see how the app behaves with Intel perceptual SDK
Check it in action
LINK1
LINK2
GAMES THAT ARE THERE IN PERC GAMEBOX RIGHT NOW
Fun with BOB(CodeProject fame)
With help of hand
gestures and little combination of numbers we create BOB of CodeProject fame.A
Fun attempt.
The Figure shows when Floating BOB is created with hand
gesture.
Game Video Link
Check it in action
LINK
Bouncing Ball (Great GUI)
Another Gesture oriented game where you will be using Hand
Gestures to guide the ball to the path of the boxes
SURPRISES
Avoid the BLACK boxes it will reduce the life
other boxes are surprises you need to play the game to find
out.
Game Video Link
This is one of my hardest attempt to get something cool with Intel perceptual SDK just check the game demo, I think there will be a surprise
LINK1
LINK2
Pong
It is a game where you need not allow the ball to fall down
you need to control the paddles by gestures
Game Screenshot
Game Video
LINK
LIGHTIT
You create crackling effect with Hand Gesture with Color
changing effect.
Game ScreenShot
Game Video
LINK
Scattered
Scattered is a game in which you guide the scattered arrays
to your liking using Hand gestures
Game Screenshot
SunFlame
Sunflame is a game where you guide the sunflame
to your liking using hand Gestures
Game Screenshot
Game Video Link
LINK
Abrupt Art Tool
here you sketch any odd lines with hand gestures and you get a 3D depiction
of your sketch
Game Screenshot
Game Video
LINK
What is Creative Coding?
covers the use of computer programs in art such as real life
art installations, interactive video, large-scale public projections, computer
vision projects, and interactive sound recordings etc.
Where Does Processing fit in
Processing has promoted software literacy, particularly
within the visual arts, and visual literacy within technology. Initially
created to serve as a software sketchbook and to teach programming fundamentals
within a visual context, Processing has also evolved into a development tool
for professionals
Processing Motto
Processing
seeks to ruin the careers of talented designers by tempting them away from
their usual tools and into the world of programming and computation. Similarly,
the project is designed to turn engineers and computer scientists to less
gainful employment as artists and designers
What is Intel Perceptual SDK and
how we utilize it
The Intel Perceptual SDK allows
you to create the next generation of immersive engaging, innovative software applications that incorporate close range depth tracking, speech recognition, facial analysis and augmented reality on Intel Core processors. Accessing the SDK
through programming method means and showing the result to the user is via a 3D Depth Camera(The SDK has the capability
to track through any 3D camera but as of now it is accessed by The Creative 3D SenZ Camera)
Combining Intel SDK and Processing
Getting Processing to work with Intel SDK is via the PXCUPipeline library that gets you going.
Excerpts below has been taken from Intel SDK Documentation
Steps
1)Launch Processing
2)Go to File>Preference.
The sketchbook directory is located at the top of the Preferences settings
3)Now open Windows Explorer and go to the sketchbook directory. In this case, it is c:/
mywork/processing
Copy
all $(PCSDK_DIR)/framework/Processing/libraries
here, as illustrated
4)Restart Processing
You will see that PXCUPipeline is part of the sketch import library
Save the Sketch and you are good
to Go.
Following is a Code snippet that
shows how to access the UtilPipeline and shows a message if the
SDK in accessible
PXCMGesture.GeoNode hand = new PXCMGesture.GeoNode();
void setup()
{
size(640, 480);
session = new PXCUPipeline(this);
if(!session.Init(PXCUPipeline.GESTURE))
{
println("Failed to initialize the PXCUPipeline!!!");
exit();
}
Using the Code
The codes will be provided lateron
Points of Interest
I have developed strong awarness towards processing it is a cool framework to get great GUI effect. I am trying My label best to Learn Craetive Coding it gives me pleasure.
Cinder Framework
It's amazing and with C++ and Intel SDK we can do lot of things. Still at early phase(I am a zero right now with C++)
Havok SDK
Havok SDK and Intel Perceptual Computing is a great combo to work with still experimenting and trying to integrate Havok SDK with Intel Perceptual SDK
Resources
Processing
Information about processing can be taken from the Processing Website
http://processing.org/
Cinder Framework
http://libcinder.org/
Havok SDK
http://www.projectanarchy.com/
History
First update for my Demo given