Jump to content
Sign in to follow this  
breadbox

Instance Packed objects

Recommended Posts

I'm trying to create a voronoii fractured geo to make rocks that will instance onto scatter points. 

when I pack the object it will make a path attribute for each chunk something like this:

op:/obj/debris/assemble1/pack/piece0

op:/obj/debris/assemble1/pack/piece1

etc.

 

Is there a way to read those objects back in on an Instance SOP using scattered points on a grid?

I have tried using a point wrangle to create the s@instancepath attribute variable... but I'm not able to get it to work right.

 

 

 

 

Share this post


Link to post
Share on other sites

Write each voronoi piece to a file on disk, then you can use Instance SOP and s@instancepath being the actual path to the file.

Share this post


Link to post
Share on other sites

I'd love to have a way to keep it as a live network and reference a packed object in an op:string.  I'm on a really complicated network where the path variables are out of my control and produce very complicated string paths if I write out files.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×