Saturday, December 28, 2013

Installing Chrome on CentOS 6.X

I tried installing the Chrome browser in CentOS by simplying downloading the provided rpm by Google.Unfortunaltely I came to know that Google no longer supports the most popular commercial Linux (Red Hat Enterprise Linux) and its free equivalents CentOs and Scientific Linux.


Friday, December 20, 2013

Get Battery Status from Terminal

I wanted to trigger an application based on the current status of the battery, so I wanted to get the information about the current battery charge status.
Its fairly simple in Linux. 'acpi' is very handy for the purpose. If you haven't installed it yet (you can check it using the code below):

rpm -qa acpi
You can install it easily using apt-get in Ubuntu or if your machine is rpm based like mine, you can look for it in web.

Tuesday, December 10, 2013

Completed my Particle Viewer App

Finally, my "Particle Viewer" Application is complete. I have been working on it for long and it really feels good to see it running. For those who don't know, its a 3D particle analysing tool that is used to study particle behaviour inside a container. The containers are the STL files which are also rendered using the application.

Particle Viewer

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

Wednesday, October 30, 2013

Made a Javascript Cleaner.

I am not an expert on Javascript nor I am that familiar with the language, but today I tried to do something that involved Javascript so that I could learn. So I thought to coding a Javascript-Cleaner which would help me understand its sematics on the process :D

Preview

Understanding Voronoi Diagrams.


Recently I have been trying to study methods for triangulations. I want to triangulate random 3D points for surface generation. While researching the problem, I stumbled upon an interesting diagram called Voronoi Diagram.

The Voronoi Diagram of a collection of geometric objects is a partition of space into cells, each of those cells consists of the set to points closer to one particular object that to any other.



Blogging Again :D

I haven't been working on my blogs lately. I have been quite busy to say the least. I have updated some blog post on my other blog TechTach.com, which is more of a technical blog. I am planning to allocate some time on this blog more often now.

Mostly I will be sharing what I am learning or trying to learn and also some works/projects I have completed. So, this will be my work dairy now onwards :D

Thank you for reading.