File:UniversalBricks01.jpg
UniversalBricks01.jpg (800 × 600 pixels, file size: 39 KB, MIME type: image/jpeg)
sectional view of the connection principle of a six-hole-cube with pins
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 150.0 -100.0>
direction <0.0 0.0 3.9>
right <1.4 0.0 0.0>
look_at <0 0 0>
}
object { light_source { <700 1300 -500> 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> }
box { < 0.0 0.0 -9.9> <9.9 9.9 9.9> }
}
texture { color red 1.0 green 0.3 blue 0.3 }
}
#declare brick2 =
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> }
box { < -9.9 0.0 -9.9> <9.9 9.9 9.9> }
}
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 }
}
#declare pin2 =
object
{
intersection
{
box { <-4.9 -4.9 -4.9> <14.9 14.9 14.9> }
quadric { Cylinder_X scale <5.0 5.0 5.0> }
}
texture { color red 0.6 green 0.6 blue 1.3 }
}
composite
{
object { brick1 translate <0 0 0>}
object { brick1 translate <0 0 20>}
object { brick1 translate <0 0 -20>}
object { brick2 translate <20 0 0>}
object { brick2 translate <20 0 -20>}
object { brick2 rotate <0 0 -90> translate <0 20 0>}
object { pin1 rotate <0 0 90> translate <0 10 0>}
object { pin1 rotate <0 0 0> translate <10 0 0>}
object { pin2 rotate <0 -90 0> translate <0 0 0>}
rotate <0 0 0>
}
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/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 13:11, 17 October 2008 | 800 × 600 (39 KB) | Rfc (talk | contribs) | sectional view of the connection principle of a six-hole-cube with pins Source: User:Rfc has created this image. Tool: POV-Ray Version 1.0 Scene code: #include "colors.inc" // Standard colors library #include "shapes.inc" / |
You cannot overwrite this file.
File usage
The following page uses this file:






