Jump to content

in order neighbor traversal


Activate

Recommended Posts

I am trying to introduce a new point into an existing geometry.

 

To do so, I split the primitives associated with a point in two. Half of the primitives stay with the original point and the other half get rewired to the new point. However, to create a connected geometry, I need to introduce two new primitives that connect the old point, new point and two split points (red, blue); see screenshot. At the moment, I am finding the red and blue point based on a plane (defined by its normal derived from a cross product). Unfortunately, this does not work when the geometry has been processed by a mountain sop (with large frequency and height). What I really need is an in order traversal of neighbours.

Could anyone tell me how to do in order traversal of neighbors in VEX? 

Screen Shot 2016-10-22 at 6.54.39 PM.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...