Jump to content

Solver SOP: animated geometry


Recommended Posts

Hi, 

 

I need to make some changes on the color of the colliding geometries. Both of them are animated.

 

When I plug in my animated geometry to Solver, it always gets only the first frame. How should I set this to work in Solver SOP?

Edited by Juzwa
Link to comment
Share on other sites

I can't, its a production file. 

 

I have two animated meshes imported from maya. At some point they both collide. I want one the them to take some infrmation from another (eg color) and then fade away.

Edited by Juzwa
Link to comment
Share on other sites

Are you sure you need a Solver? The point of the solver is that you can work on the result of the previous frame. That being said, you should be able to access the current frame of the sequence via the "First Input" connector inside the solver.

Link to comment
Share on other sites

Well if I just use first and second inputs the resault is the same as the level above (just a simple color transfer).

 

And what I need is to keep the color on the geometry.

 

Here are the files I made at home to explain what I need

SolverSOP.zip

Edited by Juzwa
Link to comment
Share on other sites

The solver by default takes only the first frame you feed it and then updates that geo with whatever nodes you have put in the solver.  You have to actually update the position value on each frame.

 

solverpoint.hip

 

The easiest way is with a point sop after the attributetransfer in your solver.

 

plug the attributetransfer into the first input of the point sop and plug the Input_1 into the second input.  Change the position values in the point sop to $TX2, $TY2, $TZ2.

 

That will update the position.  To see the result add some animation to your grid upstream.

 

However the solver won't work like this on meshes with changing point counts.

 

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