Jump to content
Oliver Markowski

wrapping geo like Wrap3

Recommended Posts

I think you could do that with the RAY sop. You may need to resample the source or the target so they have the same number of points.

Share this post


Link to post
Share on other sites

point clouds would better then ray sop....

*edit:
actually ray-sop and then point cloud look up works best.

Edited by schwungsau

Share this post


Link to post
Share on other sites

the only save way would be unfold the geo in one 2d plane (pretty much uv unwrap) for boeth geo and match uppoint wih point clouds radius. to make it in vex it could a little tricky..... i 've never did it in houdini...

Share this post


Link to post
Share on other sites

Seems like an advanced tool for me. I think it's not possible in Houdini, unless you'll write such solver from scratch using basic Houdini tools. You need to know algorithms behind this technology. Ray SOP basically does a raytrace. It is somewhat useful to conform meshes with almost identical shape, but it won't give you advanced results like transforming a base state of modeled hand into a gesture from scan. Same problem with point clouds.

  • Like 1

Share this post


Link to post
Share on other sites

This is very very good File! Thank you Petz. I did not know it is possible with Houdini.

Share this post


Link to post
Share on other sites

thanks for that file petz! After looking at it I feel like I know nothing about Houdini :) Need to dig into all the nodes now! Thanks a bunch!

What exactly are you doing in CHOPs?

Cheers

Oli

Share this post


Link to post
Share on other sites

New point positions based on the reference geo are being interpolated in CHOPS. Here is an example from years ago with similar functionality

 

Share this post


Link to post
Share on other sites

Hey guys, sorry to ressurect the topic.

I'm just new to python and I can't quite understand what's going on in the python node inside 'subnet'. Can anyone help me? =O

 

cheers

Edited by samuel

Share this post


Link to post
Share on other sites

Alright so I just finished to study python (solo learn app ftw) to figure out how the python code works. For those interested:

 

node = hou.pwd()
geo = node.geometry()
#these came by default with Python SOP, don't change it.

nodeTrans = node.node("/obj/geo1/subnet1/objnet1/OUT")
#nodeTrans receives the points and its data resulted of the objnet/extractgeo SOP

mat = nodeTrans.worldTransform()
#mat receives a matrix with the transform data of the points in the world, translate and rotate information

matAttrib = geo.findGlobalAttrib("mat")
#matAttrib receives the 'detail attribute' data from mat. In the first time in the loop it has zero data, so \/

if not matAttrib:
    matAttrib = geo.addAttrib(hou.attribType.Global, "mat", mat.asTuple())
#Turns the matrix data of mat in 'detail attribute' as Tuple

else:
   geo.setGlobalAttribValue(matAttrib, mat.asTuple())
#if matAttrib already has something in it, put these values into 'detail attribute'

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×