Skip to content

hellblade/BuildingGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Building Generator

This project was made for my Computer Graphics course in 2014. It was a team project to procedurally generate a city with building and roads however only my part was finished (generating the buildings).

Sample Images

sample sample sample sample sample sample sample sample sample

Compiling

Linux

Tested on Ubuntu. Requires freeglut3 and libjpeg (sudo apt-get install freeglut3-dev , sudo apt-get install libjpeg-dev)

Navigate to src/FinalProject/FinalProject and then run make.

Windows

There is also a Visual Studio project in src/FinalProject. It used to work however some of the dependencies are missing so does not build as is.

Controls

Camera

Left Mouse + Drag: Rotates the camera

Right Mouse + Drag: Pans the camera

Middle Mouse + Dragging Up or Down: Zooms in/out

Building Generation

Q, W - Decrease/Increase Width

A, S - Decrease/Increase Height

Z, X - Decrease/Increase Depth

B - Generates a new building with the current width, height and depth.

Resources

Uses GPC - http://www.cs.man.ac.uk/~toby/alan/software/

One of the methods used to generate the buildings was based on a paper. The link has gone dead however: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.88.7296&rep=rep1&type=pdf

http://web.archive.org/web/20120531231005/http://crazyjoke.free.fr/doc/3D/plane%20extraction.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages