Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access to number of inputs?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
valhallen
340 Views, 2 Replies

Access to number of inputs?

Is there some way I can dynamically change a node in a compound based on inputs to that compound?  This is an interest thing, and I realise I can probably python something up based on selection, but just wondering if there's access to the input counts inside the graph?

valhallen_0-1612898034454.png

 

valhallen_1-1612898137963.png


Not sure if I have explained it very well, but I'm sure you get what I'm talking about - it's a simple switch node using an array on the inside of the compound and I'm probably running before I can walk, or there's something already existing that I have breezed right past (likely), but would be nice to have.

Tags (3)
Labels (1)
2 REPLIES 2
Message 2 of 3
mjcg91
in reply to: valhallen

you can do it easily. Instead of your many inputs, create a port with type array<Amino:Object>. Then from the outside of your compound, right-click on the port and check "Fan-In". The port icon will change and it will act the same as if you were using build_array.

http://help.autodesk.com/view/BIFROST/ENU/?guid=Bifrost_Common_build_a_graph_work_with_arrays_html 

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 3 of 3
valhallen
in reply to: mjcg91

Awesome.  Thanks again 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators