TY - GEN
T1 - Performance Analysis of 3D Rendering Method on Web-Based Augmented Reality Application Using WebGL and OpenGL Shading Language
AU - Hamzaturrazak, Multohadi
AU - Jonemaro, Eriq Muhammad Adams
AU - Pinandito, Aryo
N1 - Publisher Copyright:
© 2023 ACM.
PY - 2023/10/24
Y1 - 2023/10/24
N2 - In recent years, web programming has increased to the extent where it is capable of rendering 3D objects on the web. Its rendering performance varied depending on where it ran and what library was used to render the objects. This study aims to investigate the rendering performance of several 3D renderer libraries that render 3D objects in an augmented reality application. WebGL is one of the APIs that uses the Javascript programming language to render 3D objects in web applications. To create augmented reality on the web, a JavaScript library called AR.js is needed, which allows developers to create augmented reality on the web without the need to use additional plugins. AR.js supports various types of augmented reality, i.e., bookmarks, images, and location-based types. It also allows developers to incorporate visual and audio effects into augmented reality. This study aims to investigate the rendering performance of WebGL raw shaders and GLSL shaders in an HTML-based augmented reality application. The results suggested that both WebGL and GLSL could render low-poly and medium-poly 3D objects well. However, according to the test, WebGL performance drops significantly when rendering high-polygon 3D objects. Nonetheless, the GLSL library could render the same high-poly 3D objects at a similar level with native library rendering performance. Thus, suggest GLSL shaders as the recommended library to render 3D objects on the web.
AB - In recent years, web programming has increased to the extent where it is capable of rendering 3D objects on the web. Its rendering performance varied depending on where it ran and what library was used to render the objects. This study aims to investigate the rendering performance of several 3D renderer libraries that render 3D objects in an augmented reality application. WebGL is one of the APIs that uses the Javascript programming language to render 3D objects in web applications. To create augmented reality on the web, a JavaScript library called AR.js is needed, which allows developers to create augmented reality on the web without the need to use additional plugins. AR.js supports various types of augmented reality, i.e., bookmarks, images, and location-based types. It also allows developers to incorporate visual and audio effects into augmented reality. This study aims to investigate the rendering performance of WebGL raw shaders and GLSL shaders in an HTML-based augmented reality application. The results suggested that both WebGL and GLSL could render low-poly and medium-poly 3D objects well. However, according to the test, WebGL performance drops significantly when rendering high-polygon 3D objects. Nonetheless, the GLSL library could render the same high-poly 3D objects at a similar level with native library rendering performance. Thus, suggest GLSL shaders as the recommended library to render 3D objects on the web.
KW - 3D graphics
KW - augmented reality
KW - computer graphics
KW - HTML5
KW - texture mapping
KW - WebGL
UR - https://www.scopus.com/pages/publications/85182402924
U2 - 10.1145/3626641.3626949
DO - 10.1145/3626641.3626949
M3 - Conference contribution
AN - SCOPUS:85182402924
T3 - ACM International Conference Proceeding Series
SP - 637
EP - 643
BT - SIET 2023 - Proceedings of the 8th International Conference on Sustainable Information Engineering and Technology
PB - Association for Computing Machinery
T2 - 8th International Conference on Sustainable Information Engineering and Technology, SIET 2023
Y2 - 24 October 2023 through 25 October 2023
ER -