Jump to content

Understanding Solver SOP


Recommended Posts

Hi !

 

I'm pretty newb in Houdini and after a few months of training myself I'm trying now to create my own setup.

Here I want to move points from a grid randomly to x or y position. A random value is generated every seconds to change the direction and the axis of the next move of each point. I already understand it must be completed with a solver sop, but I can't understand why amplitude is multiplied when I move points into the solver. I need to scale down a lot the movement.

Anyone can tell me why ? Or just take a look to my project file here. Could be nice to have a little help to understand this issue.

Thanks

Dot_Grid.hiplc

Edited by Darkpulse
Link to comment
Share on other sites

Hey! I'm not sure I understand the effect you would like to make but a solver completes all of your processes and then at the next frame, the input is where it left off from the previous frame and so on. This is probably why you feel like the amplitude is getting multiplied/doubled?

Cg wiki has some good examples of useful ways to use a solver: http://www.tokeru.com/cgwiki/index.php?title=The_solver_sop

Link to comment
Share on other sites

Because you're adding to their position by the Current Time (which always increases 1,2,3,4,5,6), not a time step (which is small and constant 1/24).

 

So, change @Time to @TimeInc and you should get predicable results.

 

Link to comment
Share on other sites

8 hours ago, kleer001 said:

Because you're adding to their position by the Current Time (which always increases 1,2,3,4,5,6), not a time step (which is small and constant 1/24).

 

So, change @Time to @TimeInc and you should get predicable results.

 

Thanks, that's logic now for me ! Works fine.

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