Re: Depth-Sorting Axis-Aligned Boxes
Sebastian Sylvan <[email protected]>
| Newsgroups | gmane.games.devel.algorithms |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 2, 2009 at 8:30 PM, Richard Mitton <[email protected]> wrote: > I may be missing something, but can't you just do a sort based on their > furthest point along the camera axis? > > i.e. transform into view space, then sort by furthest Z coordinate. Also, the closest corner of the AABB will be the same for every AABB, so you can just look at the camera direction once per frame, and compute which "corner index" you need to check for each AABB. -- Sebastian Sylvan +44(0)7857-300802 UIN: 44640862 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ GDAlgorithms-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list