Jump to content

Why we have velocity value in voppop?


Recommended Posts

Hi

I'm a Houdini beginner so apologies if I am wrong... It looks to me though like you're setting the particle's velocity to be the same as its position so on frame 1, y position is 0.1 and velocity is 0.1 so by frame 2 it has moved to 0.104167 in y and its velocity is set to the same value. This setup will cause the particle to accelerate upwards.

Hope that helps

Link to comment
Share on other sites

velocity is in units per second so the formula is

P+v/fps

so as your P is 0.1

then v is 0.1 (per second)

so v per frame is 0.1/fps = in your case 0.1/24 ~= 0.004167

so P next frame will be 0.104167 etc

the formula is actually P + v*timestep

as usually you are not computing data only from frame to frame but a few times inbetween using oversampling

and the duration of this computing step in seconds is called timestep

so if you are computing it only once per frame it will be just 1/fps, therefore P + v/fps

but with oversampling its rather 1/fps/samples

EDIT: too late :)

Edited by anim
  • Like 1
Link to comment
Share on other sites

@Martin : Thank you for you support.

@Tomas : Thank you so much for your kindly teaching.

@Flipp : Really thank you so much.

All thanks.

Really I was confusing about fps.

I have calculated that P/(frame/fps).

So I had gotten wrong the value.

I am happy to understanding that. Good tutors and nice solve.

Have a great weekend.

Best,

Jamie

Edited by jungjaehwa
Link to comment
Share on other sites

One more question.

Where can I find the formula in Houdini help documentation?

I can not find it out.

And then next step, I have studied that output P connect input acceleration in voppop.

I want to understand that there is a difference between velocity and acceleration.

Help me.

Edited by jungjaehwa
Link to comment
Share on other sites

at the beginning of each timestep acceleration is 0 and gets accumulated as a result of different forces (or direct modification) and at the end of the timestep it is added to velocity for the next timestep

something like v = v + acc*timestep (or as Fillip mentioned timestep is called TimeInc in vops)

so if initial particle v is 0 and you have constant acceleration of 1 then in one second v reaches value 1 in 2 seconds 2 etc

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