64]); echo $native; //设置打印光线跟踪的配置参数 $path = new Path(['glossinessthreshold' => 0.999]); echo $path; //设置打印 采样器 配置参数 $sampler = new Sampler(['imagemutationrate' => 0.888]); $sampler->random->overlapping = 32; echo $sampler; //设置打印 灯光策略 配置参数 $lightStrategy = new LightStrategy(); echo $lightStrategy; //设置打印 文件储存格式 配置参数 $filesaver = new FileSaver(); echo $filesaver; */ //设置打印 “胶片” 配置参数 $film = new Film(); $film->outputs[] = new ImageSaverBase(['type' => ImageSaverBase::TYPE_RGBA ]); $film->outputs[] = new ImageSaverBase(['type' => ImageSaverBase::TYPE_MATERIAL_ID ]); $film->outputs[] = new ImageSaverNumber(['index' => 2 ]); $film->imagepipelines['002'] = [new NoiseReducerOIDN(),new Pretreatment(),new ToneMapCamera(),new CammaCorrection()]; echo $film; ?>