示例#1
0
        public static Model GetAfricanHeadModel()
        {
            var modelPath       = Environment.CurrentDirectory + @"/Models/african_head/african_head.obj";
            var texturePath     = Environment.CurrentDirectory + @"/Models/african_head/textures/african_head_diffuse.png";
            var normalMapPath   = Environment.CurrentDirectory + @"/Models/african_head/textures/african_head_nm.png";
            var specularMapPath = Environment.CurrentDirectory + @"/Models/african_head/textures/african_head_spec.png";

            var m = ModelReader.Read(modelPath, texturePath, normalMapPath, specularMapPath);

            return(m);
        }