This is a self contained pumpkin (requires no include files) and is declared as an object called 'Pumpkin', so you can readily include multiple copies in a scene file, appropriately scaled and translated into position.
See here for conditions of use.
Contents
Then we cut a lighter orange coloured sphere out from the inside and poke a few light orange holes through to make eyes, nose and mouth.
The lighting is quite important, we put one light up and to one side on the outside. The other two lights are inside the pumpkin. One is a bright light close to the bottom of the inside surface, this is about where a candle would be. The other is a spotlight shining down on the first just to make the candle area glow a bit more.
// Object Name: Pumpkin // Version: 01.10.95 for POV 2.2. // Description: A pumpkin for Halloween with eye, nose and mouth holes. // Scale: 1 unit = 0.5 metre diameter pumpkin. // Positioning: Sphere centred at the origin. // Details: 4 copies of a squashed sphere, rotated at different angles // around the Y axis to make a segmented pumpkin shape. // Keywords: Pumpkin, Halloween, Vegetables, Market gardening // Author: Chris Bartlett. #declare Segment = sphere { <0,0,0>,0.5 pigment { color rgb <1,0.5,0>} scale <0.5,0.8,1>} #declare Pumpkin = difference { union { object {Segment} object {Segment rotate y*30} object {Segment rotate y*60} object {Segment rotate y*90} object {Segment rotate y*120} object {Segment rotate y*150} } // Now we hollow out the insides and cut eye holes so it can see. sphere {<0,0,0>,0.43 pigment { color rgb <1,0.8,0>} scale y*0.8} cylinder{<-0.12,0.15,-0.9><-0.12,0.15,0>0.05 pigment{color rgb<1,0.8,0>}} cylinder{< 0.12,0.15,-0.9>< 0.12,0.15,0>0.05 pigment{color rgb<1,0.8,0>}} // We cut out a nose difference { box {<-0.05,-0.05,-0.91>,<0.05,0.05,0.1> pigment { color rgb <1,0.8,0>} rotate z*45 scale <0.55,1.2,1> } plane {y,0 pigment { color rgb <1,0.8,0>}} } // And the mouth (leaving 1 tooth). difference { cylinder {<0,0,-0.9>,<0,0,0>,0.2 pigment { color rgb <1,0.8,0>}} cylinder {<0,0.25,-0.91>,<0,0.25,0.1>,0.35 pigment{color rgb<1,0.8,0>}} box {<0.01,-0.14,-0.91>,<0.05,0.1,0.1> pigment { color rgb <1,0.8,0>}} } } // Sample scene of our smiling pumpkin light_source {<0,-0.3, 0> color rgb <1.5,1.5,1.5> } light_source {<0, 0.3,-0.1> color rgb<2,2,2> spotlight point_at<0,-0.3,0.2>} light_source {<2.5, 2.8, -4.8> color rgb <1.5,1.5,1.5> } camera {location <0.3,0,-1.1> look_at <0,0,0>} object {Pumpkin}