Welcome, Guest. Please login or register.
Did you miss your activation email?
08 February, 2012, 12:00:49 pm
Home Help Search Login Register

Lazarus and FreePascal

Erişim

Stats

Members
  • Total Members: 1207
  • Latest: yuksek
Stats
  • Total Posts: 326
  • Total Topics: 83
  • Online Today: 22
  • Online Ever: 53
  • (22 October, 2011, 06:01:43 pm)
Users Online
Users: 0
Guests: 13
Total: 13
+  Linux Programlama
|-+  Forum
| |-+  Diğer Konular Serbest Alan
| | |-+  Serbest
| | | |-+  Pov Ray ile Bir Deneme Ödevi
« previous next »
Pages: [1] Go Down Print
Author Topic: Pov Ray ile Bir Deneme Ödevi  (Read 1959 times)
alivardar
Administrator
Full Member
*****
Posts: 138


View Profile WWW
« 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
    }
  }
}


Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Forum / Destek

GPL Applications

TinyPortal v1.0 beta 4 © Bloc


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!