|
@ -19,6 +19,7 @@ use Blobt\Luxcore\scene\render\effect\ToneMapLinear; |
|
|
use Blobt\Luxcore\scene\render\FileSaver; |
|
|
use Blobt\Luxcore\scene\render\FileSaver; |
|
|
use Blobt\Luxcore\scene\render\Film; |
|
|
use Blobt\Luxcore\scene\render\Film; |
|
|
use Blobt\Luxcore\scene\render\Filter; |
|
|
use Blobt\Luxcore\scene\render\Filter; |
|
|
|
|
|
use Blobt\Luxcore\scene\render\HybridBackforWard; |
|
|
use Blobt\Luxcore\scene\render\Image; |
|
|
use Blobt\Luxcore\scene\render\Image; |
|
|
use Blobt\Luxcore\scene\render\LightStrategy; |
|
|
use Blobt\Luxcore\scene\render\LightStrategy; |
|
|
use Blobt\Luxcore\scene\render\Native; |
|
|
use Blobt\Luxcore\scene\render\Native; |
|
@ -192,7 +193,9 @@ $scene->registerCamera($camera); |
|
|
// $lightStrategy = new LightStrategy();
|
|
|
// $lightStrategy = new LightStrategy();
|
|
|
// $render .= $lightStrategy;
|
|
|
// $render .= $lightStrategy;
|
|
|
|
|
|
|
|
|
// $path = new Path();
|
|
|
|
|
|
|
|
|
// $hybridBackforWard = new HybridBackforWard();
|
|
|
|
|
|
// $hybridBackforWard->partition = 1;
|
|
|
|
|
|
// $path = new Path([],null,$hybridBackforWard);
|
|
|
// $render .= $path;
|
|
|
// $render .= $path;
|
|
|
|
|
|
|
|
|
// $sampler = new Sampler();
|
|
|
// $sampler = new Sampler();
|
|
@ -222,7 +225,9 @@ $render .= $native; |
|
|
$lightStrategy = new LightStrategy(); |
|
|
$lightStrategy = new LightStrategy(); |
|
|
$render .= $lightStrategy; |
|
|
$render .= $lightStrategy; |
|
|
|
|
|
|
|
|
$path = new Path(); |
|
|
|
|
|
|
|
|
$hybridBackforWard = new HybridBackforWard(); |
|
|
|
|
|
$hybridBackforWard->partition = 0.8; |
|
|
|
|
|
$path = new Path([],null,$hybridBackforWard); |
|
|
$render .= $path; |
|
|
$render .= $path; |
|
|
|
|
|
|
|
|
$sampler = new Sampler(); |
|
|
$sampler = new Sampler(); |
|
|