# this is a comment. ### misc setting ################################### # screen (width) (height) screen_size 512 512 # max_depth (max number of recursion) max_depth 3 ### camera setting ################################# camera_position (0.646016,0.382344,5.20836) camera_center (1.01358,0.490422,4.28466) camera_up (-0.0080624,0.993559,0.113045) camera_fovy 30.0 ### scene setting ################################## # # note: a material should be pre-defined for each object # # object format: # sphere (center) (radius) # plane (normal) (distance) # triangle (vertex0) (vertex1) (vertex2) # # material format: # ambient (ambient color) # diffuse (diffuse coefficient) (ambient color) # phong (specular coefficient) (shininess) (diffuse color) (ambient color) # mirror (specular coefficient) # refract (index of refraction) (specular coefficient) # # light format: # point_light (position) (color) # direct_light (direction) (color) # #mirror (1,0.5,0.5) refract 1.5 (1, 0.5, 0.5) #diffuse (0.5, 1, 0.5) (0, 0.3, 0) #phong (1,1,1) 32 (0,0,0) (0.1,0,0) #phong (1,1,1) 32 (0.5, 1, 0.5) (0.1,0,0) sphere (0, 0, -10) 2.0 diffuse (1, 1, 1) (0, 0.3, 0) plane (0,1,0) -2.0 point_light (2,5,-10) (20,0,0) #point_light (5,2,-8) (0,20,0) #point_light (2,5,-12) (0,0,20) #environment_map grace_cross.hdr