| 
  | 
consider the following;
//---------------------------------------------------------------------
#version 3.7; //
camera
{   perspective
    location  -30*z //
    look_at z //
    right x* image_width/ image_height //
    angle 55 //
}
light_source { <100, 100, -100> rgb <1, 1, 1> } //
#declare leength= 20; //
#declare weedth= 20; //
#declare bagel=box
{   <-leength/2, -weedth/2, -.005*leength>,
     <leength/2, weedth/2, .005*leength>
    pigment{ // -----------------------------------------------
        pavement number_of_sides 3 number_of_tiles 4 pattern 3
         exterior 0 interior 0  form 0
        color_map{
            [ 0.00 color rgb<0.55, 0.25, 0.25> ]
            [ 0.60 color rgb<0.25, 0.25, 0.25> ]
            [ 0.90 color rgb<0.00, 0.00, 0.00> ]
            [ 1.00 color rgb 1 ]
        } //
        scale 01.425 //
        rotate x*90 //
    } // ------------------------------------------------------
}; //
object{ bagel } //
 Post a reply to this message 
 
Attachments: 
Download 'bagels.jpg' (174 KB)
 
  
Preview of image 'bagels.jpg'
   
   
 | 
  |