Camera{ Location=[-7 3 14] Look_At=[0 2 0] Pseudo_Up=[0 1 0] Field_Of_View=26.4602 Focal_Distance=.1 Aspect_Ratio=1.33333 Width=640 Height=480 Output_Filename="output/render.%05d.png" Gamma_Correction=1.7 } Options{ High_Quality=false Background_Color=[0 0 0] } //###################################################################### // Lights //###################################################################### Light{ Type="Spotlight" Position=[0 10 0] Color=[.8 .8 1] Direction=[0 -1 0] Cone_Angle=.7 Penumbra_Angle=.2 Power=400 Casts_Shadows=true } Light{ Type="Spotlight" Position=[-7 3 14] Color=[.7 .7 1] Direction=[7 -3 -14] Cone_Angle=.7 Penumbra_Angle=.2 Power=600 Casts_Shadows=false } //###################################################################### // Shaders //###################################################################### ////////////// COLORS ////////////// Material{ Name="Blue" Type="Color" Color=[.08 .10 1] } Material{ Name="White" Type="Color" Color=[ .5 .5 .5] } Material{ Name="Black" Type="Color" Color=[0 0 0] } ////////////// SHADERS ////////////// Material{ Name="BlueShader" Type="Phong" Shader="Blue" Diffuse=[.6 .6 .6] Specular=[2 2 2] Specular_Exponent=35 Ambient=[0 0 0] } Material{ Name="BlueShaderDull" Type="Phong" Shader="Blue" Diffuse=[.6 .6 .6] Specular=[1 1 1] Specular_Exponent=35 Ambient=[0 0 0] } Material{ Name="WhiteShader" Type="Phong" Shader="White" Diffuse=[.6 .6 .6] Specular=[2 2 2] Specular_Exponent=35 Ambient=[0 0 0] } Material{ Name="BlackShader" Type="Phong" Shader="White" Diffuse=[0 0 0] Specular=[2 2 2] Specular_Exponent=35 } Material{ Type="Transparent" Name="Transparent" Reflectivity=0 } Material{ Name="GlassShader" Type="Transparent" Fresnel=true Shift_Direction=ray Reflectivity=0 } Material{ Name="BlackShader" Type="Lambertian" Shader="Black" Ambient=[0 0 0] Reflectivity=0.5 } Material{ Type="Blend" Name="New" Shader1="Transparent" Shader2="BlueShaderDull" Blend_Fraction=.2 } //###################################################################### // Objects //###################################################################### Object{ Name="Ground" Type="Plane" Position=[0 -0.001 0] Normal=[0 1 0] Shader="BlueShader" Priority=10 } Object{ Name="GC" Type="Cylinder" X1=[0 -0.01 0] X2=[0 -1 0] Radius=3 Shader="BlueShader" Priority=10 } List_Object{ Type="Deformable_Object" Name="Deformable" Prefix="in" Shader="New" Smooth_Normals=true Add_To_Collisions=true Subdivide_Geometry=true Range=1 Priority=100 } Object{ Name="GlassBox" Type="Wall" Xmin=-50 Xmax=50 Ymin=-5 Ymax=30 Zmin=-50 Zmax=-51 Show_Xmax=true Show_Xmin=true Show_Ymax=false Show_Ymin=false Show_Zmax=true Show_Zmin=true Shrink=.001 Thickness=.01 Shader=BlackShader Index_Of_Refraction=1.5 Priority=3 Support_Transparent_Overlapping_Objects=true }