Archive for January 2002

The Storm is over

The storm we had last night is over — it wasn’t that bad. The worst thing about it was, that it kept me awake so that I was kind of tired, earlier today, when I went to BioCity together with thoooms (Thomas), Manitou (Jérémy) and his girlfriend to see Lord of the Rings. The storm also caused some other damages: a section of the wooden fence, that I can see out of my window, is missing.

Lord of the Rings With regard to Lord of the Rings, then what is there left for me to say? Other people have probably already told you how great it is… But I’ll give it a try anyway :-)

So, let me start by saying that it’s a stunning movie — it’s really amazing to see how Peter Jackson has managed to visualize the book. Everything looks so real and feels so natural because it stays close to the book. And when you see the film again (as I did today :-) then you can really enjoy all the details, such as the over-sized carrots in Bilbo’s kitchen. I also love the scene where Frodo sees Arwen for the first time — the way she illuminates everything around her with her beauty. And when you hear them speak Elvish — it’s so beautiful. And I could go on and on and on…

It’s a great movie. I don’t know how it is if you haven’t read the books and therefore knows nothing about Hobbits, Elves, Dwarfs, Wizards, and Orcs, but I can imagine, that it must be a little strange at times.

One of the things that makes Tolkien so great, is that he has created an entire world in these books. And the world has it’s own myths and legends about the Ancient times. The different races that inhabit Middle-Earth all have their own characteristics: the Hobbits like to eat all the time, the Elves are beautiful and elegant, the Dwarfs are more “rough” and so on. The movie gives examples of all these things, but I can imagine that it’s easier to notice them, if you already knows about them :-)

If you want to hear other peoples oppenion about the film, then you should head over to IMBd where they have a lot of interesting reviews.

Stormy Weather

Enya There’s a storm here in Denmark tonight — I can hear how the wind howls, as it sweeps past Skejbygaard. It’s kind of cozy to sit indoor and listen to the wind outside — not that I hear it that much, with XMMS running constantly on my computer…

I turn all my CD’s into Ogg Vorbis files using Grip. The latest addition to my collection is The Lord of the Rings Soundtrack which I got for my birthday. We can’t buy the film on DVD yet, but at least we can buy the soundtrack. When listening to it, you can see the film in your head — it’s actually very nice. Enya has made two of the tracks, which only makes things better :-)

I passed!

I had my exam in Mat10 yesterday, and I passed. My question was about the Gram-Schmidt process. I started with the main theorem and proved some other theorems as I went. It went fairly well when I got started, and it was all over in about 10-15 minutes.

Now I’m getting ready for the next, and final, exam: dIntProg. I’ve switched places with another from my class, so that my exam is this Friday (the 18th) and not the 24th as it was originally. This means that I’ll be done with my exams roughly a week before schedule — very nice indeed! :-) After the exam on Friday, I’ll go to Aalborg, where I’ll stay till by birthday the 21st. I’ll no longer be a teenager after the 21st… I guess that means that I’ve grown up :-)

It’s working!

Screenshot of a Rubik's Cube I showed you a 3D cube the other day — a cube modeled in OpenGL. I’ve now refined the cube so that it looks much better, and I have combined 27 of them into a Rubik’s Cube. You can rotate the cube as a unit, and you can rotate the individual sides. It’s actually pretty cool :-)

The cube is fully illuminated by a single light in the scene, and the individual cubes have their normals defined for all vertexes, so that they can reflect the light faithfully. The colored sides doesn’t shine very much, whereas the black, rounded edges have more intense highlights. At first I was somewhat confused by all the parameters that control the lighting in OpenGL, but it turned out to be pretty easy to work with.

Screenshot of a Rubik's Cube You can download the source right here: /downloads/rubik/. You should be able to compile the code if you have a C++ compiler (such as g++) and the OpenGL library together with GLUT which is available for both Linux (that’s what I’ve been using) and Windows.

The program is still in a kind of pre-alpha state :-) It is my first attempt at learning OpenGL and C++. So far, I really like both OpenGL and C++. I’ve been very positively surprised by C++ — it behaves just as you would expect, and it has all sorts of advanced and cool features like template functions and classes, full support for object-oriented programming and the Standard Library.

My Exam is coming up…

As you might have guessed, then I’m studying for my upcoming exam in linear algebra, also know as Mat10. The exam is the 15th so there’s still plenty of time. I’ve now worked by way through all the subjects we will be tested in, and have made a (Danish) document in LaTeX with all the theorems and proofs. I’ve now written something for every subject — there’s even a proof of the nasty Cayley-Hamilton Theorem! At first I thought it was very confusing, but then I found a proof on the net (sorry — I didn’t save the link) that took the time to explain things properly, and that helped.

The exam is without preparation, so I’ll probably have to rehearse some more… I’ve never tried this kind of exam so I don’t know what to expect. It sounds a bit scary, that I have to be able to talk about a random subject — just like that. My last exam in math was with 20 minutes of time for preparations — plenty of time to look things up in the books and so on… But on the other hand, we wont get a grade for this exam — we either pass or fail. That should make things much easier.