ADD-ON BLENDER FOR PROCEDURAL BUILDING GENERATION

Abstract

Ovaj rad daje uvod u pisanje proširenja za programski paket Blender koristeći programski jezik Python. Opisuje osnovne operatore za manipulaciju podataka unutar Blendera, kreiranje, kopiranje i brisanje objekata, te daje pregled i primjere korištenja BMesh modula i njegovih operatora. Uz to, daje primjer programskog generiranja UV mapa. Proceduralno generiranje zgrada izvedeno je podjelom većeg modela na manje cjeline, koje se generiraju odvojeno koristeći BMesh modul, a zatim se kopiraju na mjesta koja su prethodno određena programski.This thesis gives an introduction into writing add-ons for Blender using Python programming language. The thesis describes basic operators for manipulating data inside Blender, such as creating, copying and deleting objects, and gives an overview and examples of using the BMesh module and its operators. It also gives an example of generating custom UV maps using Python. Procedural generation of buildings was accomplished by dividing the larger model into smaller sections, which are generated separately using the BMesh module. They are then copied and placed to coordinates which were programmatically determined before

    Similar works