Virtual Reality
Prof. Steve LaValle
Department of Multidisciplinary
Indian Institute of Technology, Madras
Lecture – 64
Visual Rendering (distortion shading)
Sometimes this is called distortion shading I find it kind of unusual to use the word shading for a calculation that just does a stretching because shading does not have the propagation of light, but because this can be done in a style that looks like a GPU operation and it is in the rendering pipeline people often call it distortion shading, if I were naming things I would not call it that because it does not look like shading to me.
So, how does this work? Suppose, the image is square for a particular I and then; so let us put square for particular I and then I am see here I then express pixel locations in polar coordinates. So, I have theta and I have the distance r right radius let us say outward from the centre. So, the reason why I am doing this is because I am going to exploit radial symmetry of the lenses.
And, so, what I do is I perform a transformation as follows I take every pixel convert it to r theta coordinates and then I perform a transformation that maps that to some function of r and keeps the theta the same and so, again this is radially symmetric. And, the particular function that I perform f of r is assumed to be some general form I am going to give a general form it is just standard formula that comes from optical engineering textbooks and so, it is based on the theory of optics and how spherical the spherical shape of a lens is not perfect for maintaining the same focal depth as you get out to the periphery.
So, this is a standard formula for that has coefficient c 1 times r squared plus coefficient c 2 times r to the fourth plus coefficient c 3 times r to the sixth and if you want you can generate more terms by using even powers of the radius. There are no odd powers it is just the way the geometry works out an optical engineering which I am certainly not going to go through and ends up being a some sort of nightmare of algebra let us say to derive that.
So, odd power is not needed now needed this is a theory of optics you can look in optical engineering textbooks or tutorials for that if you like.
So, doing this distortion shading is better than not doing it, but it is still not perfect and that is why I encourage you to go and look and see if you can still see lens distortions and take a look at a vertical line move your head back and forth and do this vestibulo ocular reflex motion and see if it looks like the line is warping as you move, it should you know.
You should train yourself to to look for that problem.
Virtual Reality Engineering
Dr. M. Manivanan
Department of Biomedical Engineering
Indian Institute of Technology, Madras
Lecture – 65
Why Haptics?
Welcome back in this class, we talk about why studying haptics in a Virtual Reality course. As we saw in the beginning of the course, we saw that there are 2 pillars of virtual reality: one pillar is called a immersion and the other pillar is called the interaction.
(Refer Slide Time: 00:37)
Let me write it down; 2 pillars of VR immersion and interaction. So, the haptic come into picture, in the second part of the pillars it is the interaction. If you look at why do we need a interaction; what are the different ways in which we interact with the virtual reality, you will see that at a haptics is a essentially a part of it.
In order to understand, how to improve the interaction with a virtual reality we need to understand and the haptics part of it ok. So, let me list out what are the basic interaction task we have, task. So, the first and foremost basic task is to have the object selection. So, here we can say why do we; why do I need to manipulate this object or select an object manipulate or select an object or select an object.
The second way of interaction is that, it is manipulating the object, object manipulation; how do I manipulate an object? Is it just a click of the button is it just an selecting or it is rotating or you know any other task. And then third type of interaction we all be interested is navigation; navigation systems.
So, it is like way finding we want to we move around the virtual reality, even the turning of the head is the navigation system. So, we want to look around the virtual our environment to find out what objects are there, then only we get into object selection or object manipulation ok.
We are finding; so basically we want to answer how do I get there from where I am; first we need to know where we are in the virtual reality. We need to find out where do we want to go and how do we go from where we are actually there. The next object interaction is the system control.
For example, we can change the system parameters can be changed for example, if we want to change the color of the environment or the way then a virtual environment is looking right. And then the final way of basic interaction is that at symbolic input.
We want to input text or numbers; these are the different ways in which we are actually interacting with the virtual reality. If you look at many of this task it needs, now the use of the hands; the hand is a true organ of interaction of course, there are people who can interact at with other limbs for example, lower limb legs, but here we mainly assume that, we use the hands to interact with the virtual reality world.
So, in order to help designing better interaction systems, we need to understand how our hand is actually working? What is haptics; that is the science part of the haptics ok? There is a human haptics we are going to talk about and then our understanding of how our hand is working is converted into technology.
We are going to talk about the different interfaces haptic interfaces; there is a technology part of it. In the next few classes, we will talk about the science of a using the hands that is the science of touch it is called the haptics and technology of haptics where we develop interfaces in order to give you in order to enable better interaction with a virtual world.
In the next lecture we will start with the definition of, what haptics is?
Thank you.
Invieremo le istruzione per resettare la password al tuo indirizzo mail associato. Inserisci il tuo indirizzo mail corrente