I'm trying to generate an array of point positions from an array of vertices (integers).
My problem is that it appears the point position array is getting reordered.
(Array of Integers) -> Test Vertex Index (Integer)->Filter (Keep) -> Build Array From Set->
Get Point Position -> Filter(Array)
Thanks for your help,
-Dave
Need to generate point position array from vertice array
-
dwigfor
- Posts: 395
- Joined: 17 Nov 2009, 16:46
-
grahamef
- Posts: 281
- Joined: 23 Jun 2009, 19:01
Re: Need to generate point position array from vertice array
Here's one way:
Get Point Positions --> Build Array from Set --> Select in Array (Array)
(array of integers) -----------------------------------------> (Index)
Get Point Positions --> Build Array from Set --> Select in Array (Array)
(array of integers) -----------------------------------------> (Index)
-
dwigfor
- Posts: 395
- Joined: 17 Nov 2009, 16:46
Re: Need to generate point position array from vertice array
Thanks Grahame. I'll try that tonight!
I'm slowly venturing into ICE Modelling and I'm trying to build a Bridge Between 2 Polygons compound. My thinking is to get the PolygonToVertices for the 2 polygons, create polygons between the selected polys (based on Chris' Procedural Bridge Tutorial #2), Delete the original polys, weld the points of the new topo with the original topo. I thought I had it working, but was going crazy why I couldn't get it to work. Finally discovered it was the ordering of that point position array (I think the help mentions something about ordering in the Build Array with a Filter node.... Hopefully this will work, and then I just gotta figure out how to weld the points (I think I saw ChrisG has a compound for this on vimeo)
-Dave
I'm slowly venturing into ICE Modelling and I'm trying to build a Bridge Between 2 Polygons compound. My thinking is to get the PolygonToVertices for the 2 polygons, create polygons between the selected polys (based on Chris' Procedural Bridge Tutorial #2), Delete the original polys, weld the points of the new topo with the original topo. I thought I had it working, but was going crazy why I couldn't get it to work. Finally discovered it was the ordering of that point position array (I think the help mentions something about ordering in the Build Array with a Filter node.... Hopefully this will work, and then I just gotta figure out how to weld the points (I think I saw ChrisG has a compound for this on vimeo)
-Dave
-
dwigfor
- Posts: 395
- Joined: 17 Nov 2009, 16:46
Re: Need to generate point position array from vertice array
Works great! I think my problem was I didn't have a Build Array From Set after Get Point Position, when I tried using Select In Array. I'll have to keep that in mind in the future.
Thanks again! -Dave
Thanks again! -Dave