{ vrc  
	vrp ( 0 , 0 , 1 );
	prp ( 0 , 0 , 10 );
	vup ( 0 , 0 , 1 );
	vpn ( 0 , 1 , 0 );
	umax 5;
	umin -4;
	vmax 3.375;
	vmin -3.375;
	type 1;
	f 1;
	b 0;
	fon 0;
	bon 0;
}
{ param

	render raytracing;
  toll 0.01;
  mode 5;
  shade phong;
  anti_alias 1;
  anti_al_toll 0.005;
  dimx 800;
  dimy 600;
  ambientcolor (1,1,1);
  backcolor (0,0,0);
}

{ texture name squares; }


{ material
        name m1;
        model { phong

  Ks 0.2;
  Kt 0;
  ni 1;
  Ka 0.1;
  Kd 0.7;
  n 10;
  Od (0.84,0.29,0.23);
  Os (0.84,0.29,0.23);
  }
}

{ material
	name m2;
	model { phong 

  Ks 0.0;
  Kt 0;
  ni 1;
  Ka 0.1;
  Kd 0.4;
  n 25;
  Od (0.14,0.63,0.9);
  Os (0.64,0.69,0.13);
}

}
{ material
	name m3;
	model { phong 

  Ks 0.0;
  Kt 0;
  ni 1;
  Ka 0.1;
  Kd 0.95;
  n 25;
  Od (0.14,0.9,0.63);
  Os (0.64,0.69,0.13);
}

}


{lamp
name lamp1;
model { pointlamp
pos ( 5 , 0 , 3 );
    color (0.95,0.95,0.95);
}
}
{lamp
name lamp2;
model { pointlamp
pos ( 0 , 0 , 100 );
    color (0.95,0.95,0.95);
}
}

{lamp
name lamp3;
model { pointlamp
pos ( -30 , 0 , 6 );
    color (0.95,0.95,0.95);
}
}

{ object
    name t1;
    material m1;
    model { transf
                //s (1,.4,1);
                r (0,0, 2.38761 );

{object
name teapot;
material m1;
toll 0.01;
model { bezier
    name teapot;
     div 9;	
	cache 1;
}
}

}
}

{object
name sfondo;
material m2;
toll 0.01;
/*
texture mlisa;
mapping { mapping
     model { planar
  center ( 0 , 0 , 0 );
  assx ( 1 , 0 , 0 );
  assy ( 0 , 0 , -1 );
  moltx 0.130;
  molty 0.130;
  }
}
*/

model { box
                                         ymin -150;
                                         ymax -152;
					 xmin -100;
					 xmax 100;
					 zmin -100;
					 zmax 100;
	}
}

{object
name pavimento;
material m3;
toll 0.01;
texture squares;
mapping { mapping
     model { planar
  center ( 0 , 0 , 0 );
  assx ( 0 , 1 , 0 );
  assy ( 1 , 0 , 0 );
//  moltx 10.130;
//  molty 10.130;
  moltx 0.8;
  molty 0.8;
  }
}

model { box
                                         xmin -100;
                                         xmax 100;
					 ymin -100;
					 ymax 100;
					 zmin -100;
					 zmax 0;
	}
}

.
ÿ
