ProCaptura develops flat bed large format scanners (FBIV) providing one of the most advanced and accurate capturing devices in the image processing industry. A typical usage consists in scanning maps, and through symbol recognition softwares, to digitize these maps.
ePocket Solutions is the editor of Handyman, a standardized set of wireless solutions for field service management running on Pocket PC and Windows Mobile systems.
In the last article, a solution to deform solids in real-time was outlined. Deforming solids is based on a method called the Finite Element Method (FEM). In order to get real-time results, the FEM has been slightly adapted, and an implementation intended for video-games has been written.
To summarize, the first step of the method which is carried out during the construction of video game levels consists of finding the linear relation between the stress applied on the solid and the node displacements. This linear relation is represented by a matrix which is serialized in a file. During the loading of the level, the application deserializes the file to extract the matrix. During the execution of the level, a collision occurring when a rocket bursts near a wall, for example, is translated into a force vector. Multiplying this force vector by the loaded matrix allows
the application to find the deformation of the related solid with a high degree of accuracy.
Please refer to the previous article to learn more about the FEM and its modification for real-time scenarii.
Whereas we have been focused on general statements so far, we are now going to have a deeper look at the implementation and its possible
optimizations.
In the last few years, an important hardware gap has been filled by the video game industry: the GPU have replaced the
CPU and software emulation.
Although physics simulation has been extensively studied since the beginning of the computer age, this kind of simulation paradoxically remains little explored by video games.
Let us take the case of physics simulation. Before the birth of the computer age, physicians had come up with many analytical equations for various physicalproblems. But unfortunately, these equations were focusing on simple cases. When computer started being used, analytical equations finally allowed finding approximate solutions; it was the beginning of the numerical computation.
Numericalmethods enable engineers to expand their abilities to solve practical design problems. They now treat real shapes as distinct from the somewhat limited variety of shapes from simple analytic solution. Similarly, they do not need to force a complex loading system to fit a more regular load configuration in order to conform to a purely academic situation. Numerical analysis thus provides a tool with which the engineer may feel free to look for the solution of practical problems.