Harshdeep 2.0

October 16, 2007

My Ray Tracer Artifact

Filed under: Graphics — harshdeep @ 7:50 am

I just completed an artifact for the Ray Tracer that I worked on as part of an assignment for the Computer Graphics course that I’m taking this semester.

One of the coolest things about Computer Graphics is that you can immediately see the results of your labor. Here is the artifact that I’m going to submit.

There is nothing path-breaking about this example. It just shows off the minimal set of features that every ray tracer has.

The spheres are placed according to a simple recursive algorithm, and the planes are meant to make the 3D placement of spheres more evident. The material of each object is both reflective and refractive. The central sphere is mapped with a texture and the diffuse color of the rest of the spheres gets darker with the depth of recursion (smaller ones are darker than the bigger ones). There are four point light sources in the scene. Each ray can bounce (reflect or refract) up to 4 times.

This is how the image looks if there is no reflection and refraction.


October 5, 2007

What is in a name?

Filed under: Uncategorized — harshdeep @ 12:49 pm

For quite some time, Gmail has been repeatedly showing me Vicks ads irrespective of the content of the messages I read. Reason – their tagline is “Harsh weather”. And Harsh, being part of my first name, appears in most of the mails in my mailbox. So even though the weather is pretty pleasant here in Austin, I keep getting this ad. So much for targeted advertising.

During the first few weeks in the US, I tried to emphasize that my name has nothing to do with the English words ‘harsh’ and ‘deep’ by telling them that they should pronounce ‘Harsh’ as in ‘Hersheys’. But I gave up when all they could remember a few days later was ‘that chocolate guy’.

Create a free website or blog at WordPress.com.