Jump to content

pops -> dops question


3__

Recommended Posts

Thanks for the file Sujil, this works for the emission example.

I'm concerned I can't lookup any animated attribute via point() and $ID.

Another example would be locking particle positions to corresponting points on deforming geometry, then releasing when an animated per-point attribute on the geometry passes a certain threshold...

Link to comment
Share on other sites

I do believe you can still do all that stuff with, say, a POP Wrangle.

For example, if I wanted to use a deforming piece of geo with a (float) point attribute "released" that governs whether or not the particles stick to the deforming position of the incoming geometry or is released to the rest of the particle system while inheriting velocity...

In the classic POP paradigm, I'd create a source node, set the impulse active value to $FF==1 and the impulse rate to $NPT; set up a "releasedgrp" group whose membership is determined by point("../../TO_POPS", $ID-1, "released",0) == 0.0 (and likewise, a "stuckgrp" group, != "releasedgrp"); and for just the "stuckgrp" particles, I'd use a Position POP and a Velocity POP to again look up component values for each particle's corresponding point with more point expressions. So, only particles in the stuckgrp continue to follow the source geometry's deforming points.

A way to do something similar in POP-DOPs might be to point to your source geometry in the actual Pop Object (in lieu of using $NPT etc in a Pop Source DOP), and set up a "stuck" stream for non-released points (ingroup = (@released == 0.0);). Underneath, you can create a POP Wrangle, with the first input context pointing to your deforming geo, you can do something like @P = point(@OpInput1,"P",@ptnum), and same thing with a trailed velocity attribute and the "released" attribute itself.

That should achieve the same thing... just with fewer nodes and less typing. Does that work?

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...