Material modification of 3D objects on the web

Thesis title: Material modification of 3D objects on the web
Author: Dušek, Václav
Thesis type: Bachelor thesis
Supervisor: Svoboda, Jaroslav
Opponents: Dušek, Václav
Thesis language: English
Abstract:
The main goal of this thesis was to solve the visible texture repetition in 3D graphics on the web. For the rendering of the 3D scene is used WebGL as the main technology for 3D graphics on the web. The WebGL is handled with the help of the Three.js framework. The texture repetition is solved by the implementation of several techniques. These techniques are distance tiling and micro and macro variation. The texture bombing was not implemented because it is not suitable for some types of textures. The material, that will not have noticeable texture repetition, was created by inheriting properties from MeshStandardMaterial, which comes with Three.js. The mentioned techniques were implemented with the use of GLSL as a part of vertex shader and fragment shader. These parts of GLSL codes were injected into the original GLSL code that was inherited from MeshStandardMaterial. The last step was to add new properties to the material to be able to control variables in the GLSL code. This results in material, that hides the texture repetition by adding more visual variation to the final look.
Keywords: JavaScript; 3D graphic; GLSL; shader; WebGL; Three.js
Thesis title: Modifiakce materiálů 3D objektů na webu
Author: Dušek, Václav
Thesis type: Bakalářská práce
Supervisor: Svoboda, Jaroslav
Opponents: Dušek, Václav
Thesis language: English
Abstract:
Hlavním cílem této práce bylo vyřešit viditelné opakování textury ve 3D grafice na webu. Jako hlavní technologie pro vykreslování 3D scény na webu je použito WebGL. Práce s WebGL probíhá za pomoci Three.js frameworku. Opakování textury je vyřešeno implementováním několika technik. Konkrétně jsou to vzdálenostní škálování and micro a macro variace. Technika texture bombing nebyla použita, protože pro některé textury není vhodná. Materiál, který nebude mít viditelné opakování textury, byl vytvořen tak, že zdědil vlastnosti MeshStandardMaterialu, který je součástí Three.js. Zmíněné techniky byly implementovány jako části vertex a fragment shaderů za pomocí GLSL. Tyto části kodu byly poté vloženy kódu, který byl zděděn od MeshStandardMaterialu. Posledním krokem bylo přidání nových vlastností materiálu, skrz které lze ovlivňovat proměné v GLSL kodu. Tím vzniknul materiál, který schovává opakování textury přidáním vizuální variace.
Keywords: 3D grafika; JavaScript; GLSL; shader; WebGL; Three.js

Information about study

Study programme: Multimédia v ekonomické praxi
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Multimedia

Information on submission and defense

Date of assignment: 15. 6. 2023
Date of submission: 27. 6. 2024
Date of defense: 2024

Files for download

The files will be available after the defense of the thesis.

    Last update: