Jump to content
  • Advertisement
Sign in to follow this  
btalbot

Partial Differential Equations and ODEs in Game Development

This topic is 1335 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
Advertisement

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!