Jump to content

Write only P to disk?


Skybar

Recommended Posts

I was thinking; normally when we cache out geometry to disk (as bgeo), we write all the geometry per frame. However, depending on the case, wouldn't it be more efficient to just write P to a table or something and read that back in and "deform" your original geo? Is it possible?

 

This might be a stupid question with a simple answer, it just got me thinking a bit.

Link to comment
Share on other sites

well it would only work with a non-changing point count/ordering (or it would become significantly harder)

 

if that condition is met, you could just remove all other attributes and save just the P in the cache and then use a attribute copy SOP to put back the point positions from the cache.

Otherwise you'll have to write a semi-smart solver to make sure the right data is attached to the right point.

Link to comment
Share on other sites

Do you know qLib?

 

There is Waypoint qL node that does exactly this (on the compression tab there is option to save points only). You can save full geometry (topology) only on the 1st frame and points with attributes for the rest of the frames (in the case you don't have prim/vertex attributes that are changing in time). For loading it uses Atrribute Copy to copy position and other attributes back to original geometry.

 

It's a quite big space saver.

 

Another advantage is that you can use all the benefits like bgeo.sc and single file per frame.

 

Mdds and alembic are great but could bog down the network.

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...