Blender渲染
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
919 B

  1. <?php
  2. namespace Blobt\Luxcore\scene;
  3. include dirname(dirname(__FILE__)) . "/vendor/autoload.php";
  4. //设置打印渲染引擎的配置参数
  5. $renderEngine = new RenderEngine();
  6. echo $renderEngine;
  7. //设置打印GPU渲染设备的配置参数
  8. $openCL = new OpenCL();
  9. echo $openCL;
  10. //设置打印GPU渲染设备的配置参数
  11. $native = new Native(['threadsCount' => 64]);
  12. echo $native;
  13. //设置打印光线跟踪的配置参数
  14. $path = new Path(['glossinessthreshold' => 0.999]);
  15. echo $path;
  16. //设置打印 采样器 配置参数
  17. $sampler = new Sampler(['imagemutationrate' => 0.888]);
  18. $sampler->random->overlapping = 32;
  19. echo $sampler;
  20. //设置打印 灯光策略 配置参数
  21. $lightStrategy = new LightStrategy();
  22. echo $lightStrategy;
  23. //设置打印 文件储存格式 配置参数
  24. $filesaver = new FileSaver();
  25. echo $filesaver;
  26. //设置打印 “胶片” 配置参数
  27. $film = new Film();
  28. echo $film;
  29. ?>