[Sidefx-houdini-list] new points at center of poly faces

Ben Schrijvers ben.schrijvers at guerrilla-games.com
Wed Mar 30 03:51:15 EDT 2011


Hi Miles,

Try the Divide Sop and toggle OFF all triangulation.
And toggle ON the Compute Dual toggle.

But this doesn't work on individual polygons.
The point numbers should be the same as the primitive numbers of the 
original.
So you can use prim() and $PT to copy attributes to the points.

cheers,
benS


On 30-3-2011 9:24, Miles Green wrote:
> Hi,
>    I need to efficiently get a new point at the center of all my current poly faces..
>
> i'm sure there are multiple ways to do this, but my current method of :
>
> [input polygons]-->[facet(uniquepoints]->[primitive (scale to 0.001)]->  [fuse]
>
> is a little slow..
>
> any other suggestions appreciated
>
> M
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list