PhasmaCeritus Posted January 17, 2010 Share Posted January 17, 2010 Hi, I have a quick question: how can I create an attribute in the geometry level which would measure point age. I got stuck at outputting points creation frame number to it's custom made attribute. Thanks Quote Link to comment Share on other sites More sharing options...
symek Posted January 18, 2010 Share Posted January 18, 2010 You would have to go through pops, since sops cook geometry regardless it's current state ( x+=1 is not possible). You can simple create static particles, with age/life/custom attribute from you points and go back with them to sops. For some specific purpose chops are also in practice here, but I think pops are much more handy. Another approach might be a sop solver dop, which can write "on a top" of a current geometry, but I'm not sure how about updating points number from sop during execution (turning on "Use Deform Geometry" is an option, but updates also attributes on existing points). Anyway, popnet is fast and good solution. Quote Link to comment Share on other sites More sharing options...
symek Posted January 18, 2010 Share Posted January 18, 2010 quick example added. points_age.hip Quote Link to comment Share on other sites More sharing options...
pclaes Posted January 18, 2010 Share Posted January 18, 2010 errr... you mean in sops? If you are only using sops, you can't. You can however get age (or geometry with history over time) by using dops. Specifically the sopsolver can do this for you. Or you could trigger particles to be emitted from geometry at certain points in time. Those particles will record a life attribute that records the age inside - this is in the POP context. Quote Link to comment Share on other sites More sharing options...
pclaes Posted January 18, 2010 Share Posted January 18, 2010 ahhh... he beat me to it . Quote Link to comment Share on other sites More sharing options...
PhasmaCeritus Posted January 18, 2010 Author Share Posted January 18, 2010 thanks guys! Quote Link to comment Share on other sites More sharing options...
PhasmaCeritus Posted January 18, 2010 Author Share Posted January 18, 2010 (edited) hm, I have got the concept but could not figure it out in Houdini, sorry I am new here. so let's say we have this line with points appearing in time (move the time slider); how do I get an age or creation frame attribute on these points? thanks Edited January 18, 2010 by PhasmaCeritus Quote Link to comment Share on other sites More sharing options...
PhasmaCeritus Posted January 18, 2010 Author Share Posted January 18, 2010 (edited) that's the file I was referring to points_age.hip Edited January 18, 2010 by PhasmaCeritus Quote Link to comment Share on other sites More sharing options...
junaid Posted January 19, 2010 Share Posted January 19, 2010 you can find here an attribute called "born", which impulses to 1 for each new born point, is this is what you want? Cheers, Junaid that's the file I was referring to points_age_02.hip Quote Link to comment Share on other sites More sharing options...
PhasmaCeritus Posted January 19, 2010 Author Share Posted January 19, 2010 (edited) you can find here an attribute called "born", which impulses to 1 for each new born point, is this is what you want? Cheers, Junaid This is awesome what you did, but I still can't figure how can I get an attribute where I could store point creation frame number permanently. For example spreadsheet at the end should look something like this: P___birthFrame 1___1 2___10 3___35 4___45 5___63 6___75 7___120 8___130 9___150 where P is a point number and birthFrame is a custom attribute Edited January 19, 2010 by PhasmaCeritus Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.