Jump to content
huge

Pcopen randomise interation by point

Recommended Posts

Hi everyone,

trying to figure out how to randomise the number of iterations of a pc open in a vop node, based on a per point random

the goal is to make variation in the speed of the propagation.

I join a simple file, if somebody can help me it would be really apreciated

Thx by advance

Cheers

basic-propa.hip

Edited by huge
hit accidentally ctrl enter

Share this post


Link to post
Share on other sites

seems that pcunshaded and pcexport are the way to go... but it's totally unclear for me until thre's no sample scene in the help card, and this help apear to be a bit outdated...

anyone???

Share this post


Link to post
Share on other sites

In your setup you can play around with the maxpoints input, but only randomizing per point gives a uniform output and hits hard to see any difference since its all gets blurred out. Hers an example where i use bias and noise to controll it somehow.

Also you should try to only iterate over as few points as possible, now you are iterating over all your points all the time and it gets slow.

basic-propa_solution_maxpoints.hip

Share this post


Link to post
Share on other sites

thx for your reply ThomasPara!

but  with that kind of noisy radius solution there is not a big difference in speed between slow an fast points until it's totaly blurred out... I thing the iteration approach is really the way to go

but really technical/  sophiscated...

Thx again!

Share this post


Link to post
Share on other sites

I think you can give speed variation to the propagation using a per point factor of aggregation on each iteration. That can give you faster or slow zones of accumulation, then you can use that factor to grow your instances in a more smooth way.

I hope that this helps!

Cheers!  

  • Like 1

Share this post


Link to post
Share on other sites

Hi Pazuzu!

don't really understand what you mean...sorry...

can you give me an example? implement your idea in my hip file

thx by advance!

Cheers!

Share this post


Link to post
Share on other sites

Hi Huge!

Please look at this tutorial that Ben Watts did sometime ago using my technique, is very very simple but powerful. 

 

Cheers!

Edited by Pazuzu
  • Like 1

Share this post


Link to post
Share on other sites

Well since im not at work ill give you an indie example file of what i was suggesting. I also added what pazuzu suggested with driving the growth with an attribute. 

There are two versions of the propagation, one where it iterates over all points, and one where it iterates over the few you realy need.

Im not going to make an solution for your problem, but try to show you how it can be done.

When it comes to the first example i gave you ,you can just unhook the bias and noise, and you have exactly what you asked for. (but this doesnt solve the speed variation, thats why i included the noise and the bias);

 

So now you can build on this with your ideas, you can ex use "point.distance" and adjust propagation so it allways will go the length you want.

propagation_01.hiplc

  • Like 1

Share this post


Link to post
Share on other sites

ok guys, thank you for quick answers!

what i need is a drastic speed variation to mimic cristal animation. I need a 20x speed factor between slow and speed "branchs"

examples you provided are based on the same setup, pcopen iterated over time...what i need is some of points iterate 20 times during a solverstep

when other iterate 1 time. I think the way to go is a pcopen setup inside a for loop or for loop until where the length of the loop is the random attribute fitted between 1 and 20

i tested it but it dosen't work , the pcopen seems to always check the same points in the loop and not progress over the point cloud...

I hope you understood what i mean !

thanks again to take time for me!

 

Cheers

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

×