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