From e73c300286599b4d95595605e6348adce1f3b592 Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Mon, 14 Mar 2022 19:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9B=9B=E4=B8=AA=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E7=BA=B9=E7=90=86=E7=9A=84=E7=B1=BB=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/texture/procedural/BlenderNoise.php | 52 ++++++++ .../texture/procedural/BlenderStucci.php | 99 ++++++++++++++++ .../texture/procedural/BlenderVoronoi.php | 99 ++++++++++++++++ src/scene/texture/procedural/BlenderWood.php | 112 ++++++++++++++++++ 4 files changed, 362 insertions(+) create mode 100644 src/scene/texture/procedural/BlenderNoise.php create mode 100644 src/scene/texture/procedural/BlenderStucci.php create mode 100644 src/scene/texture/procedural/BlenderVoronoi.php create mode 100644 src/scene/texture/procedural/BlenderWood.php diff --git a/src/scene/texture/procedural/BlenderNoise.php b/src/scene/texture/procedural/BlenderNoise.php new file mode 100644 index 0000000..698aa74 --- /dev/null +++ b/src/scene/texture/procedural/BlenderNoise.php @@ -0,0 +1,52 @@ +mapping = $mapping; + else $this->mapping = new Mapping(); + $this->type = self::TYPE_BLENDER_NOISE; + $this->id = Scene::createID(); + Base::__construct($config); + } + +} + +?> diff --git a/src/scene/texture/procedural/BlenderStucci.php b/src/scene/texture/procedural/BlenderStucci.php new file mode 100644 index 0000000..05c9bc8 --- /dev/null +++ b/src/scene/texture/procedural/BlenderStucci.php @@ -0,0 +1,99 @@ +mapping = $mapping; + else $this->mapping = new Mapping(); + $this->type = self::TYPE_BLENDER_STUCCI; + $this->id = Scene::createID(); + Base::__construct($config); + } + +} + +?> diff --git a/src/scene/texture/procedural/BlenderVoronoi.php b/src/scene/texture/procedural/BlenderVoronoi.php new file mode 100644 index 0000000..86d9488 --- /dev/null +++ b/src/scene/texture/procedural/BlenderVoronoi.php @@ -0,0 +1,99 @@ +mapping = $mapping; + else $this->mapping = new Mapping(); + $this->type = self::TYPE_BLENDER_VORONOI; + $this->id = Scene::createID(); + Base::__construct($config); + } + +} + +?> diff --git a/src/scene/texture/procedural/BlenderWood.php b/src/scene/texture/procedural/BlenderWood.php new file mode 100644 index 0000000..103afc3 --- /dev/null +++ b/src/scene/texture/procedural/BlenderWood.php @@ -0,0 +1,112 @@ +mapping = $mapping; + else $this->mapping = new Mapping(); + $this->type = self::TYPE_BLENDER_WOOD; + $this->id = Scene::createID(); + Base::__construct($config); + } + +} + +?>