Subgraph problem?

 
 
 
Posted by:jcdeblok
Data created:27 October 2012

Since day one I'm trying to explode a objects into seprate polygons, haven't got it to work yet.

Attached a ctx file that has a subgraph that copies a polygon from an input mesh, works for a single poly but when I input an array of polygons it errors out.

As I understood, if I could switch the input from a singe to an array, and the subgraph would process it for each element and outputs an array of results instead of a single item.

 

ctx file steps:

1) run the ctx, as is, on an mesh and you'll see a single polygon in the viewport.

2) now connect 'Node1->polygons' output  to the 'graph->poly' input and observe errors.

I was expecting an array of single poly-mesh objects that would  combine in the 'Combine' node to a single mesh. Each polygon would have its own set of vertexes so each poly can be moves independently.


Attached Files:

>copypoly.ctx (35807 bytes),

Cool, thanks for the file, I'll have a look.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

There was indeed a bug in graph evaluation. I fixed it and now I have myself and nice exploding mesh :)

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Nice! Glad it was not my wrong doing ;)