Hi,
I have build an ICE compound which mimics the the classic Subdivide Edges Command. Now I want to do the same for polygons and encountered an odd problem. When I connect the "Subdivide Edge evenly" compound to the ICE tree the edge index (self.SbdEdge) isn't existent any more. I have attached two screenshots and a test scene. Any ideas?
Cheers,
Stephan.
ICE Modelling: Edge-Index Problem
-
elhemp
- Posts: 18
- Joined: 22 Jan 2010, 16:51
ICE Modelling: Edge-Index Problem
You do not have the required permissions to view the files attached to this post.
-
Chris_TC
- Posts: 411
- Joined: 22 Mar 2010, 16:43
Re: ICE Modelling: Edge-Index Problem
This has to do with the Filter node. And I still don't quite understand why it sometimes filters the way you'd expect and sometimes returns "default values".
If you plug the result of your Filter directly into the self.SbdEdge (i.e. bypassing the Select in Array), only the four filtered edges are returned. But if you use the Select in Array, every polygon returns something, most of them 0.
To fix it, all you have to do is put a Build Array From Set between your Filter and the Select in Array. But again, this behavior often confuses me.
If you plug the result of your Filter directly into the self.SbdEdge (i.e. bypassing the Select in Array), only the four filtered edges are returned. But if you use the Select in Array, every polygon returns something, most of them 0.
To fix it, all you have to do is put a Build Array From Set between your Filter and the Select in Array. But again, this behavior often confuses me.
-
elhemp
- Posts: 18
- Joined: 22 Jan 2010, 16:51
Re: ICE Modelling: Edge-Index Problem
Thank you for the explanation. It does the the trick.
Cheers,
Stephan.
Cheers,
Stephan.