inherit
14957
0
Sept 3, 2016 15:06:50 GMT -8
Irishman
189
October 2003
irishman
|
POVRay
Feb 17, 2010 11:09:42 GMT -8
Post by Irishman on Feb 17, 2010 11:09:42 GMT -8
I'm doing an assignment and once again it involves code which confuses the hell outta me.
This time its with povray and I'd appreciate any help with it!
At the moment I'm trying to set up an object but the damn thing keeps coming up as a fault when I click to run. Heres the code:
#include "colors.inc"
#declare my_sphere = sphere { <0, 0, 0>, 5 finish { pigment rgbf <.5, .2, .4, .667> } }
object { my_sphere translate <-2, 0, 0> }
camera{ location <2,5,-10> look_at <0,0,0> }
light_source { <0,-10,0> color rgb <1,1,1> }
In theory a sphere should appear just off center. In practice it says "in finish, pigment found instead"
|
|