Browse Source

修改了文件夹名称及图像输出路径

master
yuanjiajia 3 years ago
parent
commit
56282d0504
  1. 0
      DemoScene/map/SD-037.exr
  2. 0
      DemoScene/map/env.png
  3. 0
      DemoScene/map/方形阴影遮照.png
  4. 0
      DemoScene/map/纯白242.png
  5. 0
      DemoScene/ply/AnNiuYinZi.ply
  6. 0
      DemoScene/ply/DengSeDengGuang.ply
  7. 0
      DemoScene/ply/FaceLight000.ply
  8. 0
      DemoScene/ply/FaceLight001.ply
  9. 0
      DemoScene/ply/FaceLight002.ply
  10. 0
      DemoScene/ply/FaceLight003.ply
  11. 0
      DemoScene/ply/FaceLight004.ply
  12. 0
      DemoScene/ply/FaceLight005.ply
  13. 0
      DemoScene/ply/FaceLight006.ply
  14. 0
      DemoScene/ply/JinShuAnNiuDiZuo.ply
  15. 0
      DemoScene/ply/JinShuYinZi.ply
  16. 0
      DemoScene/ply/JinShuZhenDongZhou.ply
  17. 0
      DemoScene/ply/LanSeDengGuang.ply
  18. 0
      DemoScene/ply/SanGuangDengZhao.ply
  19. 0
      DemoScene/ply/ShuaMao001.ply
  20. 0
      DemoScene/ply/ShuaMao002.ply
  21. 0
      DemoScene/ply/ShuaMao003.ply
  22. 0
      DemoScene/ply/ShuaMaoYangBen001.ply
  23. 0
      DemoScene/ply/ShuaMaoYangBen002.ply
  24. 0
      DemoScene/ply/ShuaMaoYangBenJinShuYuanGuan.ply
  25. 0
      DemoScene/ply/ShuaMaoYangBenYinZi.ply
  26. 0
      DemoScene/ply/SuLiaoDianZi.ply
  27. 0
      DemoScene/ply/TouMingSuLiaoKe.ply
  28. 0
      DemoScene/ply/YaShuaTou.ply
  29. 0
      DemoScene/ply/YaShuaTouWenZi.ply
  30. 0
      DemoScene/ply/YuanZhuXingSuLiaoKe.ply
  31. 0
      DemoScene/ply/ground.ply
  32. 2
      examples/startDemo.php
  33. 2
      src/scene/render/Film.php
  34. 6
      src/scene/render/Image.php

DomeScene/map/SD-037.exr → DemoScene/map/SD-037.exr

DomeScene/map/env.png → DemoScene/map/env.png

DomeScene/map/方形阴影遮照.png → DemoScene/map/方形阴影遮照.png

DomeScene/map/纯白242.png → DemoScene/map/纯白242.png

DomeScene/ply/AnNiuYinZi.ply → DemoScene/ply/AnNiuYinZi.ply

DomeScene/ply/DengSeDengGuang.ply → DemoScene/ply/DengSeDengGuang.ply

DomeScene/ply/FaceLight000.ply → DemoScene/ply/FaceLight000.ply

DomeScene/ply/FaceLight001.ply → DemoScene/ply/FaceLight001.ply

DomeScene/ply/FaceLight002.ply → DemoScene/ply/FaceLight002.ply

DomeScene/ply/FaceLight003.ply → DemoScene/ply/FaceLight003.ply

DomeScene/ply/FaceLight004.ply → DemoScene/ply/FaceLight004.ply

DomeScene/ply/FaceLight005.ply → DemoScene/ply/FaceLight005.ply

DomeScene/ply/FaceLight006.ply → DemoScene/ply/FaceLight006.ply

DomeScene/ply/JinShuAnNiuDiZuo.ply → DemoScene/ply/JinShuAnNiuDiZuo.ply

