Activate Posted October 23, 2016 Share Posted October 23, 2016 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? Quote Link to comment Share on other sites More sharing options...
Activate Posted October 23, 2016 Author Share Posted October 23, 2016 While I am still waiting for moderator approval, here is the code I came up with: https://gist.github.com/provos/4e88a9f13fb7354fa680c7b1d4c907b2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.