<%@ include file="../../check-login.jsp" %> Subdivision.org: Re: bounding boxes for loop's subdivision patches <% session.setAttribute ( "messageNum", new Integer ( 2611 ) ); %>

Re: bounding boxes for loop's subdivision patches

Posted by Scott Schaefer on September 14, 2005 at 11:07:17:

In Reply to: bounding boxes for loop's subdivision patches posted by Ray on September 13, 2005 at 16:27:02:

: I am working on ray tracing Loop's subdivision surface, and I wonder if there is a fast way to compute the bounding box of each subdivided patch (a patch is a single triangle in the base mesh). Ideally I would like to compute these bounding boxes from the base mesh, NOT the finely subdivided mesh, which is expensive. They don't have to be exact but should be fairly tight for fast ray tracing. Thanks!!

Yes there is. Loop subdivision (as well as many other subdivision schemes) has the convex hull property. That is, the surface lies in the convex hull of its control points. So if you take a triangle from the base surface and consider all triangles that touch that triangle, the convex hull of those control points bounds that patch. You can then compute an axis-aligned or non-axis-aligned bounding box from those control points.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL: