yuanjiajia
3 years ago
89 changed files with 307 additions and 542 deletions
-
1src/scene/Scene.php
-
2src/scene/lights/Emission.php
-
5src/scene/lights/Laser.php
-
20src/scene/lights/LightBase.php
-
7src/scene/lights/Projection.php
-
6src/scene/lights/Sphere.php
-
22src/scene/lights/SphereImg.php
-
5src/scene/lights/Spot.php
-
12src/scene/lights/env/CorlorConst.php
-
12src/scene/lights/env/HdrImage.php
-
16src/scene/lights/env/Sky.php
-
5src/scene/lights/env/StarDistant.php
-
12src/scene/lights/env/Sun.php
-
5src/scene/materials/CarPaint.php
-
4src/scene/materials/Cloth.php
-
5src/scene/materials/Disney.php
-
5src/scene/materials/Glass.php
-
7src/scene/materials/GlassArch.php
-
5src/scene/materials/GlassRough.php
-
5src/scene/materials/Glossy.php
-
6src/scene/materials/GlossyCoating.php
-
6src/scene/materials/GlossyTranslucent.php
-
28src/scene/materials/MaterialsBase.php
-
5src/scene/materials/Matte.php
-
5src/scene/materials/MatteRough.php
-
5src/scene/materials/MatteTranslucent.php
-
5src/scene/materials/Metal.php
-
5src/scene/materials/Mirror.php
-
4src/scene/materials/Mix.php
-
5src/scene/materials/NullMaterial.php
-
5src/scene/materials/TwoSided.php
-
4src/scene/materials/Velvet.php
-
90src/scene/texture/TextureBase.php
-
5src/scene/texture/composite/Absolute.php
-
5src/scene/texture/composite/Add.php
-
5src/scene/texture/composite/Clamp.php
-
5src/scene/texture/composite/Divide.php
-
5src/scene/texture/composite/Dotproduct.php
-
5src/scene/texture/composite/GreaterThan.php
-
5src/scene/texture/composite/LessThan.php
-
5src/scene/texture/composite/MakeFloat3.php
-
5src/scene/texture/composite/Mix.php
-
5src/scene/texture/composite/Modulo.php
-
5src/scene/texture/composite/Power.php
-
5src/scene/texture/composite/Remap.php
-
5src/scene/texture/composite/Rounding.php
-
5src/scene/texture/composite/Scale.php
-
5src/scene/texture/composite/SplitFloat3.php
-
5src/scene/texture/composite/Subtract.php
-
5src/scene/texture/deformation/Distort.php
-
5src/scene/texture/luminous/BlackBody.php
-
9src/scene/texture/luminous/IrregularData.php
-
37src/scene/texture/mapping/Mapping.php
-
5src/scene/texture/mapping/Triplanar.php
-
21src/scene/texture/procedural/BlenderBlend.php
-
27src/scene/texture/procedural/BlenderClouds.php
-
23src/scene/texture/procedural/BlenderDistortedNoise.php
-
5src/scene/texture/procedural/BlenderMagic.php
-
33src/scene/texture/procedural/BlenderMarble.php
-
31src/scene/texture/procedural/BlenderMusgrave.php
-
5src/scene/texture/procedural/BlenderNoise.php
-
33src/scene/texture/procedural/BlenderStucci.php
-
9src/scene/texture/procedural/BlenderVoronoi.php
-
41src/scene/texture/procedural/BlenderWood.php
-
21src/scene/texture/procedural/Brick.php
-
5src/scene/texture/procedural/Checkerboard2d.php
-
5src/scene/texture/procedural/Checkerboard3d.php
-
5src/scene/texture/procedural/Fbm.php
-
6src/scene/texture/procedural/Fresnelcolor.php
-
5src/scene/texture/procedural/Fresnelconst.php
-
5src/scene/texture/procedural/ImageMap.php
-
5src/scene/texture/procedural/Marble.php
-
5src/scene/texture/procedural/ObjectId.php
-
5src/scene/texture/procedural/ObjectIdColor.php
-
5src/scene/texture/procedural/ObjectIdNormalized.php
-
5src/scene/texture/procedural/Position.php
-
5src/scene/texture/procedural/Random.php
-
5src/scene/texture/procedural/ShadingNormal.php
-
5src/scene/texture/procedural/Wrinkled.php
-
5src/scene/texture/tint/BrightContrast.php
-
5src/scene/texture/tint/Hsv.php
-
5src/scene/texture/tint/Subtract.php
-
4src/scene/texture/transform/NormalMap.php
-
7src/scene/texture/value/ConstFloat_C.php
-
7src/scene/texture/value/ConstFloat_F.php
-
2src/scene/volumes/Clear.php
-
2src/scene/volumes/HeteroGeneous.php
-
2src/scene/volumes/HomoGeneous.php
-
7src/scene/volumes/VolumesBase.php
@ -0,0 +1,22 @@ |
|||
<?php |
|||
|
|||
namespace Blobt\Luxcore\scene\lights; |
|||
use Blobt\Luxcore\scene\Scene; |
|||
use Blobt\Luxcore\core\Base; |
|||
|
|||
class SphereImg extends Sphere |
|||
{ |
|||
|
|||
/** |
|||
* @param array $config 接收一个数组,可以初始化当前实例化对象的各种属性 |
|||
*/ |
|||
public function __construct($config = []) |
|||
{ |
|||
$this->type = self::TYPE_MAPSPHERE; |
|||
$this->id = Scene::createID(); |
|||
Base::__construct($config); |
|||
} |
|||
|
|||
} |
|||
|
|||
?>
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue