Game Physics Book Content Request

In summary, the conversation is about the development of a book on programming networked physics engines, with a focus on real-time simulation and the challenges of dealing with network latency and packet loss. The author has written chapters on vector, matrix, and quaternion maths, as well as a simple physics engine, and is looking for suggestions on further chapters and interested individuals to proofread and test the book. The book will also include code samples in C++ and will be platform independent as much as possible. The conversation also touches on the use of open dynamics and Newton for generating ideas, as well as the challenges of rendering 3D in Linux without openGL.
  • #1
barney.parker
3
0
Hi,

I am writting a book about programming game physics engines, much along the lines of "Game Physics Engine Development" by Ian Millington, however the focus of the book is Networked physics engines.

At the current time I have not been able to find a great deal of literature on networking physics systems, and given the current state of the games industry and it's need for community multi-player gaming i feel it's a good time to release a book dealing with the complexities of building a physics systems that's distributed across the globe.

So far I have written chapters covering the basics of vector, matrix and quaternion maths, a simple physics engine with collision detection (although without major explanation as this is available in many many other places) and will be adding 4-5 chapters on implementing and refining the networking of the system.

I am also considering adding a section on multi-threaded networking, as current hardware (i.e. PS3 / XBOX360) has this capability, and looks set to expand over the next few hardware generations.

Obviousloy for a code oriented book there will be a mass of samples to play with.

So my question is...

Does anyone have any suggestions for further chapters, or know of any reason that this book would be useless to the programming professional?

Basically i am looking for as much input as possible before finally submitting the draft edition.

I am also looking for a few (8-10) individuals who would be interested in "proof reading" the book and testing the code samples.

The code will be C++ based, with a framework for 2-3 platforms. The physics and networking will be as platform independant as possible, however as with all real-time coding, there will always be special cases for different platforms...

I would be happy to hear from anyone who has an interest in this subject both from a critical and a sugestive point of view.

Thanks for reading my post, I look forward to hearing from you!
 
Technology news on Phys.org
  • #2
  • #3
Yes, in a way i agree, however I have found that games programmers often cannot see the wood for the trees with simulation systems.

What i do not want is 500 replies of, can you make me an engine that does XXX for me?

What i do want is suggestions regarding physics problems that are of general use (and therefore make good building blocks for a real-time simulator) and are complex enough that they are more interesting than the standard bock falls to floor, or hits another block...

Although i mention the aimed hardware, i also mention it would be relatively platform independant. As a result i would like to be able to puch this a little further than purely games. real-world type interaction is the holy grail of interface design for many purposes. A simple, distributable simulator would have a larger appeal...

Thanks
 
  • #4
have you used open dynamics or Newton maintain they can help give you ideas.
 
  • #5
In case it helps, here is a recent PF thread on game physics:

https://www.physicsforums.com/showthread.php?t=174850

I don't know if it covered the distributed computing angle at all, though. One aspect of the distributed nature of your subject would seem to be the time delays associated with the telecommunications network. Do you have any special techniques or tricks to deal with the delays, and with how they vary differently between different pairs of players in a networked game?
 
  • #6
Hi,

Neurocomp2003: Yes I've seen ODE and Newton, but neither really fit the bill. They are trying a physically accurate approach, which although is the eventual aim of all physics engines, i am more interested in a physically believable engine.

The engine i have developed for the book is 'Lazy' in that it really is only the most basic physics simulator you could find. not really production quality, but easy to read and understand. It could be extended to become a fulloy functional engine, but is mainly designed for teaching.

Berkeman: Good thread, but you've hit the nail on the head. Time delays etc are the real pain. Syncing a large number of objects in a single simulation is hard enough, but running a simulation on 32+ PC's and guaranteeing they all give exactly the same output is entirely different purely because of network latency and unreliability.

The methods i am using are fairly simple, and fit perfectly with the Lazy physics engine that it is based around. Basically i have a system of error-correcting the latency and packet loss. The idea is that the simulation will never be identical, and will always be converging. The key is to realize you can never make them all the same!

I have developed the code for the bopok in C++ under VisualC 6 for Win32.

It occurs to me that Linux and MacOS X would be nice to include, as the basecode i use is independant of the simulator. I am currently working on converting the code over, but if anyone had any experience of non-openGL rendering on Linux or MacOS X, please let me know, i want to make sure i am covering everything i can!
 
  • #7
How do you render 3D in Linux without openGL?
 

1. What topics are covered in the "Game Physics Book"?

The "Game Physics Book" covers a wide range of topics related to game physics, including kinematics, dynamics, collisions, rigid body dynamics, and fluid dynamics. It also covers advanced topics such as soft body physics and optimization techniques for game physics.

2. Is the book suitable for beginners or is it more geared towards experienced game developers?

The book is suitable for both beginners and experienced game developers. It starts with the fundamentals of physics and gradually progresses to more advanced topics. Additionally, the book includes practical examples and exercises to help readers apply the concepts to their own game development projects.

3. Does the book include code examples or is it more theoretical?

The book includes both code examples and theoretical explanations. The code examples are written in popular game engines such as Unity and Unreal Engine, making it easier for readers to understand and implement the concepts in their own projects.

4. Are there any prerequisites for understanding the book?

Basic knowledge of physics and mathematics is recommended for understanding the book. Familiarity with a programming language and game development concepts will also be helpful, but not necessary.

5. Can the book be used as a reference guide or is it meant to be read cover to cover?

The book can be used as both a reference guide and as a cover-to-cover read. Each chapter builds upon the previous one, but the book is also designed to allow readers to skip around and focus on specific topics as needed.

Similar threads

  • Programming and Computer Science
2
Replies
58
Views
3K
  • Computing and Technology
Replies
2
Views
1K
  • Programming and Computer Science
Replies
1
Views
4K
  • Science and Math Textbooks
Replies
20
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Science and Math Textbooks
Replies
4
Views
3K
  • Programming and Computer Science
Replies
1
Views
2K
  • STEM Academic Advising
Replies
4
Views
823
  • Science and Math Textbooks
Replies
12
Views
863
Back
Top