Game Name: PerC
Platform: Intel AIO
Category : Games
Coding Languages to be used: Processing Creative Coding
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.
The game involves gestures in front of a 3D Depth Camera. All Game movements will be
done by air gestures.
- Swipe Left
- Swipe Right
- Swipe Up
- Swipe Down
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
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
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
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.
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
With Swipe Up gesture
you get a different pattern and effect to the maze game.
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
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
The Figure shows when Floating BOB is created with hand
Game Video Link
Check it in action
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
Avoid the BLACK boxes it will reduce the life
other boxes are surprises you need to play the game to find
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
It is a game where you need not allow the ball to fall down
you need to control the paddles by gestures
You create crackling effect with Hand Gesture with Color
Scattered is a game in which you guide the scattered arrays
to your liking using Hand gestures
Sunflame is a game where you guide the sunflame
to your liking using hand Gestures
Game Video Link
Abrupt Art Tool
here you sketch any odd lines with hand gestures and you get a 3D depiction
of your sketch
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
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
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:/
here, as illustrated
You will see that PXCUPipeline is part of the sketch import library
Save the Sketch and you are good
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();
session = new PXCUPipeline(this);
println("Failed to initialize the PXCUPipeline!!!");
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.
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 and Intel Perceptual Computing is a great combo to work with still experimenting and trying to integrate Havok SDK with Intel Perceptual SDK
Information about processing can be taken from the Processing Website
First update for my Demo given