Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //beri nama threeball.pov
- //render dengan menggunakan perintah $> povray threeball.pov -geometry 1024x768
- camera {
- location <0, 5, -10>
- look_at <1, 3, 0>
- }
- light_source {
- <10, 15, -20>
- color rgbf <2.0, 2.0, 2.0, 0.0>
- }
- light_source {
- <-5, 15, 20>
- color rgbf <2.0, 2.0, 2.0, 0.0>
- }
- background { color rgb <0.2 0.2 0.2> }
- plane {<0, 1, 0>, -1
- pigment {checker
- color rgbf <0.0, 0.0, 0.0, 0.0>
- color rgbf <1.0, 1.0, 1.0, 0.0>
- }
- scale 15
- }
- //Shiny Red Sphere
- sphere {
- <0, 2, 1>, 3.0
- pigment { color rgbf <1.0, 0.0, 0.0, 0.0>}
- finish {
- phong 0.8
- reflection 0.5
- }
- }
- //Transparent Blue Sphere
- sphere {
- <2, 2, -3>, 1.0
- pigment { color rgbf <0.0, 0.0, 1.0, 0.9>}
- finish {
- phong 0.8
- ambient 0.15
- diffuse 0.75
- reflection 0.25
- refraction 1
- ior 1.0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement