Jump to content

Particles moving within a sphere.


Miles

Recommended Posts

My sphere is moving from A to B. I only want it to emit a random number of points within the surfaces. But instead of standing still in the air when its moving, how can i make them stay inside the sphere. And not go outside it, only so they are moving with velocity inside of it.

Thanks in advance.

Link to comment
Share on other sites

Hi,

Do you need the particles to collide with the sphere etc? Or do you just want points scattered in a sphere?

If you want points scattered in a volume, you can append a IsoOffset SOP, set Output Type to Fog Volume, Mode to Implicit Sphere and finally append a Scatter SOP which will... erm... scatter points based on the density.

If you need them as particles, you can compute the velocity of the moving sphere using a Trail SOP and attribute transfer the velocity attribute (v) to the scattered points. In POPs, the scattered points will be your source and they should move within the sphere.

I've attached an example file.

Cheers!

steven

pts_in_sphere.zip

Link to comment
Share on other sites

Thanks Steve, this is exactly what i wanted. But for instance, how would i add random velocity, to them going all around inside the sphere. So its not so uniform. Like having a sphere emitting particles, and setting the variance on the velocity, in the pop networks source ? :) Thanks in advance

Edited by Miles
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...