--a table of the lights in the scene lights = { { --light 1 color = {r=0.6, g=0.6, b=0.6}, position = {x=-4.0, y=-30.0, z=10.0}}, { --light 2 color = {r=0.6, g=0.6, b=0.6}, position = {x=10.0, y=-30.0, z=15.0}}, } --a table of the bodies in the scene bodies = { { --sphere 1 geometry = {type = "sphere", position = {x=-2.5, y=30, z=-2.5}, radius = 2.0}, color = {r=0.2, g=0.5, b=0.2}, diffuse = 0.2, reflection = 0.7, shininess = 10}, { --sphere 2 geometry = {type = "sphere", position = {x=2, y=33, z=6}, radius = 3.0}, color = {r=0.3, g=0.3, b=0.5}, diffuse = 0.1, reflection = 0.9, shininess = 15}, { --sphere 3 geometry = {type = "sphere", position = {x=3, y=28, z=-5}, radius = 2.0}, color = {r=0.5, g=0.2, b=0.2}, diffuse = 0.9, reflection = 0.3, shininess = 5}, { --the sky geometry = {type = "plane", position = {x=0, y=50, z=-5}, normal = {x=0, y=-1, z=0}}, color = {r=0.3, g=0.3, b=0.9}, diffuse = 0.4, reflection = 0.5, shininess = 5}, { --the ground geometry = {type = "plane", position = {x=0, y=0, z=-8.0}, normal = {x=0, y=0, z=1}}, color = {r=0.4, g=0.4, b=0.4}, diffuse = 1.0, reflection = 2.0, shininess = 2}, }