Jump to content

half precision attributes


danw

Recommended Posts

Hi all,

Searched around, and can't find any mention of this.

I'm working on some very high particle count fluid data, and it's taking a lot of space. Now position might need full floating point precision, but velocity vectors, normal vectors, and point scale attributes would work perfectly well with half-precision data types. Is this possible in Houdini? Can I specify half precision attributes, or even work with full precision and recast them when writing .bgeo files?

Link to comment
Share on other sites

Very interesting topic indeed. Specially that many new techniques demand double precision attributes, which slowly becomes a must in 3d. It would be great to be able to trade off precision/memory/storage per attribute in geometry.

AFAIK Houdini lets you specify data type only for volume primitives. Besides that an attribute class rely on HDK specification which is constant type per attribute: HDK Docs. This may change though, as birds sing about new geometry engine coming really soon and some hdk enumerator mentions half type also.

Edited by SYmek
Link to comment
Share on other sites

I don't know if this helps but the Timeblend node has now an option that takes attributes into account. So, you could get the correct motionvector pass even without attaching velocity and get rid of it altogether, even with changing pointcount.

Not sure that would render faster though.

Or, change them to integers. Perhaps we can scale them back in post or in a shader during rendertime.

Edited by Macha
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...