Random Image
Site Visitor Trivia

Visits today:48
Visits yesterday:76
Visits in this month:1818
Visits in previous month:2760
Visits in this year:15495
Visits in previous year:29673
Visits total:125866
Max.daily visits:748
Day of max visits:2013-06-12
Max.monthly visits:4488
Month of max visits:2015-11
Impressions today:374
Impressions yesterday:205
Impressions this month:8497
Impressions total:534868
Bots today:164
Date since:2010-08-27
Visitors By Country
Top 5:
Unknown flag 40%Unknown (50706)
United States flag 10%United States (12835)
China flag 6%China (7751)
Germany flag 5%Germany (6373)
Russian Federation flag 5%Russian Federation (6066)
125866 visits from 169 countries

Projects

I began writing MathGeoLib some time around the summer of 2011. The library has come a long way since and it now contains a range of common geometry types and different operations related to them. One of the recurring issues has been the problem of computing minimal enclosing shapes for 3D meshes for culling and collision detection. Code for generating minimum enclosing axis-aligned bounding boxes (AABB) was included in MathGeoLib right from the start, and finding minimum enclosing spheres was added almost immediately in November 2011. Convex hull computation was added in 2012. These covered three very common geometric collision shapes, but for oriented bounding boxes (OBB), another very common collision primitive, MathGeoLib did not have anything to offer for a long time. This was due to the fact that there did not really exist any good algorithms for finding minimum enclosing OBBs, and brute force or principal component analysis (PCA) were the most common approaches. This means a choice of getting either practically the optimal result extremely slowly, or possibly an arbitrarily bad result very quickly. A number of intelligent numerical optimization algorithms have been crafted to help this issue, but since those are not able to give any guarantees either, and I could not find any reproducible implementations, they did not feel right.

Last Updated (Friday, 05 June 2015 13:08)

Read more...

 
More Articles...