02 December 2006

From Organic Design wiki
Progress on interface.c

Fixed a bug last night which was making the test interface flash and tear. It was that the swap-buffer was being called on every sprite draw instead of every tree-draw. Today I found a bug in render's determining of next node which has almost got it working. It's actually doing proper recursive rectangles to arbitrarily many levels now, but doesn't quite work consistently yet.

The image shows three levels of recursion (there's a tiny red rectangle in the red next to the green). It also highlights some bugs - different conbinations of the rectangles dissappear as others are created (in this case there is an invisible green one between the large red and yellow ones). And a rendering problem - green's wheel is in front of yellow's, but its fill is behind. Also, it still crashes on-click sometimes and not many rectangles can be created before it becomes unresponsive.

  

Rr-bugs.png