FormNext serves as a key venue for Additive Manufacturing, and we aimed to showcase our new prototype and its potential at this event. Given the challenges we encountered in the initial phase of the project, we invested numerous sleepless nights in perfecting this version of the engine.
The primary challenge in this stage was achieving a correctly rendered image using WebGL. Although the engine operated on Windows with OpenGL ES (the closest API to WebGL), we encountered issues when converting to WebAssembly and WebGL, resulting in unexpected outcomes. After utilizing tools like Spector.js and conducting several debugging sessions, we successfully emulated a 'Voronoi' lattice with skinning capabilities, along with the ability to apply pressure maps for lattice manipulation.
To ensure security within a browser environment, we took precautions by encrypting and consolidating all assets into a single data package. This package loads upon engine initialization and is decrypted as needed, safeguarding our assets against potential vulnerabilities and unauthorized access. For further details on our asset pipeline, please refer to this page.