[Sidefx-houdini-list] Create attribute (primuv, primnum) similar to scatter sop does?
mdunkley at gmail.com
Wed Feb 12 15:15:11 EST 2014
Hey Dominik, the easiest way I know of is the "xyzdist" VOP / Vex function.
It'll find the closest position on a geometry to your point and give back
the barycentric coordinates. "intersect", the VOPS version of ray, should
also work, so long as you know the vector you're projecting along.
On Wed, Feb 12, 2014 at 3:03 PM, Dominik Kirouac <dk at shedmtl.com> wrote:
> Hey all,
> Here is the problem, we have curves (hairguides) import from another
> software(xsi) with alembic. We create a group of points with the root of
> each hair and we are trying to make this group stick to the deforming
> I want to replicated one of the behavior of the scatter sop(create primuv
> attribute on points and primnum).
> Is there a way we can get these informations from the closest geometry
> using a ray sop or expressions ?
> *Dominik Kirouac // SHED **
> *FX Artist
> 1410, RUE STANLEY, 11E Étage MONTRÉAL (QUÉBEC) H3A 1P8
> T 514 849-1555 F 514 849-5025 WWW.SHEDMTL.COM <http://www.shedmtl.com/>
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list