Rikrok Posted June 21, 2012 Share Posted June 21, 2012 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! Quote Link to comment Share on other sites More sharing options...
Rikrok Posted June 21, 2012 Author Share Posted June 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
rayman Posted June 22, 2012 Share Posted June 22, 2012 try 1-prim(opinputpath(".",0),$PR,"life",0)/prim(opinputpath(".",0),$PR,"life",1) Quote Link to comment Share on other sites More sharing options...
Rikrok Posted June 22, 2012 Author Share Posted June 22, 2012 try 1-prim(opinputpath(".",0),$PR,"life",0)/prim(opinputpath(".",0),$PR,"life",1) Doesn't work I'm afraid Quote Link to comment Share on other sites More sharing options...
Rikrok Posted June 22, 2012 Author Share Posted June 22, 2012 So now I'm trying using this method: 1-point("../popnet1", $PT, "life", 0) However all the primitives are scaling down, even though some of their ages are actually staying at zero! I'm baffled. scalingPrimitivesWithParticleAge2.hip Quote Link to comment Share on other sites More sharing options...
3dbeing Posted June 22, 2012 Share Posted June 22, 2012 You are subtracting from 1, so as the age increases the value of the expression decreases. Seems to work right. Quote Link to comment Share on other sites More sharing options...
Rikrok Posted June 25, 2012 Author Share Posted June 25, 2012 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. 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.