Friday, September 15, 2017

Engineer's Day Special - Baggage carousel

Tributes to Mokshagundam Visveswaraya who was born on 15th Sept. This day is celebrated as Engineer's day here in India. My college student who needed to visualize a conveyor belt for his student project to be displayed to people on engineers day sought my help. I did this project for him and it probably got him some confidence in his idea of RFID based tagging of luggage in airports. Here is the project on Conveyor Belt at airports. The application once complete will include RFID sensor and a mobile app which people can launch and see for themselves where on the belt their baggage is located.

Snapshot:

Here is the source.

Sunday, September 3, 2017

BrainVita - Marbles - A Game

This game was originally written by me in C++ and now ported to JOGL. I messed up the array part and was hunting online for errors such as arrayindexoutofbounds exception etc. A click outside the marble area still selects a region where marbles don't exist. I have left such bugs to be sorted out by someone truly interested in making this game production grade.

Here is the source.

Here is the snap:

Saturday, September 2, 2017

Ping Pong Balls

I have ported the ping pong balls program to Java OpenGL. Here is the program. As usual the program is not working completely.
The ball collides with the walls and the floor but bounces every time. I meant this as a game of fighting with gravity where the ball falls though the ground and only the tile at the bottom makes it bounce. There are so many unfinished projects in this blog that it will take you quite a lot of time setting things in order. You need to complete these games.


Friday, August 11, 2017

Bresenham's Line Drawing and Mid-Point Circle in Java Graphics 2D

Hello,

I am posting two of my programs which create a line and circle using the bresenham's line drawing and Mid-Point Circle.
Snapshots:


The code for:
Brezenham's Algorithm in Java Graphics2D: Here
Mid Point Circle Algorithm in Java Graphics2D: Here

Smiley Face Created Using JFrame and JPanel(Java Graphics)


Friday, August 4, 2017

Animation, Visual Effects, Gaming and Comics(AVGC) Sector in India

Online gaming is a rising sector in India. There are more people interested in game development and with increasing quality of engineers passing out each year, it is just a matter of time before India becomes a major powerhouse of gaming and animation. Everyone I meet talks of making android games.
It is said that majority of the work happening in the country is low end. We still lack in quality of gaming professionals.
There are is a lot of talent esp artistic talent. Numbers that I read are like gaming industry was worth more than 1 billion dollars in 2012. Karnataka itself has about 20 animation and gaming training institutes with more than 60 campuses training about 10,000 students at any time. This sector is a ripe area for collaboration between major engineering colleges and such run of the mill Institutes running on rented premises.
There is lot of scope for joint projects/infrastructure sharing and joint diploma courses. Launching high end game titles require years of experience in algorithms, computer graphics as well as art. Software industry is nearing stagnation and revenue growth has slowed. Young software engineers may not be suitable in AVGC Industry as they may not possess requisite skills.
We cannot foresee an electronic arts(EA),Adobe or Pixar kind of company to germinate in India at the moment but there are ominous signs of such a possibility in the future.

Friday, July 7, 2017

Install NetBeans and configure for run Java OpenGL

This is dead easy.

1)Install NetBeans and in it create a project.
2)Download these Jars(assuming you  are using windows).
3) On the library folder right click and click add Jar/folder in the popup menu.
4) Add gluegen-rt.jar and jogl-all.jar files to the library.

There you go you can run jogl programs in this project. Only thing is you need to do this for every project.