From bb918eb9d547d0aee91d971114559013592ba8d1 Mon Sep 17 00:00:00 2001 From: Steve Hollasch Date: Fri, 15 Nov 2024 16:35:39 -0600 Subject: [PATCH] Move ray4-c/ + craig/ into ray4 directory --- ray4-c/inputs.r4/HS1.R4 | 143 ----------- ray4-c/inputs.r4/HS2.R4 | 143 ----------- ray4-c/inputs.r4/HS3.R4 | 143 ----------- ray4-c/inputs.r4/HS4.R4 | 143 ----------- ray4-c/inputs.r4/HS5.R4 | 143 ----------- ray4-c/inputs.r4/HS6.R4 | 144 ----------- ray4-c/inputs.r4/HS7.R4 | 177 ------------- ray4-c/inputs.r4/HT1.R4 | 182 -------------- ray4-c/inputs.r4/HT2.R4 | 235 ------------------ ray4-c/inputs.r4/HT3.R4 | 235 ------------------ ray4-c/inputs.r4/blank.r4 | 13 - ray4-c/inputs.r4/dots.r4 | 192 -------------- ray4-c/inputs.r4/dots3.r4 | 193 -------------- ray4-c/inputs.r4/dots4.r4 | 193 -------------- ray4-c/inputs.r4/dots_axes.r4 | 105 -------- ray4-c/inputs.r4/format.r4 | 76 ------ ray4-c/inputs.r4/hyper.r4 | 130 ---------- ray4-c/inputs.r4/scube.r4 | 177 ------------- ray4-c/inputs.r4/sphere.r4 | 45 ---- ray4-c/inputs.r4/tcube.r4 | 235 ------------------ ray4-c/inputs.r4/wdots.r4 | 46 ---- {craig => ray4/craig}/README.md | 0 {craig => ray4/craig}/convert | 0 {craig => ray4/craig}/craig.sh | 0 {craig => ray4/craig}/display | 0 {craig => ray4/craig}/mtvtorast | 0 {craig => ray4/craig}/r4tomtv.c | 0 {craig => ray4/craig}/run | 0 {craig => ray4/craig}/run2 | 0 {ray4-c => ray4/ray4-c}/CHANGELOG.md | 0 {ray4-c => ray4/ray4-c}/CMakeLists.txt | 0 {ray4-c => ray4/ray4-c}/README.md | 0 {ray4-c => ray4/ray4-c}/ray4.md | 0 {ray4-c => ray4/ray4-c}/results/dots.2.icube | Bin {ray4-c => ray4/ray4-c}/results/dots.icube | Bin .../ray4-c}/results/dots_axes.0.icube | Bin {ray4-c => ray4/ray4-c}/results/ht1.icube | Bin {ray4-c => ray4/ray4-c}/results/ht2.icube | Bin {ray4-c => ray4/ray4-c}/results/ht3.icube | Bin {ray4-c => ray4/ray4-c}/src/amiga.h | 0 {ray4-c => ray4/ray4-c}/src/lmkfile | 0 {ray4-c => ray4/ray4-c}/src/make.nt | 0 {ray4-c => ray4/ray4-c}/src/makefile | 0 {ray4-c => ray4/ray4-c}/src/makefile-amiga | 0 {ray4-c => ray4/ray4-c}/src/r4_hit.c | 0 {ray4-c => ray4/ray4-c}/src/r4_image.h | 0 {ray4-c => ray4/ray4-c}/src/r4_io.c | 0 {ray4-c => ray4/ray4-c}/src/r4_main.c | 0 {ray4-c => ray4/ray4-c}/src/r4_parse.c | 0 {ray4-c => ray4/ray4-c}/src/r4_trace.c | 0 {ray4-c => ray4/ray4-c}/src/r4_vec.c | 0 {ray4-c => ray4/ray4-c}/src/r4_vector.h | 0 {ray4-c => ray4/ray4-c}/src/r4toiff.c | 0 {ray4-c => ray4/ray4-c}/src/r4tosgi.c | 0 {ray4-c => ray4/ray4-c}/src/ray4.h | 0 {ray4-c => ray4/ray4-c}/src/v4cross.c | 0 {ray4-c => ray4/ray4-c}/src/v4normalize.c | 0 {ray4-c => ray4/ray4-c}/src/write_ilbm.c | 0 58 files changed, 3093 deletions(-) delete mode 100644 ray4-c/inputs.r4/HS1.R4 delete mode 100644 ray4-c/inputs.r4/HS2.R4 delete mode 100644 ray4-c/inputs.r4/HS3.R4 delete mode 100644 ray4-c/inputs.r4/HS4.R4 delete mode 100644 ray4-c/inputs.r4/HS5.R4 delete mode 100644 ray4-c/inputs.r4/HS6.R4 delete mode 100644 ray4-c/inputs.r4/HS7.R4 delete mode 100644 ray4-c/inputs.r4/HT1.R4 delete mode 100644 ray4-c/inputs.r4/HT2.R4 delete mode 100644 ray4-c/inputs.r4/HT3.R4 delete mode 100644 ray4-c/inputs.r4/blank.r4 delete mode 100644 ray4-c/inputs.r4/dots.r4 delete mode 100644 ray4-c/inputs.r4/dots3.r4 delete mode 100644 ray4-c/inputs.r4/dots4.r4 delete mode 100644 ray4-c/inputs.r4/dots_axes.r4 delete mode 100644 ray4-c/inputs.r4/format.r4 delete mode 100644 ray4-c/inputs.r4/hyper.r4 delete mode 100644 ray4-c/inputs.r4/scube.r4 delete mode 100644 ray4-c/inputs.r4/sphere.r4 delete mode 100644 ray4-c/inputs.r4/tcube.r4 delete mode 100644 ray4-c/inputs.r4/wdots.r4 rename {craig => ray4/craig}/README.md (100%) rename {craig => ray4/craig}/convert (100%) rename {craig => ray4/craig}/craig.sh (100%) rename {craig => ray4/craig}/display (100%) rename {craig => ray4/craig}/mtvtorast (100%) rename {craig => ray4/craig}/r4tomtv.c (100%) rename {craig => ray4/craig}/run (100%) rename {craig => ray4/craig}/run2 (100%) rename {ray4-c => ray4/ray4-c}/CHANGELOG.md (100%) rename {ray4-c => ray4/ray4-c}/CMakeLists.txt (100%) rename {ray4-c => ray4/ray4-c}/README.md (100%) rename {ray4-c => ray4/ray4-c}/ray4.md (100%) rename {ray4-c => ray4/ray4-c}/results/dots.2.icube (100%) rename {ray4-c => ray4/ray4-c}/results/dots.icube (100%) rename {ray4-c => ray4/ray4-c}/results/dots_axes.0.icube (100%) rename {ray4-c => ray4/ray4-c}/results/ht1.icube (100%) rename {ray4-c => ray4/ray4-c}/results/ht2.icube (100%) rename {ray4-c => ray4/ray4-c}/results/ht3.icube (100%) rename {ray4-c => ray4/ray4-c}/src/amiga.h (100%) rename {ray4-c => ray4/ray4-c}/src/lmkfile (100%) rename {ray4-c => ray4/ray4-c}/src/make.nt (100%) rename {ray4-c => ray4/ray4-c}/src/makefile (100%) rename {ray4-c => ray4/ray4-c}/src/makefile-amiga (100%) rename {ray4-c => ray4/ray4-c}/src/r4_hit.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_image.h (100%) rename {ray4-c => ray4/ray4-c}/src/r4_io.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_main.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_parse.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_trace.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_vec.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4_vector.h (100%) rename {ray4-c => ray4/ray4-c}/src/r4toiff.c (100%) rename {ray4-c => ray4/ray4-c}/src/r4tosgi.c (100%) rename {ray4-c => ray4/ray4-c}/src/ray4.h (100%) rename {ray4-c => ray4/ray4-c}/src/v4cross.c (100%) rename {ray4-c => ray4/ray4-c}/src/v4normalize.c (100%) rename {ray4-c => ray4/ray4-c}/src/write_ilbm.c (100%) diff --git a/ray4-c/inputs.r4/HS1.R4 b/ray4-c/inputs.r4/HS1.R4 deleted file mode 100644 index ce1e5ea..0000000 --- a/ray4-c/inputs.r4/HS1.R4 +++ /dev/null @@ -1,143 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. - -Ambient .000 .000 .000 > Global Ambient Light -Background .250 .050 .170 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 4.3, 0.0, 0.0, 0.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 0.0, 0.0, 0.0, 1.0 - Angle 60.0 -) - -Light -( direction 0 -1 0 0 - color [.7 .7 .7] -) - -Light -( position 0 0 0 0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.40 .00 .00] - diffuse [.40 .00 .00]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.40 .00 .60] - diffuse [.40 .00 .60]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .60] - diffuse [.00 .00 .60]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .40 .00] - diffuse [.00 .40 .00]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .00] - diffuse [.40 .40 .00]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .60] - diffuse [.40 .40 .60]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.20 .70 .00] - diffuse [.20 .70 .00]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .90] - diffuse [.10 .00 .90]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.30 .20 .20] - diffuse [.30 .20 .20]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.70 .00 .00] - diffuse [.70 .00 .00]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .50] - diffuse [.10 .00 .50]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .60 .40] - diffuse [.00 .60 .40]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .10] - diffuse [.10 .10 .10]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .90 .00] - diffuse [.00 .90 .00]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .50 .90] - diffuse [.10 .50 .90]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.80 .00 .80] - diffuse [.80 .00 .80]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS2.R4 b/ray4-c/inputs.r4/HS2.R4 deleted file mode 100644 index e1d4c80..0000000 --- a/ray4-c/inputs.r4/HS2.R4 +++ /dev/null @@ -1,143 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. - -Ambient .000 .000 .000 > Global Ambient Light -Background .250 .050 .170 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 5.0, 0.0, 0.0, 0.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 0.0, 0.0, 0.0, 1.0 - Angle 60.0 -) - -Light -( direction 0 -1 0 0 - color [.7 .7 .7] -) - -Light -( position 0 0 0 0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.40 .00 .00] - diffuse [.40 .00 .00]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.40 .00 .60] - diffuse [.40 .00 .60]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .60] - diffuse [.00 .00 .60]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .40 .00] - diffuse [.00 .40 .00]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .00] - diffuse [.40 .40 .00]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .60] - diffuse [.40 .40 .60]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.20 .70 .00] - diffuse [.20 .70 .00]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .90] - diffuse [.10 .00 .90]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.30 .20 .20] - diffuse [.30 .20 .20]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.70 .00 .00] - diffuse [.70 .00 .00]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .50] - diffuse [.10 .00 .50]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .60 .40] - diffuse [.00 .60 .40]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .10] - diffuse [.10 .10 .10]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .90 .00] - diffuse [.00 .90 .00]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .50 .90] - diffuse [.10 .50 .90]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.80 .00 .80] - diffuse [.80 .00 .80]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS3.R4 b/ray4-c/inputs.r4/HS3.R4 deleted file mode 100644 index 24c7df7..0000000 --- a/ray4-c/inputs.r4/HS3.R4 +++ /dev/null @@ -1,143 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. - -Ambient .100 .100 .100 > Global Ambient Light -Background .250 .050 .170 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 4.0, 1.0, 2.0, 0.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 0.0, 0.0, 0.0, 1.0 - Angle 60.0 -) - -Light -( direction -2 0 -1 0 - color [.7 .7 .7] -) - -Light -( position 0 0 0 0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.40 .00 .00] - diffuse [.40 .00 .00]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.40 .00 .60] - diffuse [.40 .00 .60]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .60] - diffuse [.00 .00 .60]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .40 .00] - diffuse [.00 .40 .00]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .00] - diffuse [.40 .40 .00]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .60] - diffuse [.40 .40 .60]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.20 .70 .00] - diffuse [.20 .70 .00]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .90] - diffuse [.10 .00 .90]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.30 .20 .20] - diffuse [.30 .20 .20]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.70 .00 .00] - diffuse [.70 .00 .00]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .50] - diffuse [.10 .00 .50]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .60 .40] - diffuse [.00 .60 .40]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .10] - diffuse [.10 .10 .10]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .90 .00] - diffuse [.00 .90 .00]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .50 .90] - diffuse [.10 .50 .90]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.80 .00 .80] - diffuse [.80 .00 .80]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS4.R4 b/ray4-c/inputs.r4/HS4.R4 deleted file mode 100644 index c28bf42..0000000 --- a/ray4-c/inputs.r4/HS4.R4 +++ /dev/null @@ -1,143 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. - -Ambient .100 .100 .100 > Global Ambient Light -Background .250 .050 .170 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 4.6, 0.0, 0.0, 0.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 0.0, 0.0, 0.0, 1.0 - Angle 60.0 -) - -Light -( direction 2 0 1 0 - color [.7 .7 .7] -) - -Light -( position 0 0 0 0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.40 .00 .00] - diffuse [.40 .00 .00]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.40 .00 .60] - diffuse [.40 .00 .60]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .60] - diffuse [.00 .00 .60]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .40 .00] - diffuse [.00 .40 .00]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .00] - diffuse [.40 .40 .00]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.40 .40 .60] - diffuse [.40 .40 .60]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.20 .70 .00] - diffuse [.20 .70 .00]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .90] - diffuse [.10 .00 .90]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.30 .20 .20] - diffuse [.30 .20 .20]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.70 .00 .00] - diffuse [.70 .00 .00]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .00 .50] - diffuse [.10 .00 .50]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .60 .40] - diffuse [.00 .60 .40]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .10] - diffuse [.10 .10 .10]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .90 .00] - diffuse [.00 .90 .00]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .50 .90] - diffuse [.10 .50 .90]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.80 .00 .80] - diffuse [.80 .00 .80]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS5.R4 b/ray4-c/inputs.r4/HS5.R4 deleted file mode 100644 index ddb9a76..0000000 --- a/ray4-c/inputs.r4/HS5.R4 +++ /dev/null @@ -1,143 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. - -Ambient 1.00 1.00 1.00 > Global Ambient Light -Background .250 .050 .170 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 80.0 -) - -Light -( direction 2 0 1 0 - color [.7 .7 .7] -) - -Light -( position 0 0 0 0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.99 .00 .00] - diffuse [.99 .00 .00]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.00 .00 .99] - diffuse [.00 .00 .99]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .99 .00] - diffuse [.00 .99 .00]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.99 .99 .99] - diffuse [.99 .99 .99]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.99 .00 .00] - diffuse [.99 .00 .00]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .99] - diffuse [.00 .00 .99]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .99 .00] - diffuse [.00 .99 .00]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.99 .99 .99] - diffuse [.99 .99 .99]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.99 .00 .00] - diffuse [.99 .00 .00]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .99] - diffuse [.00 .00 .99]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .99 .00] - diffuse [.00 .99 .00]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.99 .99 .99] - diffuse [.99 .99 .99]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.99 .00 .00] - diffuse [.99 .00 .00]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.00 .00 .99] - diffuse [.00 .00 .99]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.00 .99 .00] - diffuse [.00 .99 .00]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.99 .99 .99] - diffuse [.99 .99 .99]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS6.R4 b/ray4-c/inputs.r4/HS6.R4 deleted file mode 100644 index 7d27a67..0000000 --- a/ray4-c/inputs.r4/HS6.R4 +++ /dev/null @@ -1,144 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. -> -a32:32:33 -r25:23:20 - -Ambient .20 .20 .20 > Global Ambient Light -Background .25 .05 .17 > Define the Background Color -MaxDepth 2 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 80.0 -) - -Light -( direction 2.0 0.0 1.0 0.0 - color [.7 .7 .7] -) - -Light -( position 0.0 0.0 0.0 0.0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] -) - -Sphere -( - attributes (ambient [.70 .10 .10] - diffuse [.70 .10 .10]) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes (ambient [.10 .10 .80] - diffuse [.10 .10 .80]) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .70 .10] - diffuse [.10 .70 .10]) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.60 .60 .60] - diffuse [.60 .60 .60]) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.70 .10 .10] - diffuse [.70 .10 .10]) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .80] - diffuse [.10 .10 .80]) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .70 .10] - diffuse [.10 .70 .10]) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.60 .60 .60] - diffuse [.60 .60 .60]) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.70 .10 .10] - diffuse [.70 .10 .10]) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .80] - diffuse [.10 .10 .80]) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .70 .10] - diffuse [.10 .70 .10]) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.60 .60 .60] - diffuse [.60 .60 .60]) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes (ambient [.70 .10 .10] - diffuse [.70 .10 .10]) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes (ambient [.10 .10 .80] - diffuse [.10 .10 .80]) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes (ambient [.10 .70 .10] - diffuse [.10 .70 .10]) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes (ambient [.60 .60 .60] - diffuse [.60 .60 .60]) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/HS7.R4 b/ray4-c/inputs.r4/HS7.R4 deleted file mode 100644 index ef63f32..0000000 --- a/ray4-c/inputs.r4/HS7.R4 +++ /dev/null @@ -1,177 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. -> -a4:4:33 -r200:190:20 - -Ambient 1.0 1.0 1.0 > Global Ambient Light -Background .25 .05 .17 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 80.0 -) - -Light -( direction 2.0 0.0 1.0 0.0 - color [.7 .7 .7] -) - -Light -( position 0.0 0.0 0.0 0.0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] - diffuse [.000 .000 .000] -) - -Sphere -( - attributes ( - ambient [.70 .10 .10] -> diffuse [.70 .10 .10] - ) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - ->Sphere ->( -> attributes ( -> ambient [.10 .10 .80] -> diffuse [.10 .10 .80] -> ) -> center { 1.25 1.25 1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.10 .70 .10] -> diffuse [.10 .70 .10] - ) - center { 1.25 1.25 -1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.60 .60 .60] -> diffuse [.60 .60 .60] -> ) -> center { 1.25 1.25 -1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.70 .10 .10] -> diffuse [.70 .10 .10] - ) - center { 1.25 -1.25 1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.10 .10 .80] -> diffuse [.10 .10 .80] -> ) -> center { 1.25 -1.25 1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.10 .70 .10] -> diffuse [.10 .70 .10] - ) - center { 1.25 -1.25 -1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.60 .60 .60] -> diffuse [.60 .60 .60] -> ) -> center { 1.25 -1.25 -1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.70 .10 .10] -> diffuse [.70 .10 .10] - ) - center {-1.25 1.25 1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.10 .10 .80] -> diffuse [.10 .10 .80] -> ) -> center {-1.25 1.25 1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.10 .70 .10] -> diffuse [.10 .70 .10] - ) - center {-1.25 1.25 -1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.60 .60 .60] -> diffuse [.60 .60 .60] -> ) -> center {-1.25 1.25 -1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.70 .10 .10] -> diffuse [.70 .10 .10] - ) - center {-1.25 -1.25 1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.10 .10 .80] -> diffuse [.10 .10 .80] -> ) -> center {-1.25 -1.25 1.25 -1.25} ->) - -Sphere -( - attributes ( - ambient [.10 .70 .10] -> diffuse [.10 .70 .10] - ) - center {-1.25 -1.25 -1.25 1.25} -) - ->Sphere ->( -> attributes ( -> ambient [.60 .60 .60] -> diffuse [.60 .60 .60] -> ) -> center {-1.25 -1.25 -1.25 -1.25} ->) diff --git a/ray4-c/inputs.r4/HT1.R4 b/ray4-c/inputs.r4/HT1.R4 deleted file mode 100644 index d67bd86..0000000 --- a/ray4-c/inputs.r4/HT1.R4 +++ /dev/null @@ -1,182 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. -> -a4:4:33 -r200:190:20 - -Ambient 1.0 1.0 1.0 > Global Ambient Light -Background .15 .25 .57 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 1.5, 1.5, 1.5, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 55.0 -) - -Attributes GenericTet -( diffuse [.000 .000 .000] - specular [.000 .000 .000] - transpar [.000 .000 .000] - shine 10.0 - reflect 1 -) - -Tetrahedron -( - attributes ( ambient [.70 .10 .10] ) - vertices - 0.25 1.25 1.25 1.25 - 1.25 0.25 1.25 1.25 - 1.25 1.25 0.25 1.25 - 1.25 1.25 1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .10 .80] ) - vertices - 0.25 1.25 1.25 -1.25 - 1.25 0.25 1.25 -1.25 - 1.25 1.25 0.25 -1.25 - 1.25 1.25 1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .70 .10] ) - vertices - 0.25 1.25 -1.25 1.25 - 1.25 0.25 -1.25 1.25 - 1.25 1.25 -0.25 1.25 - 1.25 1.25 -1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.60 .60 .60] ) - vertices - 0.25 1.25 -1.25 -1.25 - 1.25 0.25 -1.25 -1.25 - 1.25 1.25 -0.25 -1.25 - 1.25 1.25 -1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.70 .10 .10] ) - vertices - 0.25 -1.25 1.25 1.25 - 1.25 -0.25 1.25 1.25 - 1.25 -1.25 0.25 1.25 - 1.25 -1.25 1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .10 .80] ) - vertices - 0.25 -1.25 1.25 -1.25 - 1.25 -0.25 1.25 -1.25 - 1.25 -1.25 0.25 -1.25 - 1.25 -1.25 1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .70 .10] ) - vertices - 0.25 -1.25 -1.25 1.25 - 1.25 -0.25 -1.25 1.25 - 1.25 -1.25 -0.25 1.25 - 1.25 -1.25 -1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.60 .60 .60] ) - vertices - 0.25 -1.25 -1.25 -1.25 - 1.25 -0.25 -1.25 -1.25 - 1.25 -1.25 -0.25 -1.25 - 1.25 -1.25 -1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.70 .10 .10] ) - vertices - -0.25 1.25 1.25 1.25 - -1.25 0.25 1.25 1.25 - -1.25 1.25 0.25 1.25 - -1.25 1.25 1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .10 .80] ) - vertices - -0.25 1.25 1.25 -1.25 - -1.25 0.25 1.25 -1.25 - -1.25 1.25 0.25 -1.25 - -1.25 1.25 1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .70 .10] ) - vertices - -0.25 1.25 -1.25 1.25 - -1.25 0.25 -1.25 1.25 - -1.25 1.25 -0.25 1.25 - -1.25 1.25 -1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.60 .60 .60] ) - vertices - -0.25 1.25 -1.25 -1.25 - -1.25 0.25 -1.25 -1.25 - -1.25 1.25 -0.25 -1.25 - -1.25 1.25 -1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.70 .10 .10] ) - vertices - -0.25 -1.25 1.25 1.25 - -1.25 -0.25 1.25 1.25 - -1.25 -1.25 0.25 1.25 - -1.25 -1.25 1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .10 .80] ) - vertices - -0.25 -1.25 1.25 -1.25 - -1.25 -0.25 1.25 -1.25 - -1.25 -1.25 0.25 -1.25 - -1.25 -1.25 1.25 -0.25 -) - -Tetrahedron -( - attributes ( ambient [.10 .70 .10] ) - vertices - -0.25 -1.25 -1.25 1.25 - -1.25 -0.25 -1.25 1.25 - -1.25 -1.25 -0.25 1.25 - -1.25 -1.25 -1.25 0.25 -) - -Tetrahedron -( - attributes ( ambient [.60 .60 .60] ) - vertices - -0.25 -1.25 -1.25 -1.25 - -1.25 -0.25 -1.25 -1.25 - -1.25 -1.25 -0.25 -1.25 - -1.25 -1.25 -1.25 -0.25 -) diff --git a/ray4-c/inputs.r4/HT2.R4 b/ray4-c/inputs.r4/HT2.R4 deleted file mode 100644 index 7db1553..0000000 --- a/ray4-c/inputs.r4/HT2.R4 +++ /dev/null @@ -1,235 +0,0 @@ -> Sixteen 4-tetrahedrons placed at the vertices of a 4-cube. -> -a4:4:27 -r200:190:20 - -Ambient .35 .35 .35 > Global Ambient Light -Background .15 .25 .57 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 1.5, 1.5, 1.5, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 55.0 -) - -Light -( direction 1.0 1.2 0.8 1.2 - color .90 .90 .90 -) - -Attributes GenericTet -( diffuse [.000 .000 .000] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 0 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.15 1.25 1.25 1.25 - 1.25 0.15 1.25 1.25 - 1.25 1.25 0.15 1.25 - 1.25 1.25 1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - vertices - 0.15 1.25 1.25 -1.25 - 1.25 0.15 1.25 -1.25 - 1.25 1.25 0.15 -1.25 - 1.25 1.25 1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.15 1.25 -1.25 1.25 - 1.25 0.15 -1.25 1.25 - 1.25 1.25 -0.15 1.25 - 1.25 1.25 -1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.15 1.25 -1.25 -1.25 - 1.25 0.15 -1.25 -1.25 - 1.25 1.25 -0.15 -1.25 - 1.25 1.25 -1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.15 -1.25 1.25 1.25 - 1.25 -0.15 1.25 1.25 - 1.25 -1.25 0.15 1.25 - 1.25 -1.25 1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - vertices - 0.15 -1.25 1.25 -1.25 - 1.25 -0.15 1.25 -1.25 - 1.25 -1.25 0.15 -1.25 - 1.25 -1.25 1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.15 -1.25 -1.25 1.25 - 1.25 -0.15 -1.25 1.25 - 1.25 -1.25 -0.15 1.25 - 1.25 -1.25 -1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.15 -1.25 -1.25 -1.25 - 1.25 -0.15 -1.25 -1.25 - 1.25 -1.25 -0.15 -1.25 - 1.25 -1.25 -1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.15 1.25 1.25 1.25 - -1.25 0.15 1.25 1.25 - -1.25 1.25 0.15 1.25 - -1.25 1.25 1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - vertices - -0.15 1.25 1.25 -1.25 - -1.25 0.15 1.25 -1.25 - -1.25 1.25 0.15 -1.25 - -1.25 1.25 1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.15 1.25 -1.25 1.25 - -1.25 0.15 -1.25 1.25 - -1.25 1.25 -0.15 1.25 - -1.25 1.25 -1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.15 1.25 -1.25 -1.25 - -1.25 0.15 -1.25 -1.25 - -1.25 1.25 -0.15 -1.25 - -1.25 1.25 -1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.15 -1.25 1.25 1.25 - -1.25 -0.15 1.25 1.25 - -1.25 -1.25 0.15 1.25 - -1.25 -1.25 1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - vertices - -0.15 -1.25 1.25 -1.25 - -1.25 -0.15 1.25 -1.25 - -1.25 -1.25 0.15 -1.25 - -1.25 -1.25 1.25 -0.15 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.15 -1.25 -1.25 1.25 - -1.25 -0.15 -1.25 1.25 - -1.25 -1.25 -0.15 1.25 - -1.25 -1.25 -1.25 0.15 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.15 -1.25 -1.25 -1.25 - -1.25 -0.15 -1.25 -1.25 - -1.25 -1.25 -0.15 -1.25 - -1.25 -1.25 -1.25 -0.15 -) diff --git a/ray4-c/inputs.r4/HT3.R4 b/ray4-c/inputs.r4/HT3.R4 deleted file mode 100644 index 1e4fc50..0000000 --- a/ray4-c/inputs.r4/HT3.R4 +++ /dev/null @@ -1,235 +0,0 @@ -> Sixteen 4-tetrahedrons placed at the vertices of a 4-cube. -> -a4:4:27 -r200:190:20 - -Ambient .35 .35 .35 > Global Ambient Light -Background .25 .35 .67 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 1.5, 1.5, 1.5, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 55.0 -) - -Light -( direction 1.0 1.2 0.5 1.5 - color .90 .90 .90 -) - -Attributes GenericTet -( diffuse [.000 .000 .000] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 0 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.10 1.25 1.25 1.25 - 1.25 0.10 1.25 1.25 - 1.25 1.25 0.10 1.25 - 1.25 1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - 0.10 1.25 1.25 -1.25 - 1.25 0.10 1.25 -1.25 - 1.25 1.25 0.10 -1.25 - 1.25 1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.10 1.25 -1.25 1.25 - 1.25 0.10 -1.25 1.25 - 1.25 1.25 -0.10 1.25 - 1.25 1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.10 1.25 -1.25 -1.25 - 1.25 0.10 -1.25 -1.25 - 1.25 1.25 -0.10 -1.25 - 1.25 1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.10 -1.25 1.25 1.25 - 1.25 -0.10 1.25 1.25 - 1.25 -1.25 0.10 1.25 - 1.25 -1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - 0.10 -1.25 1.25 -1.25 - 1.25 -0.10 1.25 -1.25 - 1.25 -1.25 0.10 -1.25 - 1.25 -1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.10 -1.25 -1.25 1.25 - 1.25 -0.10 -1.25 1.25 - 1.25 -1.25 -0.10 1.25 - 1.25 -1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.10 -1.25 -1.25 -1.25 - 1.25 -0.10 -1.25 -1.25 - 1.25 -1.25 -0.10 -1.25 - 1.25 -1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.10 1.25 1.25 1.25 - -1.25 0.10 1.25 1.25 - -1.25 1.25 0.10 1.25 - -1.25 1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - -0.10 1.25 1.25 -1.25 - -1.25 0.10 1.25 -1.25 - -1.25 1.25 0.10 -1.25 - -1.25 1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.10 1.25 -1.25 1.25 - -1.25 0.10 -1.25 1.25 - -1.25 1.25 -0.10 1.25 - -1.25 1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.10 1.25 -1.25 -1.25 - -1.25 0.10 -1.25 -1.25 - -1.25 1.25 -0.10 -1.25 - -1.25 1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.10 -1.25 1.25 1.25 - -1.25 -0.10 1.25 1.25 - -1.25 -1.25 0.10 1.25 - -1.25 -1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - -0.10 -1.25 1.25 -1.25 - -1.25 -0.10 1.25 -1.25 - -1.25 -1.25 0.10 -1.25 - -1.25 -1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.10 -1.25 -1.25 1.25 - -1.25 -0.10 -1.25 1.25 - -1.25 -1.25 -0.10 1.25 - -1.25 -1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.10 -1.25 -1.25 -1.25 - -1.25 -0.10 -1.25 -1.25 - -1.25 -1.25 -0.10 -1.25 - -1.25 -1.25 -1.25 -0.10 -) diff --git a/ray4-c/inputs.r4/blank.r4 b/ray4-c/inputs.r4/blank.r4 deleted file mode 100644 index 4f9739a..0000000 --- a/ray4-c/inputs.r4/blank.r4 +++ /dev/null @@ -1,13 +0,0 @@ -> Blank space; used for testing and setting tiling sizes. - -Ambient 0.0 0.0 0.0 > Global Ambient Light -Background .75 .55 .25 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 1.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 40.0 -) diff --git a/ray4-c/inputs.r4/dots.r4 b/ray4-c/inputs.r4/dots.r4 deleted file mode 100644 index f99c604..0000000 --- a/ray4-c/inputs.r4/dots.r4 +++ /dev/null @@ -1,192 +0,0 @@ -> This file contains a bunch of spheres in the cube with vertices of +-1. - -Ambient .350 .350 .350 > Global Ambient Light -Background .150 .220 .270 > Define the Background Color -MaxDepth 8 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 1 1 1 1 color [.900 .900 .900]) -Light (position -1 -1 -1 1) -Light (position 1 1 -1 -1) -Light (position -1 -1 1 -1) - -Attributes A1 -( ambient [.100 .100 .100] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 1 -) - -Sphere -( radius 0.40 - center 0.0000 0.0000 0.0000 0.0000 - attributes A1 -) - -Sphere -( center -.3502 -.6900 -.9378 -.9680 - Attributes - ( ambient [.064 .117 .304] - diffuse [.064 .117 .304] - ) -) - -Sphere -( center -.9136 -.3112 -.8940 .5432 - Attributes - ( ambient [.527 .192 .952] - diffuse [.527 .192 .952] - ) -) - -Sphere -( center -.2578 -.2334 .6294 -.3294 - Attributes - ( ambient [.706 .127 .262] - diffuse [.706 .127 .262] - ) -) - -Sphere -( center -.9476 -.7363 .2793 .3814 - Attributes - ( ambient [.397 .962 .814] - diffuse [.397 .962 .814] - ) -) - -Sphere -( center -.9818 .8178 -.3705 -.6300 - Attributes - ( ambient [.935 .999 .368] - diffuse [.935 .999 .368] - ) -) - -Sphere -( center -.5219 .3724 -.1051 .3870 - Attributes - ( ambient [.690 .963 .334] - diffuse [.690 .963 .334] - ) -) - -Sphere -( center -.4961 .1821 .5073 -.1004 - Attributes - ( ambient [.823 .303 .356] - diffuse [.823 .303 .356] - ) -) - -Sphere -( center -.8804 .6794 .6555 .0399 - Attributes - ( ambient [.156 .617 .479] - diffuse [.156 .617 .479] - ) -) - -Sphere -( center .6617 -.5037 -.1474 -.6024 - Attributes - ( ambient [.752 .927 .757] - diffuse [.752 .927 .757] - ) -) - -Sphere -( center .0828 -.8822 -.3367 .2670 - Attributes - ( ambient [.719 .094 .802] - diffuse [.719 .094 .802] - ) -) - -Sphere -( center .2798 -.2926 .3967 -.2316 - Attributes - ( ambient [.473 .719 .203] - diffuse [.473 .719 .203] - ) -) - -Sphere -( center .8529 -.0650 .3672 .8982 - Attributes - ( ambient [.996 .267 .017] - diffuse [.996 .267 .017] - ) -) - -Sphere -( center .5981 .9906 -.3554 -.9019 - Attributes - ( ambient [.825 .095 .157] - diffuse [.825 .095 .157] - ) -) - -Sphere -( center .4011 .9075 -.0986 .3428 - Attributes - ( ambient [.543 .295 .602] - diffuse [.543 .295 .602] - ) -) - -Sphere -( center .1890 .0876 .6143 -.9918 - Attributes - ( ambient [.326 .574 .052] - diffuse [.326 .574 .052] - ) -) - -Sphere -( center .4777 .7644 .0754 .3006 - Attributes - ( ambient [.815 .032 .351] - diffuse [.815 .032 .351] - ) -) - -Sphere -( center -.4378 -.7287 .5745 .9133 - Attributes - ( ambient [.978 .154 .625] - diffuse [.978 .154 .625] - ) -) - -Sphere -( center .0740 -.1890 .9983 .7700 - Attributes - ( ambient [.769 .986 .430] - diffuse [.769 .986 .430] - ) -) - -Sphere -( center .2578 -.7460 -.9480 .9586 - Attributes - ( ambient [.768 .980 .041] - diffuse [.768 .980 .041] - ) -) - -Sphere -( center -.6619 .4366 -.9342 .9139 - Attributes - ( ambient [.167 .907 .117] - diffuse [.167 .907 .117] - ) -) diff --git a/ray4-c/inputs.r4/dots3.r4 b/ray4-c/inputs.r4/dots3.r4 deleted file mode 100644 index 3d5f737..0000000 --- a/ray4-c/inputs.r4/dots3.r4 +++ /dev/null @@ -1,193 +0,0 @@ -> This file contains a bunch of spheres in the cube with vertices of +-1. - -Ambient .350 .350 .350 > Global Ambient Light -Background .150 .220 .270 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 1 1 1 1 color [.900 .900 .900]) -Light (position -1 -1 -1 1) -Light (position 1 1 -1 -1) -Light (position -1 -1 1 -1) - -Attributes A1 -( ambient [.100 .100 .100] - diffuse [.000 .000 .000] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 1 -) - -Sphere -( radius 0.40 - center 0.0000 0.0000 0.0000 0.0000 - attributes A1 -) - -Sphere -( center -.3502 -.6900 -.9378 -.9680 - Attributes - ( ambient [.064 .117 .304] - >diffuse [.064 .117 .304] - ) -) - -Sphere -( center -.9136 -.3112 -.8940 .5432 - Attributes - ( ambient [.527 .192 .952] - >diffuse [.527 .192 .952] - ) -) - -Sphere -( center -.2578 -.2334 .6294 -.3294 - Attributes - ( ambient [.706 .127 .262] - >diffuse [.706 .127 .262] - ) -) - -Sphere -( center -.9476 -.7363 .2793 .3814 - Attributes - ( ambient [.397 .962 .814] - >diffuse [.397 .962 .814] - ) -) - -Sphere -( center -.9818 .8178 -.3705 -.6300 - Attributes - ( ambient [.935 .999 .368] - >diffuse [.935 .999 .368] - ) -) - -Sphere -( center -.5219 .3724 -.1051 .3870 - Attributes - ( ambient [.690 .963 .334] - >diffuse [.690 .963 .334] - ) -) - -Sphere -( center -.4961 .1821 .5073 -.1004 - Attributes - ( ambient [.823 .303 .356] - >diffuse [.823 .303 .356] - ) -) - -Sphere -( center -.8804 .6794 .6555 .0399 - Attributes - ( ambient [.156 .617 .479] - >diffuse [.156 .617 .479] - ) -) - -Sphere -( center .6617 -.5037 -.1474 -.6024 - Attributes - ( ambient [.752 .927 .757] - >diffuse [.752 .927 .757] - ) -) - -Sphere -( center .0828 -.8822 -.3367 .2670 - Attributes - ( ambient [.719 .094 .802] - >diffuse [.719 .094 .802] - ) -) - -Sphere -( center .2798 -.2926 .3967 -.2316 - Attributes - ( ambient [.473 .719 .203] - >diffuse [.473 .719 .203] - ) -) - -Sphere -( center .8529 -.0650 .3672 .8982 - Attributes - ( ambient [.996 .267 .017] - >diffuse [.996 .267 .017] - ) -) - -Sphere -( center .5981 .9906 -.3554 -.9019 - Attributes - ( ambient [.825 .095 .157] - >diffuse [.825 .095 .157] - ) -) - -Sphere -( center .4011 .9075 -.0986 .3428 - Attributes - ( ambient [.543 .295 .602] - >diffuse [.543 .295 .602] - ) -) - -Sphere -( center .1890 .0876 .6143 -.9918 - Attributes - ( ambient [.326 .574 .052] - >diffuse [.326 .574 .052] - ) -) - -Sphere -( center .4777 .7644 .0754 .3006 - Attributes - ( ambient [.815 .032 .351] - >diffuse [.815 .032 .351] - ) -) - -Sphere -( center -.4378 -.7287 .5745 .9133 - Attributes - ( ambient [.978 .154 .625] - >diffuse [.978 .154 .625] - ) -) - -Sphere -( center .0740 -.1890 .9983 .7700 - Attributes - ( ambient [.769 .986 .430] - >diffuse [.769 .986 .430] - ) -) - -Sphere -( center .2578 -.7460 -.9480 .9586 - Attributes - ( ambient [.768 .980 .041] - >diffuse [.768 .980 .041] - ) -) - -Sphere -( center -.6619 .4366 -.9342 .9139 - Attributes - ( ambient [.167 .907 .117] - >diffuse [.167 .907 .117] - ) -) diff --git a/ray4-c/inputs.r4/dots4.r4 b/ray4-c/inputs.r4/dots4.r4 deleted file mode 100644 index 8691054..0000000 --- a/ray4-c/inputs.r4/dots4.r4 +++ /dev/null @@ -1,193 +0,0 @@ -> This file contains a bunch of spheres in the cube with vertices of +-1. - -Ambient .350 .350 .350 > Global Ambient Light -Background .150 .220 .270 > Define the Background Color -MaxDepth 8 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 1 1 1 1 color [.900 .900 .900]) -Light (position -1 -1 -1 1) -Light (position 1 1 -1 -1) -Light (position -1 -1 1 -1) - -Attributes A1 -( ambient [.100 .100 .100] - diffuse [.000 .000 .000] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 1 -) - -Sphere -( radius 0.40 - center 0.0000 0.0000 0.0000 0.0000 - attributes A1 -) - -Sphere -( center -.3502 -.6900 -.9378 -.9680 - Attributes - ( ambient [.064 .117 .304] - diffuse [.064 .117 .304] - ) -) - -Sphere -( center -.9136 -.3112 -.8940 .5432 - Attributes - ( ambient [.527 .192 .952] - diffuse [.527 .192 .952] - ) -) - -Sphere -( center -.2578 -.2334 .6294 -.3294 - Attributes - ( ambient [.706 .127 .262] - diffuse [.706 .127 .262] - ) -) - -Sphere -( center -.9476 -.7363 .2793 .3814 - Attributes - ( ambient [.397 .962 .814] - diffuse [.397 .962 .814] - ) -) - -Sphere -( center -.9818 .8178 -.3705 -.6300 - Attributes - ( ambient [.935 .999 .368] - diffuse [.935 .999 .368] - ) -) - -Sphere -( center -.5219 .3724 -.1051 .3870 - Attributes - ( ambient [.690 .963 .334] - diffuse [.690 .963 .334] - ) -) - -Sphere -( center -.4961 .1821 .5073 -.1004 - Attributes - ( ambient [.823 .303 .356] - diffuse [.823 .303 .356] - ) -) - -Sphere -( center -.8804 .6794 .6555 .0399 - Attributes - ( ambient [.156 .617 .479] - diffuse [.156 .617 .479] - ) -) - -Sphere -( center .6617 -.5037 -.1474 -.6024 - Attributes - ( ambient [.752 .927 .757] - diffuse [.752 .927 .757] - ) -) - -Sphere -( center .0828 -.8822 -.3367 .2670 - Attributes - ( ambient [.719 .094 .802] - diffuse [.719 .094 .802] - ) -) - -Sphere -( center .2798 -.2926 .3967 -.2316 - Attributes - ( ambient [.473 .719 .203] - diffuse [.473 .719 .203] - ) -) - -Sphere -( center .8529 -.0650 .3672 .8982 - Attributes - ( ambient [.996 .267 .017] - diffuse [.996 .267 .017] - ) -) - -Sphere -( center .5981 .9906 -.3554 -.9019 - Attributes - ( ambient [.825 .095 .157] - diffuse [.825 .095 .157] - ) -) - -Sphere -( center .4011 .9075 -.0986 .3428 - Attributes - ( ambient [.543 .295 .602] - diffuse [.543 .295 .602] - ) -) - -Sphere -( center .1890 .0876 .6143 -.9918 - Attributes - ( ambient [.326 .574 .052] - diffuse [.326 .574 .052] - ) -) - -Sphere -( center .4777 .7644 .0754 .3006 - Attributes - ( ambient [.815 .032 .351] - diffuse [.815 .032 .351] - ) -) - -Sphere -( center -.4378 -.7287 .5745 .9133 - Attributes - ( ambient [.978 .154 .625] - diffuse [.978 .154 .625] - ) -) - -Sphere -( center .0740 -.1890 .9983 .7700 - Attributes - ( ambient [.769 .986 .430] - diffuse [.769 .986 .430] - ) -) - -Sphere -( center .2578 -.7460 -.9480 .9586 - Attributes - ( ambient [.768 .980 .041] - diffuse [.768 .980 .041] - ) -) - -Sphere -( center -.6619 .4366 -.9342 .9139 - Attributes - ( ambient [.167 .907 .117] - diffuse [.167 .907 .117] - ) -) diff --git a/ray4-c/inputs.r4/dots_axes.r4 b/ray4-c/inputs.r4/dots_axes.r4 deleted file mode 100644 index 87ba608..0000000 --- a/ray4-c/inputs.r4/dots_axes.r4 +++ /dev/null @@ -1,105 +0,0 @@ -> This file describes a scene with spheres at +1 and -1 of each axis. - -Ambient .150 .150 .150 > Global Ambient Light -Background .250 .190 .070 > Define the Background Color -MaxDepth 8 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 3.0, 4.0, 6.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 3 3 3 3 color [.900 .900 .900]) -Light (position -3 -3 -3 3) -Light (position 3 3 -3 -3) -Light (position -3 -3 3 -3) -Light (direction 0 0 4 6 color [.500 .500 .500]) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 50.0 -) - -Sphere -( attributes - ( ambient [.400 .000 .000] - diffuse [.400 .000 .000] - specular [.400 .000 .000] - ) - radius 1.0 - center {-1.50 0.00 0.00 0.00} -) - -Sphere -( attributes - ( ambient [.800 .000 .000] - diffuse [.800 .000 .000] - specular [.800 .000 .000] - ) - radius 1.0 - center { 1.50 0.00 0.00 0.00} -) - -Sphere -( attributes - ( ambient [.000 .400 .000] - diffuse [.000 .400 .000] - specular [.000 .400 .000] - ) - radius 1.0 - center { 0.00 -1.50 0.00 0.00} -) - -Sphere -( attributes - ( ambient [.000 .800 .000] - diffuse [.000 .800 .000] - specular [.000 .800 .000] - ) - radius 1.0 - center { 0.00 1.50 0.00 0.00} -) - -Sphere -( attributes - ( ambient [.000 .000 .700] - diffuse [.000 .000 .700] - specular [.000 .000 .700] - ) - radius 1.0 - center { 0.00 0.00 -1.50 0.00} -) - -Sphere -( attributes - ( ambient [.000 .000 .900] - diffuse [.000 .000 .900] - specular [.000 .000 .900] - ) - radius 1.0 - center { 0.00 0.00 1.50 0.00} -) - -Sphere -( attributes - ( ambient [.400 .300 .000] - diffuse [.400 .300 .000] - specular [.400 .300 .000] - ) - radius 1.0 - center { 0.00 0.00 0.00 -1.50} -) - -Sphere -( attributes - ( ambient [.800 .600 .000] - diffuse [.800 .600 .000] - specular [.800 .600 .000] - ) - radius 1.0 - center { 0.00 0.00 0.00 1.50} -) diff --git a/ray4-c/inputs.r4/format.r4 b/ray4-c/inputs.r4/format.r4 deleted file mode 100644 index 4e96124..0000000 --- a/ray4-c/inputs.r4/format.r4 +++ /dev/null @@ -1,76 +0,0 @@ - -o Each directive and all subfield names are significant only to the first - five letters. - -o Maximum token length is 80 characters. - -o Attribute names are significant only to the first 20 letters. - -o Attributes inherit values of the most recently _named_ attribute. - -o Colors are specified as RGB triples by real numbers in the range of - [0.0, 1.0]. Three numbers are expected. - -o The following are whitespace characters: - , [ ] { } - -o Comments begin with the '>' character and end at the next carriage return - or linefeed. - -o All keywords are case insensitive. - -============================================================================= -> The following is an example source file. It contains an example of every -> directive available in the Ray4 language. - -Ambient .005 .005 .005 > Ambient Light -Background .130 .008 .092 > Define the Background Color -MaxDepth 8 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 1.2, 1.2, 1.2, 0.0 - To 2.0, 0.0, 0.0, 1.0 - Up 3.4, 2.2, 1.0, 1.0 - Over 0.0, 0.0, 1.0, 1.0 - Angle 45.0 -) - -Ldirection (direction {-5.0,-1.0,-1.0,-1.0} color [.5,.5,.9]) - -Lpoint -( position [10.0, 5.0, 5.0,10.0] - color [.800 .000 .000] -) - -Attributes metallic_green > Attribute definition. -( ambient [.102 .727 .113] > Attribute name must be supplied. - diffuse [.102 .727 .113] - specular [.102 .727 .113] - transpar [.000 .000 .000] - shine 20.0 - indexref 1.00 - reflect 1 -) - - -Sphere > Hypersphere object with named -( attributes metallic_green > attributes invocation. - center { 0.0 0.0 0.0 0.0 } - radius 23.3 -) - - -Tetrahedron > Tetrahedron with immediate -( attributes > attributes. - ( ambient [.044 .123 .876] - diffuse [.044 .123 .876] - specular [.044 .123 .876] - transpar [.000 .000 .000] - reflect 0 - ) - vertices - 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 -) diff --git a/ray4-c/inputs.r4/hyper.r4 b/ray4-c/inputs.r4/hyper.r4 deleted file mode 100644 index 1570f7c..0000000 --- a/ray4-c/inputs.r4/hyper.r4 +++ /dev/null @@ -1,130 +0,0 @@ - -Ambient .200 .200 .200 > Global Ambient Light -Background .200 .170 .170 > Define the Background Color -MaxDepth 6 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 0.5 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 5 5 5 5 color [.900 .900 .900]) -Light (position -5 -5 -5 5) -Light (position 5 5 -5 -5) -Light (position -5 -5 5 -5) - -Attributes AA -( ambient .100 .400 .100 - diffuse .100 .400 .100 - specular .700 .700 .700 - transpar .800 .800 .800 - shine 100 - reflect 1 -) - -Parallelpiped > Outer Cube -( Attributes AA - Vertices - 1 1 1 1 - 1 1 -1 1 - 1 -1 1 1 - -1 1 1 1 -) - -Parallelpiped > Inner Cube -( Attributes AA - Vertices - 1 1 1 -1 - 1 1 -1 -1 - 1 -1 1 -1 - -1 1 1 -1 -) - -Parallelpiped > Face 1 -( Attributes AA - Vertices - -1 -1 -1 1 - -1 1 -1 1 - 1 -1 -1 1 - -1 -1 -1 -1 -) - -Parallelpiped > Face 2 -( Attributes AA - Vertices - 1 -1 -1 1 - 1 1 -1 1 - 1 -1 1 1 - 1 -1 -1 -1 -) - -Parallelpiped > Face 3 -( Attributes AA - Vertices - -1 -1 1 1 - -1 1 1 1 - -1 -1 -1 1 - -1 -1 1 -1 -) - -Parallelpiped > Face 4 -( Attributes AA - Vertices - 1 -1 1 1 - -1 -1 1 1 - 1 1 1 1 - 1 -1 1 -1 -) - -Parallelpiped > Face 5 -( Attributes AA - Vertices - 1 1 1 1 - -1 1 1 1 - 1 1 -1 1 - 1 1 1 -1 -) - -Parallelpiped > Face 6 -( Attributes AA - Vertices - -1 -1 -1 1 - 1 -1 -1 1 - -1 -1 1 1 - -1 -1 -1 -1 -) - -Attributes BB -( - ambient [.600 .600 .600] - diffuse [.600 .600 .600] - specular [.600 .600 .600] - transpar [.600 .100 .700] - shine 10.0 - reflect 1 -) - -Sphere -( radius 1.00 - center [ 3 3 3 3] - attributes BB -) - -Sphere (center [ 3 3 3 -3]) -Sphere (center [ 3 3 -3 3]) -Sphere (center [ 3 3 -3 -3]) -Sphere (center [ 3 -3 3 3]) -Sphere (center [ 3 -3 3 -3]) -Sphere (center [ 3 -3 -3 3]) -Sphere (center [ 3 -3 -3 -3]) -Sphere (center [-3 3 3 3]) -Sphere (center [-3 3 3 -3]) -Sphere (center [-3 3 -3 3]) -Sphere (center [-3 3 -3 -3]) -Sphere (center [-3 -3 3 3]) -Sphere (center [-3 -3 3 -3]) -Sphere (center [-3 -3 -3 3]) -Sphere (center [-3 -3 -3 -3]) diff --git a/ray4-c/inputs.r4/scube.r4 b/ray4-c/inputs.r4/scube.r4 deleted file mode 100644 index 4e66989..0000000 --- a/ray4-c/inputs.r4/scube.r4 +++ /dev/null @@ -1,177 +0,0 @@ -> Sixteen 4-spheres placed at the vertices of a 4-cube. -> -a4:4:33 -r200:190:20 - -Ambient .35 .35 .35 > Global Ambient Light -Background .25 .05 .17 > Define the Background Color -MaxDepth 16 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 80.0 -) - -Light -( direction 2.0 0.0 1.0 0.0 - color [.7 .7 .7] -) - -Light -( position 0.0 0.0 0.0 0.0 - color [.8 .8 .8] -) - -Attributes GenericSphere -( Reflect 1 - Transpar [.000 .000 .000] - Shine 10.0 - specular [.500 .500 .500] - diffuse [.000 .000 .000] -) - -Sphere -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - center { 1.25 1.25 1.25 1.25} - radius 0.5 -) - -Sphere -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - center { 1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - center { 1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.60 .12 .40] - diffuse [.60 .12 .40] - ) - center { 1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - center { 1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - center { 1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - center { 1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.60 .12 .40] - diffuse [.60 .12 .40] - ) - center { 1.25 -1.25 -1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - center {-1.25 1.25 1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - center {-1.25 1.25 1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - center {-1.25 1.25 -1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.60 .12 .40] - diffuse [.60 .12 .40] - ) - center {-1.25 1.25 -1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - center {-1.25 -1.25 1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.10 .10 .80] - diffuse [.10 .10 .80] - ) - center {-1.25 -1.25 1.25 -1.25} -) - -Sphere -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - center {-1.25 -1.25 -1.25 1.25} -) - -Sphere -( - attributes ( - ambient [.60 .12 .40] - diffuse [.60 .12 .40] - ) - center {-1.25 -1.25 -1.25 -1.25} -) diff --git a/ray4-c/inputs.r4/sphere.r4 b/ray4-c/inputs.r4/sphere.r4 deleted file mode 100644 index 9dc5591..0000000 --- a/ray4-c/inputs.r4/sphere.r4 +++ /dev/null @@ -1,45 +0,0 @@ -> The following file is a test scene looking down on a hypersphere with a -> single directional light source. - -Ambient .220 .220 .220 > Global Ambient Light -Background .250 .370 .570 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 0.0, 0.0, 0.0, 6.5 - To -1.0, 1.0, 0.0, 2.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 50.0 -) - -Light -( color [.900 .900 .900] - direction -1.0, 1.0, 0.0, 2.0 -) - -Sphere -( center 0.0, 0.0, 0.0, 0.0 - radius 1.0 - Attributes - ( ambient [.555 .130 .350] - diffuse [.550 .130 .300] - specular [.700 .700 .700] - transpar [.000 .000 .000] - shine 16.0 - reflect 0 - ) -) - -Sphere -( center -1.5, 1.5, 0.0, 3.0 - radius 0.6 - Attributes ( - ambient [0.220 0.020 0.800] - diffuse [0.220 0.020 0.800] - specular [0.220 0.020 0.800] - transpar [0.000 0.000 0.000] - shine 20.0 - reflect 0 - ) -) diff --git a/ray4-c/inputs.r4/tcube.r4 b/ray4-c/inputs.r4/tcube.r4 deleted file mode 100644 index 0e6404c..0000000 --- a/ray4-c/inputs.r4/tcube.r4 +++ /dev/null @@ -1,235 +0,0 @@ -> Sixteen 3-tetrahedrons placed at the vertices of a 3-cube. -> Use -a4:4:27 -r200:190:20 - -Ambient .35 .35 .35 > Global Ambient Light -Background .25 .35 .67 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From 1.5, 1.5, 1.5, 4.0 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 55.0 -) - -Light -( direction 1.0 1.2 0.5 1.5 - color .90 .90 .90 -) - -Attributes GenericTet -( diffuse [.000 .000 .000] - specular [.800 .800 .800] - transpar [.000 .000 .000] - shine 10.0 - reflect 0 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.10 1.25 1.25 1.25 - 1.25 0.10 1.25 1.25 - 1.25 1.25 0.10 1.25 - 1.25 1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - 0.10 1.25 1.25 -1.25 - 1.25 0.10 1.25 -1.25 - 1.25 1.25 0.10 -1.25 - 1.25 1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.10 1.25 -1.25 1.25 - 1.25 0.10 -1.25 1.25 - 1.25 1.25 -0.10 1.25 - 1.25 1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.10 1.25 -1.25 -1.25 - 1.25 0.10 -1.25 -1.25 - 1.25 1.25 -0.10 -1.25 - 1.25 1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - 0.10 -1.25 1.25 1.25 - 1.25 -0.10 1.25 1.25 - 1.25 -1.25 0.10 1.25 - 1.25 -1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - 0.10 -1.25 1.25 -1.25 - 1.25 -0.10 1.25 -1.25 - 1.25 -1.25 0.10 -1.25 - 1.25 -1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - 0.10 -1.25 -1.25 1.25 - 1.25 -0.10 -1.25 1.25 - 1.25 -1.25 -0.10 1.25 - 1.25 -1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - 0.10 -1.25 -1.25 -1.25 - 1.25 -0.10 -1.25 -1.25 - 1.25 -1.25 -0.10 -1.25 - 1.25 -1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.10 1.25 1.25 1.25 - -1.25 0.10 1.25 1.25 - -1.25 1.25 0.10 1.25 - -1.25 1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - -0.10 1.25 1.25 -1.25 - -1.25 0.10 1.25 -1.25 - -1.25 1.25 0.10 -1.25 - -1.25 1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.10 1.25 -1.25 1.25 - -1.25 0.10 -1.25 1.25 - -1.25 1.25 -0.10 1.25 - -1.25 1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.10 1.25 -1.25 -1.25 - -1.25 0.10 -1.25 -1.25 - -1.25 1.25 -0.10 -1.25 - -1.25 1.25 -1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.70 .10 .10] - diffuse [.70 .10 .10] - ) - vertices - -0.10 -1.25 1.25 1.25 - -1.25 -0.10 1.25 1.25 - -1.25 -1.25 0.10 1.25 - -1.25 -1.25 1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .10 .85] - diffuse [.10 .10 .85] - ) - vertices - -0.10 -1.25 1.25 -1.25 - -1.25 -0.10 1.25 -1.25 - -1.25 -1.25 0.10 -1.25 - -1.25 -1.25 1.25 -0.10 -) - -Tetrahedron -( - attributes ( - ambient [.10 .70 .10] - diffuse [.10 .70 .10] - ) - vertices - -0.10 -1.25 -1.25 1.25 - -1.25 -0.10 -1.25 1.25 - -1.25 -1.25 -0.10 1.25 - -1.25 -1.25 -1.25 0.10 -) - -Tetrahedron -( - attributes ( - ambient [.60 .60 .60] - diffuse [.60 .60 .60] - ) - vertices - -0.10 -1.25 -1.25 -1.25 - -1.25 -0.10 -1.25 -1.25 - -1.25 -1.25 -0.10 -1.25 - -1.25 -1.25 -1.25 -0.10 -) diff --git a/ray4-c/inputs.r4/wdots.r4 b/ray4-c/inputs.r4/wdots.r4 deleted file mode 100644 index 3613f9c..0000000 --- a/ray4-c/inputs.r4/wdots.r4 +++ /dev/null @@ -1,46 +0,0 @@ -> This file contains a bunch of spheres in the cube with vertices of +-1. - -Ambient .300 .300 .300 > Global Ambient Light -Background .150 .220 .270 > Define the Background Color -MaxDepth 1 > Maximum Ray Trace Depth (0 is infinite) - -View -( From -1.9, 0.3,-0.8,-1.7 - To 0.0, 0.0, 0.0, 0.0 - Up 0.0, 1.0, 0.0, 0.0 - Over 1.0, 0.0, 0.0, 0.0 - Angle 60.0 -) - -Light (position 1 1 1 1 color [1.00 0.00 0.00]) -Light (position -1 -1 -1 1 color [0.00 1.00 0.00]) -Light (position 1 1 -1 -1 color [0.00 0.00 1.00]) -Light (position -1 -1 1 -1 color [1.00 1.00 1.00]) - -Sphere -( radius 0.40 - center -.7779 -.2127 .8596 -.1593 - Attributes - ( ambient [1.00 1.00 1.00] - diffuse [1.00 1.00 1.00] - specular [1.00 1.00 1.00] - transpar [.000 .000 .000] - shine 16.0 - ) -) - -Sphere (center -.8077 -.6667 .6868 -.5385) -Sphere (center .6993 .3594 -.8423 .4652) -Sphere (center .7213 .1939 .5199 .9978) -Sphere (center -.6230 -.0296 -.7877 .4708) -Sphere (center .3522 -.6018 .7640 .1820) -Sphere (center .4232 -.2703 .6505 .1373) -Sphere (center -.2890 -.6985 -.4987 -.8115) -Sphere (center .2709 .9772 -.5192 .9355) -Sphere (center .9344 -.6134 .9699 -.6826) -Sphere (center -.8053 .5923 -.8892 .7180) -Sphere (center -.2918 -.5750 -.7815 .8680) -Sphere (center -.7614 .2593 -.7450 .4527) -Sphere (center -.2149 -.1945 -.5245 -.2745) -Sphere (center .9476 -.7363 .2793 .3814) -Sphere (center -.9818 -.8178 -.3705 .6300) diff --git a/craig/README.md b/ray4/craig/README.md similarity index 100% rename from craig/README.md rename to ray4/craig/README.md diff --git a/craig/convert b/ray4/craig/convert similarity index 100% rename from craig/convert rename to ray4/craig/convert diff --git a/craig/craig.sh b/ray4/craig/craig.sh similarity index 100% rename from craig/craig.sh rename to ray4/craig/craig.sh diff --git a/craig/display b/ray4/craig/display similarity index 100% rename from craig/display rename to ray4/craig/display diff --git a/craig/mtvtorast b/ray4/craig/mtvtorast similarity index 100% rename from craig/mtvtorast rename to ray4/craig/mtvtorast diff --git a/craig/r4tomtv.c b/ray4/craig/r4tomtv.c similarity index 100% rename from craig/r4tomtv.c rename to ray4/craig/r4tomtv.c diff --git a/craig/run b/ray4/craig/run similarity index 100% rename from craig/run rename to ray4/craig/run diff --git a/craig/run2 b/ray4/craig/run2 similarity index 100% rename from craig/run2 rename to ray4/craig/run2 diff --git a/ray4-c/CHANGELOG.md b/ray4/ray4-c/CHANGELOG.md similarity index 100% rename from ray4-c/CHANGELOG.md rename to ray4/ray4-c/CHANGELOG.md diff --git a/ray4-c/CMakeLists.txt b/ray4/ray4-c/CMakeLists.txt similarity index 100% rename from ray4-c/CMakeLists.txt rename to ray4/ray4-c/CMakeLists.txt diff --git a/ray4-c/README.md b/ray4/ray4-c/README.md similarity index 100% rename from ray4-c/README.md rename to ray4/ray4-c/README.md diff --git a/ray4-c/ray4.md b/ray4/ray4-c/ray4.md similarity index 100% rename from ray4-c/ray4.md rename to ray4/ray4-c/ray4.md diff --git a/ray4-c/results/dots.2.icube b/ray4/ray4-c/results/dots.2.icube similarity index 100% rename from ray4-c/results/dots.2.icube rename to ray4/ray4-c/results/dots.2.icube diff --git a/ray4-c/results/dots.icube b/ray4/ray4-c/results/dots.icube similarity index 100% rename from ray4-c/results/dots.icube rename to ray4/ray4-c/results/dots.icube diff --git a/ray4-c/results/dots_axes.0.icube b/ray4/ray4-c/results/dots_axes.0.icube similarity index 100% rename from ray4-c/results/dots_axes.0.icube rename to ray4/ray4-c/results/dots_axes.0.icube diff --git a/ray4-c/results/ht1.icube b/ray4/ray4-c/results/ht1.icube similarity index 100% rename from ray4-c/results/ht1.icube rename to ray4/ray4-c/results/ht1.icube diff --git a/ray4-c/results/ht2.icube b/ray4/ray4-c/results/ht2.icube similarity index 100% rename from ray4-c/results/ht2.icube rename to ray4/ray4-c/results/ht2.icube diff --git a/ray4-c/results/ht3.icube b/ray4/ray4-c/results/ht3.icube similarity index 100% rename from ray4-c/results/ht3.icube rename to ray4/ray4-c/results/ht3.icube diff --git a/ray4-c/src/amiga.h b/ray4/ray4-c/src/amiga.h similarity index 100% rename from ray4-c/src/amiga.h rename to ray4/ray4-c/src/amiga.h diff --git a/ray4-c/src/lmkfile b/ray4/ray4-c/src/lmkfile similarity index 100% rename from ray4-c/src/lmkfile rename to ray4/ray4-c/src/lmkfile diff --git a/ray4-c/src/make.nt b/ray4/ray4-c/src/make.nt similarity index 100% rename from ray4-c/src/make.nt rename to ray4/ray4-c/src/make.nt diff --git a/ray4-c/src/makefile b/ray4/ray4-c/src/makefile similarity index 100% rename from ray4-c/src/makefile rename to ray4/ray4-c/src/makefile diff --git a/ray4-c/src/makefile-amiga b/ray4/ray4-c/src/makefile-amiga similarity index 100% rename from ray4-c/src/makefile-amiga rename to ray4/ray4-c/src/makefile-amiga diff --git a/ray4-c/src/r4_hit.c b/ray4/ray4-c/src/r4_hit.c similarity index 100% rename from ray4-c/src/r4_hit.c rename to ray4/ray4-c/src/r4_hit.c diff --git a/ray4-c/src/r4_image.h b/ray4/ray4-c/src/r4_image.h similarity index 100% rename from ray4-c/src/r4_image.h rename to ray4/ray4-c/src/r4_image.h diff --git a/ray4-c/src/r4_io.c b/ray4/ray4-c/src/r4_io.c similarity index 100% rename from ray4-c/src/r4_io.c rename to ray4/ray4-c/src/r4_io.c diff --git a/ray4-c/src/r4_main.c b/ray4/ray4-c/src/r4_main.c similarity index 100% rename from ray4-c/src/r4_main.c rename to ray4/ray4-c/src/r4_main.c diff --git a/ray4-c/src/r4_parse.c b/ray4/ray4-c/src/r4_parse.c similarity index 100% rename from ray4-c/src/r4_parse.c rename to ray4/ray4-c/src/r4_parse.c diff --git a/ray4-c/src/r4_trace.c b/ray4/ray4-c/src/r4_trace.c similarity index 100% rename from ray4-c/src/r4_trace.c rename to ray4/ray4-c/src/r4_trace.c diff --git a/ray4-c/src/r4_vec.c b/ray4/ray4-c/src/r4_vec.c similarity index 100% rename from ray4-c/src/r4_vec.c rename to ray4/ray4-c/src/r4_vec.c diff --git a/ray4-c/src/r4_vector.h b/ray4/ray4-c/src/r4_vector.h similarity index 100% rename from ray4-c/src/r4_vector.h rename to ray4/ray4-c/src/r4_vector.h diff --git a/ray4-c/src/r4toiff.c b/ray4/ray4-c/src/r4toiff.c similarity index 100% rename from ray4-c/src/r4toiff.c rename to ray4/ray4-c/src/r4toiff.c diff --git a/ray4-c/src/r4tosgi.c b/ray4/ray4-c/src/r4tosgi.c similarity index 100% rename from ray4-c/src/r4tosgi.c rename to ray4/ray4-c/src/r4tosgi.c diff --git a/ray4-c/src/ray4.h b/ray4/ray4-c/src/ray4.h similarity index 100% rename from ray4-c/src/ray4.h rename to ray4/ray4-c/src/ray4.h diff --git a/ray4-c/src/v4cross.c b/ray4/ray4-c/src/v4cross.c similarity index 100% rename from ray4-c/src/v4cross.c rename to ray4/ray4-c/src/v4cross.c diff --git a/ray4-c/src/v4normalize.c b/ray4/ray4-c/src/v4normalize.c similarity index 100% rename from ray4-c/src/v4normalize.c rename to ray4/ray4-c/src/v4normalize.c diff --git a/ray4-c/src/write_ilbm.c b/ray4/ray4-c/src/write_ilbm.c similarity index 100% rename from ray4-c/src/write_ilbm.c rename to ray4/ray4-c/src/write_ilbm.c