[Sidefx-houdini-list] Finding all unused points (HDK)
shadeops at gmail.com
Tue Feb 2 09:12:30 EST 2010
Opps, my apologies. Yea, aside from looping through each point and testing
with isPointUsed(...), I can't think of anything.
On Tue, Feb 2, 2010 at 2:10 AM, David Johnson <daveinengland at gmail.com>wrote:
> Thanks Jim,
> I saw that one and have used it, but I was actually trying to find all the
> points that weren't being used (i.e. the ones that would be deleted by this
> function) so that I could process only them. I think I have a way to
> maintain an "unused list", but it's bookkeeping and that always messes me
> up. :)
> On Mon, Feb 1, 2010 at 10:37 PM, Jim Price <shadeops at gmail.com> wrote:
> > In GB_Detail there are some various methods to remoe unused points.
> > 00134 // Remove any unused points, and zero area polygons, zero
> > 00135 // spheres etc.
> > 00136 // If a primitive group is specified, then only primitives in
> > that
> > 00137 // group are checked for degeneracy.
> > <snip>
> > 00147 int removeUnusedPoints(const GB_PointGroup
> > <http://www.sidefx.com/docs/hdk10.0/class_g_b___point_group.html>
> > *ptgrp = 0);
More information about the Sidefx-houdini-list