ICE Modelling: Edge-Index Problem

Discussions about SOFTIMAGEs© Interactive Creative Environment©
elhemp
Posts: 18
Joined: 22 Jan 2010, 16:51

ICE Modelling: Edge-Index Problem

Post by elhemp » 05 Oct 2011, 15:30

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.
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

Post by Chris_TC » 05 Oct 2011, 18:50

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.

elhemp
Posts: 18
Joined: 22 Jan 2010, 16:51

Re: ICE Modelling: Edge-Index Problem

Post by elhemp » 06 Oct 2011, 10:08

Thank you for the explanation. It does the the trick.

Cheers,
Stephan.