Difference between revisions of "File:UniversalBricks02.jpg"

From Marspedia
Jump to: navigation, search
(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.)
 
m (another format enhancement)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Wall made from universal bricks.
 
Wall made from universal bricks.
  
Source: [[User:Rfc]] has painted this image.
+
Source: [[User:Rfc]] has created this image.
  
 
Tool: POV-Ray Version 1.0
 
Tool: POV-Ray Version 1.0
Scene:
 
  
#include "colors.inc"          // Standard colors library
+
Scene code:
#include "shapes.inc"          // Commonly used object shapes
+
#include "textures.inc"        // LOTS of neat textures.  Lots of NEW textures.
+
#include "colors.inc"          // Standard colors library
#include "stones.inc"          // SPECIAL!  Mike Miller's stone library.
+
#include "shapes.inc"          // Commonly used object shapes
 
+
#include "textures.inc"        // LOTS of neat textures.  Lots of NEW textures.
camera  
+
#include "stones.inc"          // SPECIAL!  Mike Miller's stone library.
{
+
 +
camera  
 +
{
 
   location <160.0  45.0  120.0>
 
   location <160.0  45.0  120.0>
 
   direction <0.0 0.0 1.6>
 
   direction <0.0 0.0 1.6>
Line 18: Line 19:
 
   right <1.4 0.0 0.0>
 
   right <1.4 0.0 0.0>
 
   look_at <0 20 -10>
 
   look_at <0 20 -10>
}
+
}
 
+
object { light_source { <700 1300 -200>  color White  } }
+
object { light_source { <700 1300 -200>  color White  } }
object { light_source { <700 500 200>  color Grey  } }
+
object { light_source { <700 500 200>  color Grey  } }
 
+
#declare brick1 =  
+
#declare brick1 =  
 
   object
 
   object
 
   {
 
   {
Line 36: Line 37:
 
       translate <0 10 0>
 
       translate <0 10 0>
 
   }
 
   }
 
+
#declare pin1 =  
+
#declare pin1 =  
 
   object
 
   object
 
   {
 
   {
Line 48: Line 49:
 
       translate <0 10 0>
 
       translate <0 10 0>
 
   }
 
   }
 
+
composite
+
composite
{
+
{
 
   object { pin1  rotate <0 30 0> translate <40 -5 50>}
 
   object { pin1  rotate <0 30 0> translate <40 -5 50>}
 
   object { pin1  rotate <0 80 0> translate <65 -5 30>}
 
   object { pin1  rotate <0 80 0> translate <65 -5 30>}
 
   object { pin1  rotate <0 10 0> translate <90 -5 10>}
 
   object { pin1  rotate <0 10 0> translate <90 -5 10>}
 
+
 
   object { brick1 translate <0 0 0>}
 
   object { brick1 translate <0 0 0>}
 
   object { brick1 translate <0 0 20>}
 
   object { brick1 translate <0 0 20>}
Line 68: Line 69:
 
   object { brick1 translate <0 40 60>}
 
   object { brick1 translate <0 40 60>}
 
   object { brick1 translate <0 20 20>}
 
   object { brick1 translate <0 20 20>}
 
+
 
   object { brick1 rotate <0 20 0> translate <50 0 0>}
 
   object { brick1 rotate <0 20 0> translate <50 0 0>}
 
   object { brick1 rotate <0 60 0> translate <50 0 -60>}
 
   object { brick1 rotate <0 60 0> translate <50 0 -60>}
 
+
 
   bounded_by  
 
   bounded_by  
 
   {
 
   {
Line 77: Line 78:
 
       box {UnitBox scale <100.75 100.75 100.75> }
 
       box {UnitBox scale <100.75 100.75 100.75> }
 
   }
 
   }
 
+
 
   rotate <0 0 0>
 
   rotate <0 0 0>
}
+
}
 
+
object  
+
object  
{
+
{
 
   plane { <0.0 1.0 0.0> 0.0 }
 
   plane { <0.0 1.0 0.0> 0.0 }
 
   texture
 
   texture
Line 95: Line 96:
 
   }
 
   }
 
   color red 1.2 green 0.9 blue 0.9
 
   color red 1.2 green 0.9 blue 0.9
}
+
}
 
+
object  
+
object  
{
+
{
 
   sphere { <0.0 0.0 0.0> 10000.0 }
 
   sphere { <0.0 0.0 0.0> 10000.0 }
 
   texture
 
   texture
Line 111: Line 112:
 
   rotate <90 0 0>
 
   rotate <90 0 0>
 
   color red 10.2 green 0.9 blue 0.9
 
   color red 10.2 green 0.9 blue 0.9
}
+
}
 
+
  
  
 
[[category:images]]
 
[[category:images]]

Latest revision as of 08:26, 17 October 2008

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: