From 76fad2b9f521a8fa4965239c79782eaa435bcf21 Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Wed, 14 Jun 2023 14:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B2=E6=9F=93=E6=B5=8B=E5=BC=8F=20?= =?UTF-8?q?=E6=A1=88=E4=BE=8B=20=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/renderTest.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/renderTest.php b/examples/renderTest.php index e0de6e1..905a3ae 100644 --- a/examples/renderTest.php +++ b/examples/renderTest.php @@ -340,12 +340,15 @@ $render .= $sceneCfg; // 图像输出设置 $imageOutPath = $sceneTemplatePath.'/imageOut'; $film = new Film(); -// $filter = new Filter(); -// $filter->type = Filter::TYPE_GAUSSIAN; + +$filter = new Filter(); +$filter->type = Filter::TYPE_BLACKMANHARRIS; // $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->effect = [new Pretreatment(),new ToneMapLinear(),new CammaCorrection()];