|
@ -340,12 +340,15 @@ $render .= $sceneCfg; |
|
|
// 图像输出设置
|
|
|
// 图像输出设置
|
|
|
$imageOutPath = $sceneTemplatePath.'/imageOut'; |
|
|
$imageOutPath = $sceneTemplatePath.'/imageOut'; |
|
|
$film = new Film(); |
|
|
$film = new Film(); |
|
|
// $filter = new Filter();
|
|
|
|
|
|
// $filter->type = Filter::TYPE_GAUSSIAN;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$filter = new Filter(); |
|
|
|
|
|
$filter->type = Filter::TYPE_BLACKMANHARRIS; |
|
|
// $filter->gaussianAlpha = 2.0;
|
|
|
// $filter->gaussianAlpha = 2.0;
|
|
|
// $film->filter = $filter;
|
|
|
|
|
|
$film->width = 2048; |
|
|
|
|
|
$film->heigth = 2048; |
|
|
|
|
|
|
|
|
$filter->width = 1; |
|
|
|
|
|
|
|
|
|
|
|
$film->filter = $filter; |
|
|
|
|
|
$film->width = 4096; |
|
|
|
|
|
$film->heigth = 4096; |
|
|
|
|
|
|
|
|
$img = new Image(); |
|
|
$img = new Image(); |
|
|
$img->effect = [new Pretreatment(),new ToneMapLinear(),new CammaCorrection()]; |
|
|
$img->effect = [new Pretreatment(),new ToneMapLinear(),new CammaCorrection()]; |
|
|