Juzwa Posted May 4, 2015 Share Posted May 4, 2015 (edited) 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 May 4, 2015 by Juzwa Quote Link to comment Share on other sites More sharing options...
woodenduck Posted May 4, 2015 Share Posted May 4, 2015 How is it animated? Is it coming from disk or from Houdini? Can you post a hip file? Quote Link to comment Share on other sites More sharing options...
Juzwa Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) 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 May 4, 2015 by Juzwa Quote Link to comment Share on other sites More sharing options...
eetu Posted May 4, 2015 Share Posted May 4, 2015 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. Quote Link to comment Share on other sites More sharing options...
Juzwa Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) 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 May 4, 2015 by Juzwa Quote Link to comment Share on other sites More sharing options...
rtep Posted May 4, 2015 Share Posted May 4, 2015 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. 2 1 Quote Link to comment Share on other sites More sharing options...
Juzwa Posted May 5, 2015 Author Share Posted May 5, 2015 Thank you so much trep. This makes sense! Quote Link to comment Share on other sites More sharing options...
rtep Posted May 5, 2015 Share Posted May 5, 2015 No problem ujzwa . 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.