Skip navigation

Monthly Archives: November 2008

Updates:

  • Fixed a bug in the lighting model
  • Fixed a bug in the visibility test – test the distance to the light source too
  • Added recursive ray tracing and the effects that come with it – Reflectance & Refraction
  • TODO – Area lights and Soft shadows

Three Spheres

The blue sphere is like a glass sphere which you can see through. The sphere right behind it is reflective and you can see the blue sphere reflected in it. The green sphere is furthest behind.

BTW: Saw Bolt the movie!! Awesome! Heavily recommended!

If you are a bachelor living alone and want to cook for yourself but don’t know where to begin, I have just the recipe for you. Completely unconventional to be interesting enough and so simple that you can start right away.

I came up with it last week when I was low on cash and was wondering what to do for dinner. I looked into the refrigerator and the following recipe shaped up, which tasted delicious. Just today I made some more changes to it and now it tastes even better.

My roommates loved it and I am sure you will too.

Ingredients:

  • 2 Eggs
  • 1 Potato
  • Bread
  • A cup of milk
  • 2 tablespoons of curd &
  • 2 tablespoons of butter

Before you begin, first wash you hands thoroughly.

Now, first cook the potato. You can either microwave it or pressure cook it or boil it, whichever is simpler for you. I prefer to microwave because it’s the least messy and also the quickest way to do it. 4 minutes should be enough. Put the eggs to boil for about 15-20 minutes.

Now, take two slices of bread (I used whole wheat) and soak them into the cup of milk. Once they are soft enough, mash them up in a suitable plate (you can use your hands for this). Mash the potato too and add it to the plate. Add the curd and the boiled eggs. Add some salt and pepper and mash them all nicely. Melt two spoonfuls of butter (just take some butter in a spoon and hold it over the gas) and mix it well with the ingredients.

Voila! In about 20 minutes overall, you have a nice new, unconventional meal ready.
Eat it now, thank me later! šŸ™‚

Inspired by Oogst‘s section on Ray Tracers (and equally awed by it), I have decided to keep track of the stepwise improvements in our(me and S) ray tracer.

We started working on it last week and it’s still in infancy. Although since the assignment is due in about two weeks from now, you will (should) see a lot of rapid improvements in what we render. I might get too busy to do it now, but nonetheless updates are guaranteed after the semester ends (around mid December).

So without any further ado, here is where we are right now :

Two Spheres

Two Spheres

We have the following techniques implemented:

  • Ray Sphere Intersections ( & Ray-Triangle – not shown above)
  • Perspective-correct rendering of objects depending on view position
  • Phong Lighting Model

I hope you can see the magic in this image; or is it just me? šŸ™‚

Anyways guys, gotta get back to do some more quality stuff.

You must have come across some or the other article, somewhere or the other, regarding the must have extensions for Firefox; well, unless you are NĀ  ;).
Even I have; although, I must say all such articles missed at least one or two absolutely brilliant add-ons which can make life on the web as simple as…well…err…a Chetan Bhagat novel?

So now, to help you achieve the super-awesome power of Firefox, I give you my own set of extensions which (I think) is an exhaustive list for finding, keeping, retrieving and sharing information efficiently on the web.

1) Cooliris

I think this is more of an experience than an extension. I was awestruck when I first came across Cooliris.

I use it to watch news, upcoming movie trailers and Flickr and facebook albums. If you ever got frustrated with the Flickr Search interface, you’ll realize how easy (and cool) glancing through snaps can be.

2) ReadItLater

Exactly as the name suggests. When you are so pressed for time that *that* article which looks interesting can just not be read rightaway, you just put a check on it to ReadItLater!

3) Delicious

Since the actual site sucks big time, it’s a boon not having to go to it. They even have a search engine, which often gives better results than Google.

For people who don’t know what I am talking about, delicious is a service where you can bookmark, tag, comment and organize the information you find on the web. It can be used as a backup for all your bookmarks, which really helps when you switch browsers or machines.

4) DownloadStatusBar

An addon which just sits pretty on the statusbar instead of the ugly second download window.

5) PDF Download

Often times when you find the information you need in a PDF, you’ll want to download it. This one makes it easy to download the PDFs directly. If not, just ‘bypass’ the extension.

6) DownThemAll

Sweet. This one puts the power of regular expressions for downloading stuff. Forget ‘right-click’ and ‘save-as’. It will help you download all the interesting content from the site in one go.

7)Firebug

Firebug opens up the web for you. It helps you swim through the bare details of any website. HTML, JS, CSS, have a look at all of them.

Even if you are not a developer but are intrigued as to what lies beneath? Or are curious to know just how did the developer code such a thing? Better, if you are an aspiring developer, then Firebug can serve as a tutorial as well as an debugger or even an IDE.

Have fun with these ones and make sure to leave a commet on which one (not in the list above ) has made your life easier.