Jump to content

Controlling flip particles scale with point sop


cgvfx

Recommended Posts

Hi Everyone,

                     I did a flip sim and cached it in bgeo.NOw i want to render those particles,but the problem is in my shot camera is moving,from far particles scale seems to be ok but when it comes closer to the camera,particles looking very big,how do i control the scale of the partilces, i want to animate the scale or any other option is there.I m rendering the particles through volume shader.

 

Thanks

Link to comment
Share on other sites

Hi Pradeep,

                     Thanks for a quick response.So, i can tweak the radius with wrangle but if i just want to animate the radius,i dont want the particles to actually die.Particles size should gradually decrease while coming closer to the camera.Is there any way i can animate or a small expression will do.

 

Sry! for the dual post.

 

Thanks

Link to comment
Share on other sites

Common technique is to use a UV Texture SOP in camera mode. Reference your camera and voila, you now have uvw 3D co-ordinates wrt your chosen camera. You can access the uvw components with $MAPU, $MAPV and $MAPW in SOP parameter expressions, in any wringer as @uv.x @uv.y and @uv.z and in VOPs, place a Bind SOP to fetch vector type named "uv".

 

The third component is the distance of each given point from the camera's position point of view. That is what you can use to modulate your pscale attribute.

  • Like 1
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...