Progress

I wrote some code to drill upwards through the folder hierarchy and grab the classname from the topmost folder instead of the one immediately above the object being exported.  This means I can group brushes together now into sub folders and copy/rotate/scale/etc them as a group.  That is going to be hella useful and wasn’t something I had the ability to do in the Quake editors of old.

I also changed a few bits of code that will make work flow much easier (such as grabbing material names from the filename of the material instead of the name within Cheetah’s material browser).

Something is wrong with my texture mapping code though.  It’s nothing serious but I just discovered this morning that it doesn’t do the right thing on textures that are not 64×64.  I know it sounds like I should have noticed that before but most Quake textures are 64×64.  I think I can hack in a fix by just scaling the resulting UV coords based on the size of the texture.  I’ll see about that tonight.

Leave a Reply