jesschaco Posted November 13, 2011 Share Posted November 13, 2011 Hi all! I have a moving geometry that moves around a grid and select points into a group. As the points enter the group, I have each point generate one particle. Then I wish to copy some animated geometries onto those particles according to their birth time. I was wondering how I would be able to obtain the birth time of the particles? Quote Link to comment Share on other sites More sharing options...
sam.h Posted November 14, 2011 Share Posted November 14, 2011 (edited) You could use $T - $AGE. I usually add an attribute to the emission geo with $T in the value ... and in your POPs source have it inherit that attribute. Edited November 14, 2011 by sam.h Quote Link to comment Share on other sites More sharing options...
3dbeing Posted November 14, 2011 Share Posted November 14, 2011 Hi all! I have a moving geometry that moves around a grid and select points into a group. As the points enter the group, I have each point generate one particle. Then I wish to copy some animated geometries onto those particles according to their birth time. I was wondering how I would be able to obtain the birth time of the particles? If I'm not misunderstanding; you can add a birth group in the source pop, then add an attribute to the birth group $T. Only particles at birth will recieve this attribute, and this will prevent uneccessary per-frame/point calcluations. 1 Quote Link to comment Share on other sites More sharing options...
jesschaco Posted November 16, 2011 Author Share Posted November 16, 2011 thanks you guys!!!works like a charm! Quote Link to comment Share on other sites More sharing options...
jesschaco Posted November 17, 2011 Author Share Posted November 17, 2011 (edited) actually, the problem was not entirely solved..... When I used the particle birth method to "remember" the points that have been selected, stupid me didn't realize that by using $NGRP as contant birthrate, or as impulse birth rate, the source sop will not only generate new particle on every new group point, but also on the old group points. This results in the animated line being copied onto the same point more than once (just with an offset animation). I was wondering if there is a way to prevent the source sop from generating particles at a repeated location? or maybe just somehow copy stamp the lines to the points just as they become a member of the group without using the pop method? I have attached an example file here.... help please!!! particleRepeat.hip Edited November 17, 2011 by jesschaco Quote Link to comment Share on other sites More sharing options...
gaurav Posted November 17, 2011 Share Posted November 17, 2011 Hi, If i get it right what you want than one way approach could be like in the attached file. I have made some changes inside the popsim. See if that works for you. Cheers!! particleRepeat01.hipnc Quote Link to comment Share on other sites More sharing options...
jesschaco Posted November 17, 2011 Author Share Posted November 17, 2011 Thank you!! I didn't know about the split sop before~~ nice solution~ Hi, If i get it right what you want than one way approach could be like in the attached file. I have made some changes inside the popsim. See if that works for you. Cheers!! 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.