Search Projects

Friday, June 27, 2014

Getting Started with OpenGL ES for Android

Earlier we were focusing on small application based on OpenGL, Now we will go for the OpenGL ES. It is industry used graphics library. Today we would Getting Started with OpenGL ES for Android. As we all know Android is getting more and more importance day by day, as we see new Android L from Google I/O. Graphics is very much important for Android as we have so many apps running with much of graphic in it. Let get started with OpenGL ES graphics library learn how to use it in Android.

Prerequisites

Before we go with the setup of OpenGL ES for Android we must have an integrated development environment (IDE) installed on your computer. Choose from the two mentioned.
  • Android Studio -  Google now had made Android Studio as the official IDE for Android application development, which is based on Jetbrains's IntelliJ IDEA.
  • The Eclipse IDE
    1. Android SDK - Download it from Android.com for your Machine (depend on your OS), it comes in two version - with Android Studio and as Standalone tool, get the later one .
    2. Eclipse -  If you are not getting Android Studio or want to work with Eclipse Download it from here
    3. ADT Plugin for Eclipse - The ADT plugin for eclipse helps development of Android apps faster.
We are hoping that reader must have knowledge in Java and has used the Airndroid for programming. Keeping this on ground we are proceeding.

Setting up OpenGL ES For Android

First create a new project and name it "OPENGLES4ME" and set the minimum required SDK to API level 10(don't go further down).

You can also make sure no one install the application from Google Play on a device not supporting OpenGL ES 2.0 by adding a uses-feature in the AndroidManifest.xml.

<uses-feature android:glEsVersion="0x00020000"  android:required="true" />

Updating Soon

Monday, June 9, 2014

Computer Graphics Projects On Moving Ship

Have you ever think about the Voyage? Get the Computer Graphics Projects On Moving Ship and sail one yourself.

In this post we are going to talk about the new project that simple easier as well little tricky. It's about the ship, the moving ship. Earlier post we had already have so many project that was based on principles motion. Most likely and closely was the traffic signal where everything was just about motion of vehicles. But the most important Computer Graphics Projects was on running train. Why recalling it? Because it resembles this very project. In running train there was movement of train and here it's about the Ship.

Features of  Computer Graphics Projects On Moving Ship

  • This Opengl Project is simple, easy to code and understand
  • The important part of the project that is tricky is the water and the ship drawing.
  • Next Difficult is moving the entire ship from one direction to another.
  • It has keyboard functionality of right and left arrow key which move front and back respectively. 
  • No mouse function as it not required.

What extra be added to Moving Ship Project?

Student can add many good feature to this project and make it more interesting and interactive. Since we have only keyboard function for right and left arrow, other keyboard functionality can be added to make it funnier like up and down arrow (move in air not in water).

Add keyword function to change the colors of the ships. Also add sound as ship moves. Sound of water can also be added. Adding crew and passenger also make it more realistic. On this Computer Graphics Projects On Moving Ship, Mouse function can be added to move the ship in the direction of mouse when the cursor is move in some particular direction. The ship follows the cursor like this it can be made. 

There are many creative things that can be added to this project. You students can make it more useful and interesting. Try apply you mind, create new project with it, share with us publish in your own name. Put Your comment and let how you like this.


Download Moving Ship Computer graphics Source code free.