Jump to content

Pack SOP and optimization

Recommended Posts

Trying to understand the whens and whys to use a Pack SOP and packed Geometry in general.

Is it a good idea to always 'pack' your geometry before caching it?


ie in the attached network am I getting any extra optimization by using a Pack SOP?


Edited by art3mis
Link to comment
Share on other sites

There is a great explanation about packed primitives on the SideFX help doc: http://www.sidefx.com/docs/houdini/model/packed

In your case, I don't think it makes much a difference. If you use packed primitive you are not compressing anything. It's just keeping it in memory and just using a small amount of ram for referencing it. But if you are planning to copy it multiple times it makes sense to use packed primitives. Since then it will refer to the geometry already stored in memory and also drawing it in the viewport will be much quicker since it uses the data already stored and just adds a different transform to draw it.
If it's just for rendering I would recommend using packed disk primitive in the file load. Since that creates a reference to the file on disk rather than having it in memory. This is also very efficient for viewport display and rendering. As well as for copying(same as before with packed primitives, only you have to unpack to do any changes other than transforms). For very big scenes this comes in handy as it creates a reference to the file on disk and especially for IFD's the size won't grow as much.

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.

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