Thursday, November 8, 2007

2nd, 3rd and 4th time VR...

... and Nice in between.

Phew! The last two and a half weeks were both exhausting and really beautiful too. I made myself a little present to celebrate the graduation and so I travelled to Nice to visit my girlfriend Sarah. She is currently living there to enjoy all the advantages the Côte d'Azur provides even in wintertime. And of course she's doing some university courses too... :-)
One of the following posts will be a detailed report of my journey combined with a selection of more than 150 pictures I took. As well, I'm thinking of creating a Picasa web album to upload my pictures there.

Before I left Vienna I needed to perform the second and the third assignment of the 'Virtual and Augmented Reality' course. Again we had to take screenshots of our work and us. Here's what I got out of the second one:

We needed to accept two marker sheets showing two cubes whereupon the user (i.e. me) was able to change the color of one cube by pressing a button on the keyboard. Well, that was not too difficult again.

The third assignment was a little trickier but really funny:



The software supports some kinds of simple geometrical figures like cubes as you have seen in the previous pictures and other ones like cylinders, spheres or cones. So our task was to create either an alien or a robot standing, sitting, resting, whatever on a base plate. You can choose by yourself whether my figure has to be declared as an alien or a robot. :-)

I performed the 4th task when I got home from Nice. It has been the last and therefore indeed the trickiest one of all so far:



Again we had to accept two marker sheets and to perform some mathematical computations. You can see the normal vector and the vertices of the markers. In the top left corner of the picture you can see (if you can actually read it, I can't because of the damn color) the distance between both of the markers and the focus of the camera. This distance is computed in centimeters and will be the actual distance in the real world. The third line shows the actual distance between the two markers.
The most difficult thing was to compute the grey cylinder which connects the midpoints of the two markers. Well, the actual position wouldn't have been so difficult to compute but you have to remember that the position of the marker sheets can be anywhere in front of the camera. It's up to the user to decide. So the grey cylinder has to follow the movement of the marker sheets and has to be placed correctly in between with the corresponding length and everything has to be in realtime.

Please enjoy the pictures and explanations. There will be more next week when the 5th and last assignment has to be finished.

Bye-bye! Max

No comments: