alivardar
Administrator
Full Member
    
Posts: 138
|
 |
« on: 09 December, 2009, 10:38:31 pm » |
|
Selamlar
POV ray için yapmış olduğum bir ödev çalışması işinize yaraması dileğiyle
M.Ali
//2 ışık, 4 farklı nesne ve plane #include "colors.inc" #include "textures.inc"
camera { location <-10, 15, 50> look_at <0, 10, 0> }
//ışık kaynakları light_source { <20, 200, 40> color Red }
light_source { <20, 200, -40> color White }
//Üç farklı küre kazananlar
sphere { <10, 10, 0> 2 texture { Pine_Wood } }
sphere { <0, 15, 0> 2 texture { Aluminum } }
sphere { <-10, 10, 0> 2 texture { Gold_Metal } }
//iki farklý kutu
//taban kutu box { <12, 0, 5> <-12, 5, -5> texture { Soft_Silver } } //Üst kutu box { <4, 5, 5> <-4, 10, 0> texture { Soft_Silver } } // yazýlar text { ttf "arial.ttf", "2", 2, 0 translate <-2, 0, -10> scale <4, 4, 1> texture { Gold_Metal } rotate <0, -180, 0> } text { ttf "arial.ttf", "1", 2, 0 translate <0, 1, -10> scale <4, 4, 1> texture { Gold_Metal } rotate <0, -180, 0> } text { ttf "arial.ttf", "3", 2, 0 translate <2, 0, -10> scale <4, 4, 1> texture { Gold_Metal } rotate <0, -180, 0> }
//ilave geri plan iki farklý nesne //mantýksýz ama ödev gereksinimi torus { 40, 20 texture { Aluminum } scale <1.5,1,1> rotate <-130,0,0> translate <500, 100, -1000> } cylinder { <-30, 20, -100>, <-10, 45, -140>, 10 //translate <50, 100, -500> texture { Aluminum } } //sky_plane gore daha cok boyut havasý yaratýyor sky_sphere { pigment { image_map { png "uzay.png" } } rotate 180 }
plane { -y, 0 texture { pigment { crackle scale 1.5 } } }
|