Friday, September 15, 2017

Engineer's Day Special - Baggage carousel

Tributes to Mokshagundam Visveswaraya who was born this day and This day is celebrated as Engineer's day. Here is a project on Conveyor Belt at airports.

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. The problem with java is ArrayOutOfBoundsException if you click outside the marble area. Dear Java... Grow up. I know I have to handle those sort of errors and it sort of is critical to the playability. Another problem is sometimes a click on one marble selects nearby marble.

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. It should collide with the tile and only then bounce.


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.