File:UniversalBricks00.jpg

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

UniversalBricks00.jpg(800 × 600 pixels, file size: 21 KB, MIME type: image/jpeg)

six-hole-cube 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 <100.0  40.0  -65.0>
  direction <0.0 0.0 2.9>
  //up  <0.0  1.0  0.0>
  right <1.4 0.0 0.0>
  look_at <0 0 -10>
}

object { light_source { <700 500 -500>  color White  } }
object { light_source { <700 300 200>  color Grey  } }

#declare brick1 = 
  object
  {
     difference
     {
        box { <-9.8 -9.8 -9.8> <9.8 9.8 9.8> } 
        quadric {  Cylinder_X       scale <5.0 5.0 5.0>  }
        quadric {  Cylinder_Y       scale <5.0 5.0 5.0>  }
        quadric {  Cylinder_Z       scale <5.0 5.0 5.0>  }
     }
     texture  { color red 1.0 green 0.3 blue 0.3 }
  }

#declare pin1 = 
  object
  {
     intersection
     {
        box { <-4.9 -4.9 -4.9> <4.9 4.9 4.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
current14:06, 17 October 2008Thumbnail for version as of 14:06, 17 October 2008800 × 600 (21 KB)Rfc (talk | contribs)six-hole-cube 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

The following page uses this file: