GithubHelp home page GithubHelp logo

cnsuhao / opengl-painter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pankajkgupta/opengl-painter

0.0 0.0 0.0 940 KB

OpenGL-Painter is a Augmented Reality game. It is a real-time vision system that uses camera and Wii Remote (referred as Wiimote henceforth) as input to a game-play. Assignment mandates use of a camera and an inertial input device (like Wiimote). Instead of using an existing game (and plugging-in the inputs from my vision system) I preferred writing my own game because I wanted to handle the interaction in game-play. Vision system takes live stream from camera, orientation and button click from Wiimote. Camera live stream is handled using Opensource OpenCV library to detect a human face using Haar classifier cascade features and the live stream forms the background of the game screen. Orientation and button click input from Wiimote is handled using Opensource WiiYourself! Library and represents orientation of a play-tool ( a cannon in the game) and fire event of the cannon respectively. The game is a two player 3D game ( 2D was minimum required as per assignment requirements) with one player(A) using Wiimote to fire cannon on the face of other player(B). So the game represents “Fire and Dodge” behavior. Player A is supposed to fire the cannon on face of player B and aim of player B is to avoid the cannon falling on his/her face. 3D perspective of the game view changes according to the head position of player B and a red flash appears when the cannon fire hits the face.

C 10.22% C++ 85.01% Objective-C 4.77%

opengl-painter's People

Contributors

pankajkgupta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.