First version (JirkaDellOro)
Material generation and assignment