Jump to content

Load offset with a filemerge node, massive sim workflow question.


tricecold

Recommended Posts

So I have this wedges of nearly 1000 sims baking on the farm. I would like to load them back with several filemerge nodes but with frame offsets inherited from a Cd attribute in the scene. I thought of doing this with file instancing and baking the offset and cache numbers as attributes, but this will only work for Mantra, I will have to export this geometries out of Houdini with the offset. Any ideas ? Also the sim needs to hold its first frame until the frame offset value is reached.

Link to comment
Share on other sites

you can still do it with pointcloud with instancing attribs (orient, pscale, ...) and string attribute containing file path (with offsets however you want) 

then just use Instance SOP using that attribname

it will load geometry for all the points as packed disk primitives, then you can unpack or whatever

Link to comment
Share on other sites

you can still do it with pointcloud with instancing attribs (orient, pscale, ...) and string attribute containing file path (with offsets however you want) 

then just use Instance SOP using that attribname

it will load geometry for all the points as packed disk primitives, then you can unpack or whatever

 

Worked like a champ.However, another issue came to rise due to super high amount of bgeos created. Instead of bgeos sequences I am thinking of wedging into alembics. With alembics thou I would have to somehow offset the alembics cache frame without using the cache offset in the string attribute ? Anymore ideas?

Edited by tricecold
Link to comment
Share on other sites

So I had some progress on this. I have points where I instance to abc files on disk, previous version was using a string to  offset the bgeo sequence, but since abc loads a single file this wont work.

Documentation shows that alembic has sample time which must be divided by fps from the current frame. But any ideas on how to make this work on point instancing.

Edited by tricecold
Link to comment
Share on other sites

you can either hack into Instance SOP

replace File SOP with Alembic sop and copystamp frame from some attribute on your points

 

or

 

just let it copy alembics without time offsets

while keeping them as delayed load alembics vary primitive intrinsic abcframe on them (e.g. using prim wrangle), that needs to be in seconds though

then you can convert to polys as you wanted

Edited by anim
  • Like 3
Link to comment
Share on other sites

you can either hack into Instance SOP

replace File SOP with Alembic sop and copystamp frame from some attribute on your points

 

or

 

just let it copy alembics without time offsets

while keeping them as delayed load alembics vary primitive intrinsic abcframe on them (e.g. using prim wrangle), that needs to be in seconds though

then you can convert to polys as you wanted

 

second advice worked like a breeze, all I have to do is to figure out how to have this offset working with delayed load procedural :D thnx Tomas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...