Sunday, October 26, 2008

Weekend SVN Logblog, (Oct. 26, 2008)

Last week I played Fable II. The end.

Okay, maybe my productivity this past week wasn't that bad, but it sure feels like it. Maybe a review of my recent checkins will prove me wrong.

------------------------------------------------------------------------
r905 | Administrator | 2008-10-26 00:38:40 -0700 (Sun, 26 Oct 2008) | 3 lines

Fixed a bug with point-in-triangle testing (I wasn't checking that the point was in the plane).


I posted a pre-alpha build of Strange Visit on the TIGSource forums, and at least one user called me out on the collision bugs. I knew they were there, but I was trying to pretend they weren't that big of a deal. Of course, it was--worst case, the player could become completely stuck in the geometry of a map and be unable to move. I eventually tracked it down to a point-in-triangle test that was giving false positives because I wasn't first ensuring that the point was actually in the triangle's plane. This is was happens when I copy algorithms wholesale from other sources and don't fully grok their proofs. Lesson learned.

------------------------------------------------------------------------
r901 | Administrator | 2008-10-25 15:50:58 -0700 (Sat, 25 Oct 2008) | 2 lines

Bunch of work on SV exterior.
Fixed endless recursion bug in sector traces.


Most of this week was spent blocking out the level for Strange Visit, and it's finally at a decent state. Working on it has continued to reveal bugs relating to sectors and portals; in this case, a stack overflow when a ray was traced through more than one portal such that it ended up back in a sector it previously traversed. This is why it's important that I'm finally making a "real" level instead of just simple test cases.

0 Comments:

Post a Comment

<< Home