BabylonJS and Three.js : Comparing performance when it comes to rendering Voronoi height maps in 3D

University essay from Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM); Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)

Author: Axel Karlsson; Oscar Nordquist; [2018]

Keywords: ;

Abstract: WebGL is a technique that allows the browser to run 3D applications with the help of the GPU. Voronoi diagrams are a set of polygons that can be used to illustrate worlds of islands. In an web-application using Voronoi Polygons to create two dimensional worlds there is a future vision to enable three dimensional behavior. There are multiple frameworks and libraries that can be used to simplify the process of creating 3D applications in the browser. Due to the fact that 3D applications can be performance demanding, an experiment was conducted with BabylonJS and Three.js. In order to evaluate which one of the two performed better, RAM, GPU and CPU were evaluated when translating two dimensional Voronoi heightmaps into a 3D application. The results from this stress test prove that Three.js outperformed BabylonJS.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)