|
@ -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"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|