group by point speed , noob question

   4654   4   2
User Avatar
Member
2 posts
Joined: Aug. 2011
Offline
Hey guys, need some help with an expression.

I have a handful of animated objects (moving in the scene one after another) with baked animation imported from max, I'm trying to setup a pop system to emit particles from points on those objects.
so far my tree looks like this: baked objects > merge > group(by pattern, i'm filtering the points on the objects i want to emit from) > group(by expression, here i need to populate a group with filtered points when they become animated/move in the scene) > pop network.

any help would be appreciated …
thx
User Avatar
Member
330 posts
Joined: July 2007
Offline
a screenshot wd be a plus ..
except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
2 posts
Joined: Aug. 2011
Offline
here it is, and the simple scene file…

see attached

thanks.

Attachments:
emit_from_anim_points_v01.hip (3.7 MB)
emit_from_points_v01.png (120.1 KB)

User Avatar
Member
300 posts
Joined: Jan. 2010
Offline
This should work.

First a trail node to actually calculate v and then expression

length($VX,$VY,$VZ)>0.0

Attachments:
emit_from_anim_points_v01_119.hipnc (3.7 MB)

Drive, monkey, drive!
User Avatar
Member
304 posts
Joined: May 2006
Offline
I second the last post, but there´s a cleaner way to do it (IMHO).
After the trail node on compute velocity node create an attribute (Point, float, 1 component) called however you like, let´s call it “vel”, and give it the value

vlength(vector3($VX,$VY,$VZ))

Now calling the variable $VEL you know the absolute velocity of every point. You can create a group with the expression $VEL>whatever number, and now you are grouping based on velocity, and you can check the vel attribute from the spreadsheet to see how fast your points are moving.
Javier Meroño
FX TD.
  • Quick Links