add material to models ,TODO:modify test.html