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: 

Instance a graph/ multiple graphs in scene; 100+

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
ZachGray
389 Views, 2 Replies

Instance a graph/ multiple graphs in scene; 100+

Are there any optimizations for multiple identical graphs in a scene? Creation, saving, and loading are all quite slow, and the compounds are bloating the save files. 

 

I'm importing a curve using  curveInfo>points and using @mjcg91 's curve framing compounds to export a array of matrices. The maya scene has a changing number of inputs and a custom up vector, so having multiple inputs and outputs will be very difficult to manage.

 

ZachGray_0-1597287184418.png

 

Thanks!

 

Zach

2 REPLIES 2
Message 2 of 3
mjcg91
in reply to: ZachGray

When having a lot of graphs in a single scene, the key is to have a referenced compound inside, and have only this compound connected to your inputs / outputs. This greatly reduces the size and save / load time of Maya scene files.

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

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

Thank you. That note took the scene from 185MB to 3.5MB.

 

Creation is a little faster, but still slow to spin up the graph.

 

For future readers, saving a graph to your library includes all the nodes, while saving a compound to your library allows a reference.

 

ZachGray_0-1597345106463.png

 

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

Post to forums