You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
754 B
43 lines
754 B
<?php
|
|
|
|
|
|
|
|
namespace Blobt\Luxcore\scene;
|
|
include dirname(dirname(__FILE__)) . "/vendor/autoload.php";
|
|
|
|
|
|
/*
|
|
//设置打印渲染引擎的配置参数
|
|
$renderEngine = new RenderEngine();
|
|
echo $renderEngine;
|
|
|
|
//设置打印GPU渲染设备的配置参数
|
|
$openCL = new OpenCL();
|
|
echo $openCL;
|
|
|
|
//设置打印GPU渲染设备的配置参数
|
|
$native = new Native(['threadsCount' => 64]);
|
|
echo $native;
|
|
|
|
//设置打印光线跟踪的配置参数
|
|
$path = new Path(['glossinessthreshold' => 0.999]);
|
|
echo $path;
|
|
|
|
//设置打印 采样器 配置参数
|
|
$sampler = new Sampler(['imagemutationrate' => 0.888]);
|
|
$sampler->random->overlapping = 32;
|
|
echo $sampler;
|
|
*/
|
|
|
|
|
|
$film = new Film();
|
|
|
|
echo "$film\n";
|
|
|
|
$film->outputs[3]['index'] = '中国最牛';
|
|
|
|
echo $film;
|
|
|
|
|
|
|
|
?>
|