public function __construct() { parent::__construct(); $this->_camera = new Image_3D_Coordinate(0, 0, -100); $this->_shadows = true; $this->_rays = 1; $this->_depth = 5; }
/** * Statistics for Image_3D * * Returns simple statisics for Image_3D as a string. * * @return string Statistics */ public function stats() { return sprintf(' Image 3D objects: %d lights: %d polygones: %d points: %d ', count($this->_objects), $this->_renderer->getLightCount(), $this->_renderer->getPolygonCount(), $this->_renderer->getPointCount()); }
/** * Statistics for Image_3D * * Returns simple statisics for Image_3D as a string. * * @return string Statistics */ public function stats() { return sprintf('Image 3D objects: %d lights: %d polygones: %d points: %d time: %.4f s ', count($this->_objects), $this->_renderer->getLightCount(), $this->_renderer->getPolygonCount(), $this->_renderer->getPointCount(), microtime(true) - $this->_start); }