DomeScene/ply/JinShuYinZi.ply → DemoScene/ply/JinShuYinZi.ply

DomeScene/ply/JinShuZhenDongZhou.ply → DemoScene/ply/JinShuZhenDongZhou.ply

DomeScene/ply/LanSeDengGuang.ply → DemoScene/ply/LanSeDengGuang.ply

DomeScene/ply/SanGuangDengZhao.ply → DemoScene/ply/SanGuangDengZhao.ply

DomeScene/ply/ShuaMao001.ply → DemoScene/ply/ShuaMao001.ply

DomeScene/ply/ShuaMao002.ply → DemoScene/ply/ShuaMao002.ply

DomeScene/ply/ShuaMao003.ply → DemoScene/ply/ShuaMao003.ply

DomeScene/ply/ShuaMaoYangBen001.ply → DemoScene/ply/ShuaMaoYangBen001.ply

DomeScene/ply/ShuaMaoYangBen002.ply → DemoScene/ply/ShuaMaoYangBen002.ply

DomeScene/ply/ShuaMaoYangBenJinShuYuanGuan.ply → DemoScene/ply/ShuaMaoYangBenJinShuYuanGuan.ply

DomeScene/ply/ShuaMaoYangBenYinZi.ply → DemoScene/ply/ShuaMaoYangBenYinZi.ply

DomeScene/ply/SuLiaoDianZi.ply → DemoScene/ply/SuLiaoDianZi.ply

DomeScene/ply/TouMingSuLiaoKe.ply → DemoScene/ply/TouMingSuLiaoKe.ply

DomeScene/ply/YaShuaTou.ply → DemoScene/ply/YaShuaTou.ply

DomeScene/ply/YaShuaTouWenZi.ply → DemoScene/ply/YaShuaTouWenZi.ply

DomeScene/ply/YuanZhuXingSuLiaoKe.ply → DemoScene/ply/YuanZhuXingSuLiaoKe.ply

DomeScene/ply/ground.ply → DemoScene/ply/ground.ply

2
examples/startDemo.php

@ -532,7 +532,7 @@ fclose($handle);
// 六、启动渲染器 // 六、启动渲染器
$cmd = "luxcoreconsol -o ./DemoScene/render.cfg -f ./DemoScene/scene.scn 1>./DemoScene/render.log 2>&1";
$cmd = "luxcoreconsole -o ./DemoScene/render.cfg -f ./DemoScene/scene.scn 1>./DemoScene/render.log 2>&1";
$output; $output;
$returnVar; $returnVar;
exec($cmd,$output,$returnVar); exec($cmd,$output,$returnVar);

2
src/scene/render/Film.php

@ -83,7 +83,7 @@ class Film extends BaseCfg
$this->imagepipelines[ sprintf("%03d",$object->index) ] = $object->effect; $this->imagepipelines[ sprintf("%03d",$object->index) ] = $object->effect;
$object->effect = null; $object->effect = null;
} }
$object->filename = "../{$object->type}_{$object->index}.png";
$object->filename = "./DemoScene/{$object->type}_{$object->index}.png";
} }
$this->outputs[] = $object; $this->outputs[] = $object;
} }

6
src/scene/render/Image.php

@ -151,15 +151,15 @@ class Image extends BaseCfg
Base::__construct($config); Base::__construct($config);
if( in_array($this->type,self::PNG ) ) if( in_array($this->type,self::PNG ) )
{ {
$this->filename = "../{$this->type}.png";
$this->filename = "./DemoScene/{$this->type}.png";
} }
else if ( in_array($this->type,self::EXR) ) else if ( in_array($this->type,self::EXR) )
{ {
$this->filename = "../{$this->type}.exr";
$this->filename = "./DemoScene/{$this->type}.exr";
} }
else else
{ {
$this->filename = "../{$this->type}.jpg";
$this->filename = "./DemoScene/{$this->type}.jpg";
} }
} }

Loading…
Cancel
Save