From: Blumblebee
curious, what do you mean by bounds check? I'm interested :)
Simple =]. Just check the bounds of the box you just made.
Tree.ATPA := SplitTPAEx(Tree.TPA, Tree.W, Tree.H);
// Made sure u got ur correct tree and everything.
Tree.Box := GetTPABounds(Tree.ATPA[{TheTPA}]);
while ((Tree.Box.X2 - Tree.Box.X1) >= {Width}) and ((Tree.Box.Y2 - Tree.Box.Y1) >= {Height} do
//Wait or Keep Checking the Bounds or w/e
just a simple example on what i meant :P Just checkin the bounds n stuff. I like your color method as well =]