Thus far and pondering

So here is what I have done so far with the lab and am stuck here thinking hard....

Features available
1. A proper environment to move about
2. An optic bench that has a scale to measure the values
3. The freedom to move the object and image pins along the optic bench using the slider in HTML
4. A lens that has dynamic cube mapping feature
5. Three modes
5.1 Prepare mode - You can see the whole room and make arrangement for the experiment
5.2 Inspect mode - Keeps the camera in position to check the lens views
5.3 Read mode - Helps you to take the readings easily from the scale
6. Facility to increase and decrease the refractive index - The value is available on the top in HTML

A free demo of the usage is below. Please visit the link
http://www.youtube.com/watch?v=mkJqHsOJHBw&feature=youtu.be

Why I ponder -
1. When the refractive index goes above 1, a rather strange thing happens
2. My doubt is that the focal length of the lens is dependent on the radius of curvature of the lens as well. Since the radius of curvature of the sphere used to build the lens has to be in same units as that in the scale of the environment, this can be the cause of the problem

The big problem - The units, it is really a headache. If I make a cube of side 2 in Blender, is it the same units in the three.js. If not then we will not get accurate values for measurements.
Onto this now........................

Read more


Opening the lens' true being.....

So...........................
We conducted a lot of experiments (physically) consulted some experts and finally was able to find out a proper way of implementing the physics in three.js. Read on.......

1. What is a lens??? A lens is basically a part of a sphere




2. What is the radius of curvature of a lens???
It is the radius of the sphere of which, it is a part.

3. What is the refractive index (u) of a lens.
In optics the refractive index (or index of refraction) n of a substance (optical medium) is a dimensionless number that describes how light, or any other radiation, propagates through that medium.

4. What happens when light passes through a lens???


The light bends depending on the radius and the u of the lens......

5. What is the focus of a lens?
It is the point where all the rays intersect the principal axis after convergence.

6. What happens when an object placed on side A is being viewed from different angles on side B???



The eye, the focus and the image is always lying on the same line.....
The reason for the displacement of the image is due to the curvature of the lens.

7. What is the relation between the focal length, the refractive index(u), and the radius of curvature(R).

This is related by the modified lens maker's formula
1/f = 2(u-1)/R
So from this it is evident that for a lens of constant refractive index, the focal length is directly proportional to radius of curvature. So this is what happens when the radius of curvature decreases.....



So these are some of the basic stuff that should be known to a developer who intends to build a virtual lab for the optics experiment......

Read more


A sample fluid simulation test in blender 2.5....

Follow the link and watch a very basic fluid simulation in Blender 2.5
This actually works with all the 3 particle effects viz - domain, fluid and an obstacle.

Check it

Read more


A deformed ice cube in Blender 2.5

This is my first try on fluid simulation in Blender 2.5...


More to come as my hands on animation is getting wet :)

Read more


Change in framework

The involvement in the project has been minimal in the past 3 to 4 months due to other engagements. And a glance over the development shows nil in the GLGE lighting features. That precisely has put us off on continuing with the framework.

A new choice has been "three.js" which gives marvellous results with lighting. Inspite of a small array of glitches and lacks, this poses to be a good platform for the virtual labs to base itself. So from here on in, three.js takes up the coding area in the pages..........

Read more


Vidyut - A success story

February 3rd 2012. The real happiness was to be witnessed inside me. An year of struggle, along with my team mates has finally paid off. Standing in front of the college staring at the humongous structure of our front entrance, I ran myself through my memories "From the initial documentation, budget problems, Late night phone calls to setup workshops, thinking of creative ways to write in the website, sitting with my website and multimedia team, tying the flexes, meetings with our convener, our director, darshan from chancellor, press conferences, seeing our names in the newspapers, websites brochures" the list cannot be cut short, thus forcing me to stop now. Faced a lot - "This will never happen" "Lack of team work or rather lack of team mates" "Pressure from all sides" "A whole new experience of how to keep cool under the most difficult circumstances" "Keeping the morale up" "Fighting to make a decision". All these had really acted as a mould that I will cherish forever. The mould that taught me how to learn. Mistakes were many, no denying that. But accepting the facts, ignoring useless criticisms, imbibing useful ones has truly transformed me in a good way. I can never call myself a leader, but I have seen many through the Vidyut days. "A leader is not somebody who does things, but a person who brings his followers to a much greater standard and making them ready for the next test". I am proud to say that I was a part of the core team that made this dream of the college a reality. 

Read more


Path traversal sample video

So I could finally an object to cover the whole path. And that too along the shortest way possible :)

I made a small video of it, I apologize for the quality.
http://www.youtube.com/watch?v=oZdQxQzliH4

Read more