|
Acadêmico(a): Sérgio Luiz Tomio Junior |
Título: SIMULAÇÃO DE FÍSICA CLIENT-SIDE APLICADA A SIMULAÇÃO DE PROJÉTEIS |
|
Abstract: |
This paper presents the development of an improvement in the Hefesto physics engine (TEIXEIRA, 2015). This engine was implemented in a way that the physics simulations was executed in a server separated from the client application, this architecture later presented latency issues and a dependency with a stable network connection to execute any simulation. To solve these problems the physics simulation has been moved to the client-side together with the client application of the engine. Using the object integration routines from the open source physics engine CannonJS (HEDMAN, 2013a) together with the collision detection and treatment routines from Hefesto, converted to Javascript, it was possible to remove the necessity of a web server to run the physics simulations. The web application Ballistic (ZANLUCA, 2015) and the Hefesto editor (TEIXEIRA, 2015) were adapted to use the new engine and were used to execute the performance tests, those presented superior results when compared to the previous engine both in tests validating the processing time of the integration cycles and in RAM memory usage during the simulations |
|
|