diff --git a/examples/PrintScene.php b/examples/PrintScene.php index 6ba4ef8..e0bf3d6 100644 --- a/examples/PrintScene.php +++ b/examples/PrintScene.php @@ -13,13 +13,13 @@ $scene = new Scene(); $obj = new objects\Objects( [ 'ply' => 'mesh-10086.ply','appliedtransformation' => '1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1' ] ); //创建一个的模型 -$cloudsMap = new texture\map\Clouds(); //创建一个 Clouds类的贴图对象 +$cloudsMap = new texture\procedural\Clouds(); //创建一个 Clouds类的贴图对象 $scene->registerTexture($cloudsMap); //将这个对象注册到 Scene -$imageMap = new texture\map\ImageMap(); //创建一个 ImageMap类的贴图对象 +$imageMap = new texture\procedural\ImageMap(); //创建一个 ImageMap类的贴图对象 $scene->registerTexture($imageMap); //将这个对象注册到 Scene -$blend = new texture\map\Blend(); //创建一个 Blend类的贴图对象 +$blend = new texture\procedural\Blend(); //创建一个 Blend类的贴图对象 $scene->registerTexture($blend); //将这个对象注册到 Scene