Where do physics and programming overlap?

Click For Summary
SUMMARY

The discussion centers on the intersection of physics and programming, particularly in the context of game development and simulations. The participant expresses interest in physics programming, highlighting the use of mathematical models and numerical integration techniques like Runge Kutta 4 for simulating forces and motion. While acknowledging the diminishing returns of realism in game physics, the conversation emphasizes that a solid understanding of physics remains crucial for developing engaging simulations, especially in racing and aircraft modeling. The participant also notes the potential for internships at WolframAlpha, indicating a desire to explore computational tools that integrate physics and programming.

PREREQUISITES
  • Understanding of calculus-based physics principles
  • Proficiency in Python programming
  • Familiarity with numerical integration methods, specifically Runge Kutta 4
  • Knowledge of game physics concepts and simulation techniques
NEXT STEPS
  • Research game physics engines and their implementation in popular game development frameworks
  • Explore advanced numerical methods for simulating physical systems
  • Investigate internship opportunities at WolframAlpha or similar computational platforms
  • Study the physics of vehicle dynamics and tire behavior in racing simulations
USEFUL FOR

Students and professionals in physics and computer science, game developers interested in physics simulations, and anyone looking to integrate programming with physical modeling in various applications.

jamesbrewer
Messages
13
Reaction score
0
I'm taking a calculus-based introduction to physics this semester and I'm finding it fascinating so far. The idea that there is a reason and a method for everything really resonates with me and that has lead to me really enjoying this course.

I'm also really into programming. I've spent quite a bit of time over the last year programming with Python in different domains and I want to get into physics programming now, but I'm not exactly sure what 'physics programming' is.

What are some ways the I can integrate these two disciplines? Where do the domains of physics and programming overlap? Game physics sounds like it would be interesting, but as I understand it, physics programming jobs at game companies are becoming more and more rare as dedicated physics processing units are starting to gain a following. Can anyone (reliably) confirm or deny this?
 
Technology news on Phys.org
For games that simulate aircraft or land based vehicles, there can be a lot of physics. There's some type of mathematical model used to determine forces for a given set of conditions (orientation, position, velocity, control inputs, ...) , which are then translated into acceleration. Then some form of numerical integration is used to predict new velocity, position, ... for the calculated acceleration. A common method is Runge Kutta 4:

wiki_runge_kutta_4.htm
 
Games, simulators, and calculators. Maybe they also overlap in advanced vehicle systems where airplanes, for example, use a computer and gyroscopes to keep them flying level. I would assume a programmer chooses the degrees the control surfaces would have to move to sustain level flight.
 
I was doing a problem set earlier today, using WolframAlpha to check my work when I realized that WolframAlpha is a pretty cool site and definitely something I'd be interested in working on. The company seems to have internships, although the link just sends you to the regular jobs page.

What I'd be really interested in working on is something similar to WolframAlpha, or WolframAlpha itself. What else is out there that is similar?
 
Physics processing units do not replace the demand for people who understand how to apply physics to computer games. They just make doing parallel processing of physics calculations easier.

The main problem is that computer game physics just isn't that complicated. Very simple high-school level physics is more than enough for most games to be fun and a graphics programmer could probably come up with a good-enough physics engine or easily understand one of the many that have already been built.

There is also a lot of diminishing returns for how realistic the physics is. It's almost instantly obvious when doing graphics rendering that something is 'off', but with games they often have to tweak the physics to be slightly off because the real world just isn't that fun to play in.
 
In the case of simulation type racing games or radio control aircraft simulators, only a small portion of a development team is directly involved with the hard core physics. For the racing games, one difficult aspect is trying to model how tires behave when at the limits of grip, which is compounded by trying to model the suspension as well, and as mentioned, only a tiny percentage of gaming programmers ever get involved with this stuff.

It's a similar situation for programmers that try to model aircraft, including the people that develop real aircraft and/or models. Only a small percentage of physicists are involved in airfoil design. High end contest type radio control gliders are made in large enough quantities that significant research has been done on optimizing airfoils and the overall design of such models, but it's only a handfull of people doing this. Most full scale and model aircraft are made using existing air foil designs (with some modifications) as opposed to development of new airfoils.
 
DavidSnider said:
The main problem is that computer game physics just isn't that complicated. Very simple high-school level physics is more than enough for most games to be fun
I find that to be misleading. Nothing from vehicle physics to collision detection to parallel programming of the implementation is simple. You can come up with a few garbagety side-scrollers as examples to the contrary but 3D game physics for any respectable game would have top engineers crying tears of agony, forget high school students.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
995
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
888