Older blog entries for MJ (starting at number 18)

RA2 export

Okay, so I have full VRML export working, except that there is a bit of a glitch. Texture maps are applied in mirror view.. Simply flipping the image doesn't cut it either, because then assymetric parts of the map end up in the wrong places.. I also seem to have some problems still with extracting the rotation component from the transformation matrix; items end up at the wrong angle in the wrong place.

Not yet sure how to solve this yet. Inverting the faces from clockwise to counterclockwise didn't solve it for example. I'll actually will have to think instead of just twiddle the values.

For now I seem to be stuck with mirror writing on the exported items.

5 May 2003 (updated 6 May 2003 at 17:58 UTC) »
RA2 exports

Hacked away at the GMI importer over the weekend, and I now can import all .gmf files in the RA2 directory tree! Kewl.

There are plenty of gaps in the model of course, but it doesn't look like I'd need any more information to create VRML models of everything now. At least all files parse and all known fields fall into place.


Few things in the life of a parent are more wonderful than seeing your child win a race; especially when you weren't expecting any kind of placement at all, the race was 'just for fun'. Whee! :)

2 May 2003 (updated 2 May 2003 at 14:39 UTC) »
RA2 exports

Woot! Found text versions of .gmf files (*_txt.gmf). Now I have names for the extension nodes. I knew using a unittest that tries to import *all* .gmf files in the RA2 tree were a good idea.


I cleared the 'people I certed' list; it was way outdated and maintaining it was a pain. Can we have an XML-RPC interface to the account fields please?

Yeah, I am still alive.

For the record, in my spare time I am hacking out a community website to exchange Robot designs for Robot Arena 2; their exchange just doesn't cut it.

So far, I have analysed the .bot and .gmf file formats, and have done some rudimentary exports of both formats to VRML. The .bot file format was easy, it's mostly newline-separated (albeit unlabelled) data with some bitmaps thrown in for good measure; .gmf was a bit harder to crack, until I realised it is essentially a binary version of the 3D Studio Max .ase export format.

Using this we can have 3D previews of uploaded bots. In the process, I learned more about linear algebra than I care; decomposing a 3D Studio Max tranformation matrix into rotation, transformation and scale components was, hmm, 'interesting'. I'll see about releasing the Python version of the Graphics Gems IV algorithms someday.

When did I earn the level 'Master'? *Shrug* Don't count on me adding anything here on a regular basis, BTW.

Urg. No posts since April. Shame! Shame!

One more fan bernhard; I have a bookshelf with all the PTerry paperbacks to date. If you like your antropomorphic entities to be as up-to- date with reality[1] as can be be, hop over to The L-Space web for some introductions.

And if you are wondering about why PTerry's works are so special, maybe this dissertation on Postmodern Parody may go some way in explaining why so many of us like his work.

[1] However thin. Don't play with the fire of imagination, children. Reality is easily set alight!

Hey, this is kewl. If anyone mistypes my nick as mj (lowercase) you automatically get redirected to the proper (upper case) link. This is at the server level, I didn't create an account for the lowercase spelling with nothing but a JS redirect or something. Thanks raph.

As it turns out, this works with any nick with upper case characters; when you create an account, an all lowercase alias is created to avoid name collisions. Apparently some parts of Advogato are case-sensitive while others are not. Lucky for me =).

One down, two more to go. Bloody hell, I really needed the full 3 hours for that exam.

And while I should be revising for the next one, I added descriptions of everyone I certified... very productive indeed.

Last but not least, I proposed interfaces for an XPCOM XML-RPC client on the netscape.public.mozilla.xml newsgroup, and have started implementation. So far people are only listening intently (I get notified if someone adds themselves to the CC list of the Bugzilla bug I filed for tracking this), noone has offered any feedback so far. Thanks go to everyone on #mozilla that helped me out with my Q's though.

Heh. This is getting fascinating. I wonder who cheated this poor sod out of $29. He wrote another email (obviously ignoring our friendly reply to his previous email) on the subject of wanting a refund. Again, I obscured the identity for obvious reasons:

To Whom It May Concern:

Today, online I placed an order for the search engine, however upon further considerations I have decided that the package, is not useful for my project. I would greatly appreciate it if you would refund my $29.00. Please be assured, that I have not used and have no future plans of using zope.com. If you have any further questions, please e-mail me at jxxxxxx@hotmail.com

Jxxxxxx Rxxxxxx

Again, to clarify, Zope (usually reached via zope.org, but zope.com works as well), is OSS, and is not a search engine either. Did someone cheat him, or does he really think we're stupid enough to believe we should 'refund' him? What to do with this guy? I guess the Debian webmasters get these all the time, eh?

9 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!