Partial Differential Equations and ODEs in Game Development

Started by
0 comments, last by Buckeye 9 years, 5 months ago
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.
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.

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

This topic is closed to new replies.

Advertisement