Jump to content
Sign in to follow this  
Rikrok

Scaling primitives with particle age

Recommended Posts

I have some primitives being moved with particles. The age is working fine within the pop network, but when I take it to scale the primitives things get messed up, even though the particle numbers mach the primitive numbers. If anyone would look at the file I'd really appreciate it!

Share this post


Link to post
Share on other sites

I have some primitives being moved with particles. The age is working fine within the pop network, but when I take it to scale the primitives things get messed up, even though the particle numbers mach the primitive numbers. If anyone would look at the file I'd really appreciate it!

scalingPrimitivesWithParticleAge.hip

Share this post


Link to post
Share on other sites

try

1-prim(opinputpath(".",0),$PR,"life",0)/prim(opinputpath(".",0),$PR,"life",1)

Share this post


Link to post
Share on other sites

try

1-prim(opinputpath(".",0),$PR,"life",0)/prim(opinputpath(".",0),$PR,"life",1)

Doesn't work I'm afraid

Share this post


Link to post
Share on other sites

You are subtracting from 1, so as the age increases the value of the expression decreases. Seems to work right.

Share this post


Link to post
Share on other sites

You are subtracting from 1, so as the age increases the value of the expression decreases. Seems to work right.

The problem is only some of the particles age (a group of them have their ageing suppressed), but when using the age out of the popnet to scale the primitives it's as if they're all ageing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×