Jump to content

Houdini Rib


Recommended Posts

Hello, I am rendering some primitive spheres driven by a particle system I am trying to create a rib file with particle $AGE included in the rib.

I've been trying to use the Attribute SOP to pass information out to a RIB.

I am have been successful in able to write out the particle id ($ID) and particle life ($LIFE)

information into a .rib file but no luck with the $AGE by reading this info

http://www.sidefx.com/index.php?option=com_mailarchive&Itemid=212&view=WEB&msgid=3A96C4F3.60D9C4A5@imageworks.com&perpage=20&revdate=on

Any ideas on how I can go able writing out the $AGE of a particle into a rib.

Is this even possible?

Thank you

Link to comment
Share on other sites

As far as I know, if you have life attribute, you basically have $AGE, life is a float with a size of 2. first one is $AGE and second one is your particles' expected lifespan. $LIFE is nothing but life[1]/life[2].

So, if you have a life attribute in your point attributes, you have $AGE there.

Edited by ehsan parizi
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...