Sign in to follow this  

Partial Differential Equations and ODEs in Game Development

This topic is 1121 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have read that ODEs are used in game development, particularly in physics engines and programming (I'd like a little elaboration on how), but what I'd really like to know is if PDEs are used in game dev. Has anyone used them, or have they studied them and see that they are or aren't that useful or are or aren't indirectly useful? Thanks.

Share this post


Link to post
Share on other sites

I have read that ODEs are used in game development, particularly in physics engines and programming

 

I've used Newton's 2nd and 3rd Laws of Motion a lot, as well as derived equations - i.e., F = ma. I also use torque in several apps - i.e., torque = dL/dt (L = angular momentum). Both used primarily in simulation of motion for objects - reaction to collisions, calculating position/velocity/rotation, etc.

 

e.g.,

F = m * a

xt = x0 + v * t

 

I use partial diff. eq. in shaders to find normals - i.e., float3 normal = normalize(cross(ddx(input.worldPos), ddy(input.worldPos))); Very useful HLSL intrinsic functions.

 

 


have they studied them ... ?

 

Oh, yeah. smile.png  Successful completion of several courses in both [EDIT: oridinary??] ordinary and partial diff-e-q were required for my college degree.

 

Are ordinary and partial diff-e-q useful? Yes.

 

EDIT: Occasionally it's convenient to remember, in addition to other similar trig relationships, that cosine(angle) = d(sine) / d(angle) when rate-of-change (slope) is needed.

Edited by Buckeye

Share this post


Link to post
Share on other sites

This topic is 1121 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this