File:GapCloserBrick.jpg

From Marspedia
Revision as of 10:49, 25 November 2013 by Rfc (talk | contribs) (cat+)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GapCloserBrick.jpg(400 × 300 pixels, file size: 9 KB, MIME type: image/jpeg)

gap-closer-brick with pin

Source: User:Rfc has created this image.

Tool: POV-Ray Version 1.0

Scene code:


#include "colors.inc"           // Standard colors library
#include "shapes.inc"           // Commonly used object shapes
#include "textures.inc"         // LOTS of neat textures.  Lots of NEW textures.
#include "stones.inc"           // SPECIAL!  Mike Miller's stone library.

camera 
{
  location <200.0  150.0  -100.0>
  direction <0.0 0.0 2.9>
  //up  <0.0  1.0  0.0>
  right <1.4 0.0 0.0>
  look_at <20 0 10>
}

object { light_source { <-1200 1500 -200>  color White  } }
object { light_source { <500 500 -300>  color White  } }
object { light_source { <120 1300 200>  color Grey  } }

#declare brick1 = 
  object
  {
     difference
     {
        box { <-9.8 -9.8 -9.8> <49.8 29.8 29.8> } 
        box { <0 0 0> <39.8 30 19.8> } 
        quadric {  Cylinder_X       scale <5.0 5.0 5.0>  translate <0 20 10>}
        quadric {  Cylinder_Z       scale <5.0 5.0 5.0>  translate <10 20 0>}
        quadric {  Cylinder_Z       scale <5.0 5.0 5.0>  translate <30 20 0>}
     }
     texture  { color red 1.0 green 0.3 blue 0.3 }
  }

#declare pin1 = 
  object
  {
     intersection
     {
        box { <-4.9 -4.9 -4.9> <9.9 9.9 9.9> } 
        quadric {  Cylinder_X       scale <5.0 5.0 5.0>  }
     }
     texture  {   color red 0.6 green 1.3 blue 0.6  }
  }


composite
{
  object { brick1 translate <0 0 0>}
  object { pin1  rotate <0 90 0> translate <0 0 -25>}
}

object 
{
  sphere { <0.0 0.0 0.0> 10000.0 }
  texture
  {
     color red 1.0 green 1.0 blue 1.0
  }
  color red 10.2 green 0.9 blue 0.9
}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:55, 25 February 2009Thumbnail for version as of 13:55, 25 February 2009400 × 300 (9 KB)Rfc (talk | contribs)gap-closer-brick with pin Source: User:Rfc has created this image. Tool: POV-Ray Version 1.0 Scene code: #include "colors.inc" // Standard colors library #include "shapes.inc" // Commonly used object shapes #include "tex

The following page uses this file: