Read material from 3ds file.