Treffer: Razvoj trodimenzionalne video-igre uporabom programskog sučelja WebGPU ; Three-dimensional video game development using the WebGPU programming interface
University of Zagreb. Faculty of Electrical Engineering and Computing.
Weitere Informationen
Ovaj završni rad bavi se razvojem trodimenzionalne video-igre korištenjem modernog programskog sučelja WebGPU, razvijenog za rad na preglednicima. U uvodnom dijelu opisuje se arhitektura grafičkih procesnih jedinica te proces iscrtavanja slike na zaslonu putem grafičkog cjevovoda. Nadalje, analiziraju se postojeća aplikacijska programska sučelja za rad s grafičkom procesnom jedinicom, s posebnim naglaskom na prednosti programskog sučelja WebGPU u odnosu na prethodnike poput sučelja WebGL, Vulkan i Direct3D. Opisuje se i WGSL – jezik za pisanje shader programa. Praktični dio rada uključuje izradu jednostavne trodimenzionalne video-igre u kojoj igrač upravlja kuglom na terenu, s naglaskom na implementaciju renderera, simulaciju osnovne fizike (gravitacija, trenje, kolizije, restitucija), te upravljanje objektima. Kroz igru se demonstriraju tehničke mogućnosti programskog sučelja WebGPU te njegova primjenjivost u modernom razvoju interaktivnih trodimenzionalnih aplikacija. ; This final thesis focuses on the development of a three-dimensional video game using the modern WebGPU programming interface, designed for use within web browsers. The introductory section describes the architecture of graphics processing units (GPUs) and the process of rendering images on screen through the graphics pipeline. Existing GPU APIs are analyzed, with particular emphasis on the advantages of WebGPU compared to predecessors like WebGL, Vulkan, and Direct3D. The WGSL language, used for writing shader programs, is also introduced. The practical part of the thesis includes the creation of a simple 3D game where the player controls a ball moving across terrain, with focus on implementing a renderer, simulating basic physics (gravity, friction, collisions, restitution) and managing objects. The game demonstrates the technical capabilities of WebGPU and its applicability in the modern development of interactive 3D applications.