Rework of the geometry loading and material system

Code from the master thesis of Niklas Mika.

Merge request reports

Loading