Original title:
WebGL2 renderer ve WebAssembly
Translated title:
WebGL2 Renderer in WebAssembly
Authors:
Režňák, Pavel ; Lysek, Tomáš (referee) ; Starka, Tomáš (advisor) Document type: Master’s theses
Year:
2018
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Diplomová práce se zaměřuje na rychlé vykreslení 3D scény ve webovém prohlížeči s použitím moderních technologií, jako je WebGL a WebAssembly. V textu je popsán proces překladu aplikace psané v jazyce C++ do WebAssembly pomocí překladače Emscripten a její začlenění do webové stránky. Dále je rozebrán obousměrný způsob komunikace mezi jazykem C++ a JavaScriptem, jako je volání funkcí, vytváření tříd či sdílení paměti. Během návrhu vykreslovacího jádra jsou vzpomenuty některé způsoby a metody optimalizace vykreslování. Na závěr jsou jednotlivé technologie porovnány z hlediska jejich výkonu.
This thesis is focused on fast rendering of the 3D scene in a web browser with usage of modern technologies, for instance WebGL and WebAssembly. In this thesis you will find out how to compile an application which was written in C++ language into WebAssembly via Emscripten compilator and how to insert this code into a web page. Futhermore, you will find out how to communicate between C++ language and JavaScript, how to call functions, create instances and how to share memory between them. During design of a rendering core you will learn a few methods how to improve rendering performance. In the end the performance of this technologies is compared.
Keywords:
asm.js; Emscripten; Web rendering; WebAssembly; WebGL; asm.js; Emscripten; Renderování na webu; WebAssembly; WebGL
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/84885