World Cup

Let’s not talk anymore of the World Cup, we went out to England, end of story. I’ve just had my last exam this semester, it went very well and I’m now heading for France where I’ll remain for a couple of weeks
Have a nice summer!

Danish Dynamite

So the danish team showed the world that Danish Dynamite is still a term one can use, with the 2-0 victory against the defending champions we have won our group and will now face Sweden, England or Argentina in the next round, they better watch out, in fact – I almost feel sorry for them :).

Helena Christensen

Quake 2 MD2 Model Loader

Well, we failed to beat Senegal, but since France drawed against Uruguay we still have a pretty good position in the group.
I’ve uploaded the source code to my MD2 model loader, it supports:

  • Loading of .md2 files
  • Texturing of the models
  • Smooth animation using linear interpolation across keyframes

Besides from that it integrates nicely to my scene graph library which I will release when It’s more mature.I agree on the fact that making an MD2 loader is a fairly easy task, I did it mainly to test my lib and I was tired of testing with simple primitives only :) (yeah yeah, I know that the models is built of triangles which is simple but you get my point!). If I were to continue working on the MD2 loader I might consider supporting tristrips and trifans since I would speed up rendering a great deal.
Anyways, the source is four files in total,

  • ThMD2Object.cpp: The actual loader, it is a class derived from a generic “Geometry” class in my scene graph.
  • ThMD2Object.h: The header file for the loader class, contains the struct for the MD2 file as well. The rendering code is seperated from the actual MD2 object to allow me to code several different renderes based on different API’s, for now I’ve only coded a bit of the Glut/OpenGL renderer, but you should be able to derive from my virtual “Renderer” class and code the MD2 renderer yourself.
  • ThGlutRenderer.cpp:The code responsible for the rendering of the model (and other varius things, except for the MD2 code it is mostly incomplete).
  • ThGlutRenderer.h: Header file for the renderer.

World Cup and MD2 Model Loader

So, France lost again Senegal, not quite what I had expected and I’m not sure It’s a good thing for Denmark, which is facing the Uruguay in a few hours in a game we simply _must_ win.
I passed my belt-test, wee! I climbed two degrees and earned the right to wear the orange belt!
I might upload some new source one of these days, I’ve had a MD2 model loader finished for quite some time now it does interpolated keyframe animation and loads them with textures and all. I’m not quite sure how much of the code I’m ready to release at this stage since it uses my new (and very untested) scene-graph engine which is quite heavy on code and not ready for you guys yet. But I’ll definetly upload the code to the loader itself and the actual render, which is seperated from the loader since the scene-graph uses a visitor-pattern approach to rendering.
Well, the match starts in an hour or so and I’ haven’t had breakfast yet, see ya. AND CROSS YOU FINGERS FOR DENMARK!