ccdemos/spheres_shadow.cc
branchpyrit
changeset 32 8af5c17d368b
parent 22 76b7bd51d64a
child 37 5f954c0d34fc
equal deleted inserted replaced
31:b4e09433934a 32:8af5c17d368b
     3 
     3 
     4 int main()
     4 int main()
     5 {
     5 {
     6 	Raytracer rt;
     6 	Raytracer rt;
     7 	rt.setThreads(2);
     7 	rt.setThreads(2);
       
     8 	rt.setOversample(0);
       
     9 	rt.setSubsample(8);
     8 
    10 
     9 	KdTree top;
    11 	KdTree top;
    10 	rt.setTop(&top);
    12 	rt.setTop(&top);
    11 
    13 
    12 	Light light1(Vector3(0.0, 5.0, -5.0), Colour(0.7, 0.3, 0.6));
    14 	Light light1(Vector3(0.0, 5.0, -5.0), Colour(0.7, 0.3, 0.6));