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: 

Is there a way to keep a port as an array, but does not limit what data type it is?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
g2m.agent
257 Views, 2 Replies

Is there a way to keep a port as an array, but does not limit what data type it is?

My compound requires an array as a parameter, but I don't want to limit the data type to int or float. Because in that case, I have to make two exactly the same compound (just the data type is different, the processing process is exactly the same).
 
If I keep the port type as auto, the port will become "non-array" and alarm. I don't want to confuse users. So what I can do at the moment is to mark "int or float array" on the port name.
 
I believe there must be a more correct way.
 
maya_hsRGHQc765.png
2 REPLIES 2
Message 2 of 3
mjcg91
in reply to: g2m.agent

You can place a build array directly after the port. It should for it to become an auto array.

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

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

that works. thank you!

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

Post to forums  

Autodesk Design & Make Report