outputs[] = new file\ImageSaver(['type' => file\ImageSaver::TYPE_RGBA ]); $film->outputs[] = new file\ImageSaver(['type' => file\ImageSaver::TYPE_MATERIAL_ID ]); $film->outputs[] = new file\ImageSaver(['index' => 5 ]); $film->imagepipelines[5] = [new effect\NoiseReducerOIDN(),new effect\Pretreatment(),new effect\ToneMapLinear(),new effect\AnalogFilmSimulation(),new effect\CammaCorrection()]; echo $film; */ $scene = new Scene();//创建一个场景, $scene->objects[0] = new Objects();//在场景中创建一个编号为0的模型, $scene->materials[7] = new MaterialsBase();//在场景中创建一个编号为7的材质, $scene->objects[0]->material = 7;//给编号为0的模型,添加编号为7的材质 echo $scene; ?>