Browse Source

渲染测式 案例 开发

master
yuanjiajia 1 year ago
parent
commit
405cf01826
  1. 4
      examples/renderTest.php

4
examples/renderTest.php

@ -298,13 +298,14 @@ $filesaver = new FileSaver();
$render .= $filesaver;
$batch = new Batch();
$batch->haltspp = 2000;
$batch->haltspp = 4000;
// $batch->halttime = 2000;
$render .= $batch;
$sceneCfg = new render\Scene();
$render .= $sceneCfg;
// // cpu 渲染
// $render = '';
// $renderEngine = new RenderEngine();
@ -335,6 +336,7 @@ $render .= $sceneCfg;
// $sceneCfg = new render\Scene();
// $render .= $sceneCfg;
// 图像输出设置
$imageOutPath = $sceneTemplatePath.'/imageOut';
$film = new Film();

Loading…
Cancel
Save