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.

54 lines
892 B

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