Browse Source

渲染配置相关类全部移到“render”目录下。

master
yuanjiajia 3 years ago
parent
commit
77d057fa1e
  1. 1
      composer.json
  2. 9
      examples/print.php
  3. 4
      src/scene/BaseCfg.php
  4. 3
      src/scene/render/Batch.php
  5. 3
      src/scene/render/FileSaver.php
  6. 12
      src/scene/render/Film.php
  7. 3
      src/scene/render/Filter.php
  8. 3
      src/scene/render/HaltThresHold.php
  9. 3
      src/scene/render/HybridBackforWard.php
  10. 3
      src/scene/render/LightStrategy.php
  11. 3
      src/scene/render/Metropolis.php
  12. 3
      src/scene/render/Native.php
  13. 3
      src/scene/render/NoiseEstimation.php
  14. 3
      src/scene/render/OpenCL.php
  15. 3
      src/scene/render/Path.php
  16. 3
      src/scene/render/PathDepth.php
  17. 3
      src/scene/render/Random.php
  18. 3
      src/scene/render/RenderEngine.php
  19. 3
      src/scene/render/Sampler.php
  20. 3
      src/scene/render/Scene.php
  21. 3
      src/scene/render/Sobol.php
  22. 2
      src/scene/render/cache/Caustic.php
  23. 2
      src/scene/render/cache/Entry.php
  24. 2
      src/scene/render/cache/Indirect.php
  25. 6
      src/scene/render/cache/LightStrategy.php
  26. 2
      src/scene/render/cache/PhotonGI.php
  27. 2
      src/scene/render/effect/AnalogFilmSimulation.php
  28. 2
      src/scene/render/effect/BackgroundImg.php
  29. 2
      src/scene/render/effect/Bloom.php
  30. 2
      src/scene/render/effect/CammaCorrection.php
  31. 2
      src/scene/render/effect/ColorAberration.php
  32. 2
      src/scene/render/effect/ColorLUT.php
  33. 2
      src/scene/render/effect/IrradianceContourLines.php
  34. 2
      src/scene/render/effect/LightInformation.php
  35. 2
      src/scene/render/effect/Mist.php
  36. 2
      src/scene/render/effect/NoiseReducerBCD.php
  37. 2
      src/scene/render/effect/NoiseReducerOIDN.php
  38. 2
      src/scene/render/effect/Pretreatment.php
  39. 2
      src/scene/render/effect/Synthesis.php
  40. 2
      src/scene/render/effect/ToneMapAutoLinear.php
  41. 2
      src/scene/render/effect/ToneMapCamera.php
  42. 2
      src/scene/render/effect/ToneMapLinear.php
  43. 2
      src/scene/render/effect/ToneMapReinhard.php
  44. 2
      src/scene/render/effect/Vignetting.php
  45. 2
      src/scene/render/effect/WhiteBalance.php

1
composer.json

@ -6,6 +6,7 @@
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Blobt\\Luxcore\\": "src/" "Blobt\\Luxcore\\": "src/"
} }
}, },
"authors": [ "authors": [

9
examples/print.php

@ -2,10 +2,15 @@
namespace Blobt\Luxcore\scene;
namespace Blobt\Luxcore\scene\render;
use Blobt\Luxcore\scene\file;
include dirname(dirname(__FILE__)) . "/vendor/autoload.php"; include dirname(dirname(__FILE__)) . "/vendor/autoload.php";
//设置打印 渲染引擎 的配置参数 //设置打印 渲染引擎 的配置参数
$renderEngine = new RenderEngine(); $renderEngine = new RenderEngine();
echo $renderEngine; echo $renderEngine;
@ -51,4 +56,6 @@ $film->imagepipelines[5] = [new effect\NoiseReducerOIDN(),new effect\Pretreatmen
echo $film; echo $film;
?> ?>

4
src/scene/BaseCfg.php

@ -100,10 +100,8 @@ class BaseCfg extends Base
break; break;
default: default:
$ret .= "{$className}.{$name} = \"unknow type\"\n";
$ret .= "{$className}.{$name} = \"unknow type\"\n";
} }
} }
return $ret; return $ret;
} }

src/scene/Batch.php → src/scene/render/Batch.php

src/scene/FileSaver.php → src/scene/render/FileSaver.php

src/scene/Film.php → src/scene/render/Film.php

src/scene/Filter.php → src/scene/render/Filter.php

src/scene/HaltThresHold.php → src/scene/render/HaltThresHold.php

src/scene/HybridBackforWard.php → src/scene/render/HybridBackforWard.php

src/scene/LightStrategy.php → src/scene/render/LightStrategy.php

src/scene/Metropolis.php → src/scene/render/Metropolis.php

src/scene/Native.php → src/scene/render/Native.php

src/scene/NoiseEstimation.php → src/scene/render/NoiseEstimation.php

src/scene/OpenCL.php → src/scene/render/OpenCL.php

src/scene/Path.php → src/scene/render/Path.php

src/scene/PathDepth.php → src/scene/render/PathDepth.php

src/scene/Random.php → src/scene/render/Random.php

src/scene/RenderEngine.php → src/scene/render/RenderEngine.php

src/scene/Sampler.php → src/scene/render/Sampler.php

src/scene/Scene.php → src/scene/render/Scene.php

src/scene/Sobol.php → src/scene/render/Sobol.php

src/scene/cache/Caustic.php → src/scene/render/cache/Caustic.php

src/scene/cache/Entry.php → src/scene/render/cache/Entry.php

src/scene/cache/Indirect.php → src/scene/render/cache/Indirect.php

src/scene/cache/LightStrategy.php → src/scene/render/cache/LightStrategy.php

src/scene/cache/PhotonGI.php → src/scene/render/cache/PhotonGI.php

src/scene/effect/AnalogFilmSimulation.php → src/scene/render/effect/AnalogFilmSimulation.php

src/scene/effect/BackgroundImg.php → src/scene/render/effect/BackgroundImg.php

src/scene/effect/Bloom.php → src/scene/render/effect/Bloom.php

src/scene/effect/CammaCorrection.php → src/scene/render/effect/CammaCorrection.php

src/scene/effect/ColorAberration.php → src/scene/render/effect/ColorAberration.php

src/scene/effect/ColorLUT.php → src/scene/render/effect/ColorLUT.php

src/scene/effect/IrradianceContourLines.php → src/scene/render/effect/IrradianceContourLines.php

src/scene/effect/LightInformation.php → src/scene/render/effect/LightInformation.php

src/scene/effect/Mist.php → src/scene/render/effect/Mist.php

src/scene/effect/NoiseReducerBCD.php → src/scene/render/effect/NoiseReducerBCD.php

src/scene/effect/NoiseReducerOIDN.php → src/scene/render/effect/NoiseReducerOIDN.php

src/scene/effect/Pretreatment.php → src/scene/render/effect/Pretreatment.php

src/scene/effect/Synthesis.php → src/scene/render/effect/Synthesis.php

src/scene/effect/ToneMapAutoLinear.php → src/scene/render/effect/ToneMapAutoLinear.php

src/scene/effect/ToneMapCamera.php → src/scene/render/effect/ToneMapCamera.php

src/scene/effect/ToneMapLinear.php → src/scene/render/effect/ToneMapLinear.php

src/scene/effect/ToneMapReinhard.php → src/scene/render/effect/ToneMapReinhard.php

src/scene/effect/Vignetting.php → src/scene/render/effect/Vignetting.php

src/scene/effect/WhiteBalance.php → src/scene/render/effect/WhiteBalance.php

Loading…
Cancel
Save