djiki Posted June 6, 2006 Share Posted June 6, 2006 How to create custom particle attribute? I have mesh sphere (with ie. 20 points) and it is used as source for particle emision. Particles are emmited from points. I want to create my particle's attribute ie. SRCPOINTINDEX which would contains source point index for emited particle. The goal I want to reach is to create groups of particles emmited from the same point. In my example I want 20 groups (one group for every point on primitive) and each group contains particles emmited from the point it represents. Can I do that on this way and how? Does someone know better aproach? Thanks Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted June 6, 2006 Share Posted June 6, 2006 Hello, there's an Attribute POP which allows you to create custom particle attributes. : ) Quote Link to comment Share on other sites More sharing options...
stevenong Posted June 6, 2006 Share Posted June 6, 2006 You don't have to create a custom attribute as the Source POP has what you're looking for. Go to the Add Attributes tab, turn on Add Origin Attribute and leave the Use as Origin as default. Now, your particles have an Origin attribute which contain the point number they were birthed from. Cheers! steven Quote Link to comment Share on other sites More sharing options...
djiki Posted June 7, 2006 Author Share Posted June 7, 2006 Thanks, I didn't know origin attribute is actually point index. I haven't houdini installed on this machine and i can not try it at this moment but I'll try it tonignt I suppose now I can sort particles in every group by their age from the youngest to the oldest. And after that make curve crrossing through all particle in single group. I want to get effect similar to hair. Is it possible to define curve on that way? thanks again, djiki Quote Link to comment Share on other sites More sharing options...
stevenong Posted June 7, 2006 Share Posted June 7, 2006 You don't have to do custom attributes or grouping from youngest to oldest to create the curve. All you need is an Add SOP after the POP network. Please read this thread for more info: Cheers! steven Quote Link to comment Share on other sites More sharing options...
djiki Posted June 8, 2006 Author Share Posted June 8, 2006 I tried grouping last night and it works fine. Thanks for the link, I read that thread and it makes me little confused because some people point to completly different tasks. The only valuable thing is what pbowmar and jeff are told. I will try it tonignt. If I understand, Add SOP will alow me to generate geometry from particles point? L-system can not be used in my case because it can not handle collisions with other objects on scene while growing (as I know) Thanks again, djiki Quote Link to comment Share on other sites More sharing options...
stevenong Posted June 8, 2006 Share Posted June 8, 2006 Yes, you're right. Do what Jeff & Peter said in the thread. I should have mentioned it. Good luck! Cheers! steven 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.