Jump to content

DOP sopsolver not evaluating over time


Lucavfx

Recommended Posts

Hi,

In dops we're trying to activate rbds over time by using a multisolver setup and in the sopsolver by reading custom attributes off external points.

But it seems that the sopsolver is not evaluating the objectmerged points over time so the active custom attribute used to drive the activation of the rbds is never triggered.

I'm currently using a workaround that is to bake the active attributes directly on the input geometries and then forcing deforming rbds. But it's not as elegant.

I've prepared a very small test example, dopnet1 is the non-working setup (rbds stay passive).

Could anybody take a look at see what we're doing wrong ? I'd be very curious to see what needs to be changed for this setup to work correctly :-)

Thanks for taking a look

Houdini used is 12.1.179

L

dop_sopsolver_not_evaluating.hip

Link to comment
Share on other sites

Thanks, I tried it but it doesn't improve things. I suspect there might be something elsebroken because on a more complex scene where the points input takes a second to cook each frame the dopnet runs through instantaneously.

It seems as the objectMerge in the sopSolver isn't refreshing the input everyframe.

Edited by Lucavfx
Link to comment
Share on other sites

Solvers aren't working on inactive objects.

Here is from help card:

An active object is one which is controlled by a solver and can be affected by other objects. A passive object, even if it has a solver attached to it, is never modified by the solver. It may still affect other objects, but is not affected by those objects.

Link to comment
Share on other sites

Why not using expression directly in Active value dop? something like point("..path_here../DOP_ATTRS", $OBJID-1, "active", 0) > 0.5It's enough for your simple example, don't know about your actual setup though.

That's a good option for this particular case, thanks for your replies.

L

Edited by Lucavfx
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...