Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

art3mis

Pack SOP and optimization

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?

Pack_SOP_and_optimization.png

Edited by art3mis

Share this post


Link to post
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.

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