|
|
@ -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(); |
|
|
|