File:UniversalBricks02.jpg

From Marspedia
Revision as of 08:26, 17 October 2008 by Rfc (talk | contribs) (another format enhancement)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Wall made from universal bricks.

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 <160.0  45.0  120.0>
  direction <0.0 0.0 1.6>
  up  <0.0  1.0  0.0>
  right <1.4 0.0 0.0>
  look_at <0 20 -10>
}

object { light_source { <700 1300 -200>  color White  } }
object { light_source { <700 500 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  {   Brown_Agate }
     translate <0 10 0>
  }

#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  {   Brown_Agate  }
     translate <0 10 0>
  }

composite
{
  object { pin1  rotate <0 30 0> translate <40 -5 50>}
  object { pin1  rotate <0 80 0> translate <65 -5 30>}
  object { pin1  rotate <0 10 0> translate <90 -5 10>}

  object { brick1 translate <0 0 0>}
  object { brick1 translate <0 0 20>}
  object { brick1 translate <0 0 40>}
  object { brick1 translate <0 0 60>}
  object { brick1 translate <0 20 0>}
  object { brick1 translate <0 20 20>}
  object { brick1 translate <0 20 40>}
  object { brick1 translate <0 20 60>}
  object { brick1 translate <0 40 0>}
  object { brick1 translate <0 40 20>}
  object { brick1 translate <0 40 40>}
  object { brick1 translate <0 40 60>}
  object { brick1 translate <0 20 20>}

  object { brick1 rotate <0 20 0> translate <50 0 0>}
  object { brick1 rotate <0 60 0> translate <50 0 -60>}

  bounded_by 
  {
     // Same as radius of glass sphere, not the box!
     box {UnitBox scale <100.75 100.75 100.75> }
  }

  rotate <0 0 0>
}

object 
{
  plane { <0.0 1.0 0.0> 0.0 }
  texture
  {
     0.05  /* This value dithers the colors */
     color red 1.2 green 0.9 blue 0.8
     waves 1.0
     frequency 2000.0
     scale <50000.0 50000.0 50000.0>
     ambient 0.1
     diffuse 0.3
  }
  color red 1.2 green 0.9 blue 0.9
}

object 
{
  sphere { <0.0 0.0 0.0> 10000.0 }
  texture
  {
     color red 1.8 green 1.5 blue 1.4
     waves 0.6
     frequency 50.0
     scale <50000.0 50000.0 50000.0>
     ambient 0.1
     diffuse 0.3
  }
  rotate <90 0 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:34, 16 October 2008Thumbnail for version as of 13:34, 16 October 2008800 × 600 (96 KB)Rfc (talk | contribs)Wall made from universal bricks. Source: User:Rfc has painted this image. Tool: POV-Ray Version 1.0 Scene: #include "colors.inc" // Standard colors library #include "shapes.inc" // Commonly used object shapes #include "textures.

The following 2 pages use this file: