johnroper100 / CrowdMaster

Crowd Simulation for the Masses
http://crowdmaster.org
GNU General Public License v3.0
133 stars 24 forks source link

Nodes: More than one input being connected to same socket #26

Closed axb2035 closed 7 years ago

axb2035 commented 7 years ago

In the Agent Generation node editor you can connect the output of more than one node to the input of another node (see image attached). Seems to break Blender convention of one input per socket and may lead to unexpected outcomes for users.

Suggested behavior is when an new input is connected to a socket with an existing input, the existing input is deleted and replaced with the new input (in line with the compositor).

Simulation node editor has not been tested for same behavior but suggest that it should also conform to a single input into a socket.

20170613 - more than one node connected

johnroper100 commented 7 years ago

In both the generation and simulation systems, the input of multiple nodes per socket is needed. In the generation node tree, multiple inputs to the generate node act as multiple placement setups.

johnroper100 commented 7 years ago

In the simulation node tree, multiple inputs are needed to pass the required data to each node. In fact, some nodes even have controls to decide what to do with each input (http://crowdmaster.org/docs/simulation/nodes/output/output.html).

@Peter-Noble can talk more about this.