Saturday, November 30, 2013

"Shaking Divs" using CSS

I was quite familiar with the implementation of periodic shake motion of div's using Javascript. But, now that CSS3 is here, implementing shakes of div's has been fairly easier. I didn't knew this was so easy and so efficient using just CSS.

Here's the link to the implementation of the shake:

Saturday, November 23, 2013

Reflection, Refraction using CubeMapping.

Reflection, Refraction is fairly easy in OpenGL using both Shader and normal OpenGL pipeline. Today I tried both the classical method of Reflection Mapping and also using shaders.
The main objective of today's work was to render shiny Metals and Glass. The shiny metal needed a simple reflection mapping. The result is shown in the figure below:


Friday, November 22, 2013

Setting up Github Home Page.

Today I did a very basic CSS to design my Github Homepage. I am not much of a designer and have only basic CSS skills, so I was preety excited to work on it. Though, there's not much to see, the page is still under construction, I am happy with what I have for now :D 


Wednesday, November 20, 2013

Displaying Excel in Webpage. [Excel2HTML]

Working on my report generation project, today I tried to display Excel data in JSF powered pages using Java. First I looked for existing libraries/extension for Java that would help me display Excel data in HTML. I found a pretty good library too, called the ZKSpreadSheet. Here's the link : zkspreadsheet. It's very powerful, but not exactly what I had in mind.

Snapshot of Excel Display in HTML

Monday, November 18, 2013

Metal Effect using GLSL in OpenGL.

Today I tried to produce a like-metal effect to objects in OpenGL using GLSL. I implemented Phong's Per pixel shading in GLSL on top of a Brushed Metal Texture. I set the metal's material property using references from the internet.

I haven't added reflection (cube mapping) here, as it looks fine and also because its just a simple STL viewing interface.

Here are some of the snapshots:

Saturday, November 16, 2013

Introduction to Perlin Noise [ Theory ]

In this blog post I will try my best to describe you what Perlin Noise is and why is it so popular. I will walk you through the very basics of Perlin Noise and help you grasp some basic concepts on it.

fig: Two-dimensional slice through 3D Perlin noise
Source: Wikipedia

Thursday, November 14, 2013

Wednesday, November 13, 2013

Working on Excel Report Generation using Java (POI) [Automation]

I am currently working on a Java Project that automates Report Generation using POI. Given necessary parameters, it would extract data from database and construct an appropriate Excel table.
Sounds pretty straightforward, isn't it? Well, it certainly is not. A good table would require proper coloring of Cells, setting required Formulations, appropriate Merging of cells and even setting proper column width and many more.

Tuesday, November 12, 2013

Saturday, November 9, 2013

Working on my "ParticleViewer".

I have been quite busy working on my current project, called the Particle Viewer, which is a Graphical User Interface that is used to analyze the particle behaviour inside a container.
Here's a little Snapshot of the application:

Monday, November 4, 2013

Made a Code Viewer For Blogger.

Today, I made a really simple Code Viewer that allows Blogger Template to render Source Code in an effective or rather attractive and readable form. It's not much of a big deal, but I was  looking for a similar plugin for this blog some 2 days ago and realized how simple it is. So, I thought of making one.


Saturday, November 2, 2013

Friday, November 1, 2013