Untitled

Published August 11, 2006
Advertisement
So, way back when HopeDagger showed us his awesome logging system (too lazy to get a link to the post) I decided that I had to have one like it. Because... omg, its just so awesome!



Its quite a hack, but it works pretty well. I went through the texture atlas code and added little quirky log messages everywhere to debug the stuff. I was quite surprised to be greeted with this message at one point while re-running the application:

ERROR: Quadtree appears to be corrupted.

This made me lol, because wtf kind of error message is that? It "appears" to be corrupted, okay. So I go into the code to see where I put this message, and right above it -

// none of the children are large enough? Should never happen.

LOL. Okay, so something is borked. The problem is kind of complicated to explain, but essentially when a quad was broken up and had all its pieces filled, it would "lie" about how much space it had left. Wasn't that hard to fix though :3

But yeah. Thanks for the awesome idea, HopeDagger! <3
Previous Entry Untitled
Next Entry Untitled
0 likes 3 comments

Comments

HopeDagger
I hope you included sex-ay HTML output files too! [grin]
August 12, 2006 07:51 AM
Mushu
Well, I made it so I can switch out the output streams. I, uh, didn't get around to writing a special XML/HTML one yet ;_; (though I should, shouldn't I?)
August 12, 2006 09:24 AM
Programmer16
I demand HTML output. And possibly CSS support.
August 14, 2006 03:59 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Untitled

5308 views

Untitled

1043 views

Untitled

1185 views

Untitled

1100 views

Untitled

1145 views

Untitled

1429 views

Untitled

1098 views

Untitled

999 views

Untitled

1003 views

Untitled

1183 views
Advertisement