From 48708ccb26b7782b8e2adecdd089191784d335d2 Mon Sep 17 00:00:00 2001 From: shorei <160503699+gaotoast@users.noreply.github.com> Date: Tue, 24 Feb 2026 17:10:43 +0900 Subject: [PATCH] =?UTF-8?q?[refactor]=20=E6=9C=89=E5=8A=B9=E3=81=AA?= =?UTF-8?q?=E3=82=B7=E3=83=BC=E3=83=B3=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=82=92=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/valid/complex.rt | 15 +++++++++++++++ scenes/valid/{basic_cylinder.rt => cylinder.rt} | 0 scenes/valid/cylinders_row.rt | 7 +++++++ scenes/valid/{simple.rt => mixed.rt} | 0 scenes/valid/{basic_plane.rt => plane.rt} | 0 scenes/valid/shadow.rt | 5 +++++ scenes/valid/{basic_sphere.rt => sphere.rt} | 0 scenes/valid/{many_sphere.rt => spheres_row.rt} | 2 +- 8 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 scenes/valid/complex.rt rename scenes/valid/{basic_cylinder.rt => cylinder.rt} (100%) create mode 100644 scenes/valid/cylinders_row.rt rename scenes/valid/{simple.rt => mixed.rt} (100%) rename scenes/valid/{basic_plane.rt => plane.rt} (100%) create mode 100644 scenes/valid/shadow.rt rename scenes/valid/{basic_sphere.rt => sphere.rt} (100%) rename scenes/valid/{many_sphere.rt => spheres_row.rt} (91%) diff --git a/scenes/valid/complex.rt b/scenes/valid/complex.rt new file mode 100644 index 0000000..9a7bf48 --- /dev/null +++ b/scenes/valid/complex.rt @@ -0,0 +1,15 @@ +A 0.1 255,255,200 + +C 0,10,50 0,0,-1 80 +L 20,20,20 0.9 255,240,220 + +pl 0,0,0 0,1,0 200,200,200 +pl -30,0,0 1,0,0 150,180,200 + +sp -15,5,10 10 200,50,50 +sp 0,5,0 8 50,200,50 +sp 15,5,10 10 50,50,200 + +cy -15,0,-10 0,1,0 5 15 200,100,50 +cy 0,0,-10 0,1,0 5 15 100,200,50 +cy 15,0,-10 0,1,0 5 15 50,100,200 \ No newline at end of file diff --git a/scenes/valid/basic_cylinder.rt b/scenes/valid/cylinder.rt similarity index 100% rename from scenes/valid/basic_cylinder.rt rename to scenes/valid/cylinder.rt diff --git a/scenes/valid/cylinders_row.rt b/scenes/valid/cylinders_row.rt new file mode 100644 index 0000000..3ddc05f --- /dev/null +++ b/scenes/valid/cylinders_row.rt @@ -0,0 +1,7 @@ +A 0.2 255,255,255 +C 0,2,25 0,0,-1 60 +L -10,20,10 0.8 255,255,255 +pl 0,-3,0 0,1,0 120,120,120 +cy -6,0,0 0,1,0 3 10 200,80,80 +cy 0,0,0 0,1,0 3 10 80,200,80 +cy 6,0,0 0,1,0 3 10 80,80,200 diff --git a/scenes/valid/simple.rt b/scenes/valid/mixed.rt similarity index 100% rename from scenes/valid/simple.rt rename to scenes/valid/mixed.rt diff --git a/scenes/valid/basic_plane.rt b/scenes/valid/plane.rt similarity index 100% rename from scenes/valid/basic_plane.rt rename to scenes/valid/plane.rt diff --git a/scenes/valid/shadow.rt b/scenes/valid/shadow.rt new file mode 100644 index 0000000..6e144d9 --- /dev/null +++ b/scenes/valid/shadow.rt @@ -0,0 +1,5 @@ +A 0.05 255,255,255 +C 0,3,15 0,0,-1 60 +L -15,20,5 0.9 255,255,255 +pl 0,-2,0 0,1,0 180,180,180 +sp 0,0,0 4 200,100,100 diff --git a/scenes/valid/basic_sphere.rt b/scenes/valid/sphere.rt similarity index 100% rename from scenes/valid/basic_sphere.rt rename to scenes/valid/sphere.rt diff --git a/scenes/valid/many_sphere.rt b/scenes/valid/spheres_row.rt similarity index 91% rename from scenes/valid/many_sphere.rt rename to scenes/valid/spheres_row.rt index 6aa0b54..84bc4a2 100644 --- a/scenes/valid/many_sphere.rt +++ b/scenes/valid/spheres_row.rt @@ -1,4 +1,4 @@ -A 0.1 255,255,255 +A 0.2 255,255,255 C 0,1,0 0,0,1 45 L -5,5,-5 0.5 255,255,255 pl 0,-1,0 0,1,0 176,176,176