File:SphereCover.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (1,024 × 768 pixels, file size: 96 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: A covering of a sphere by two overlapping (slightly more than) hemispheres and their intersection.
Date
Source Own work using POV-Ray
Author RobHar

Data file

[edit]

The following is the POV-Ray code used to produce this output.

#include "colors.inc"
#include "shapes.inc"   
#include "textures.inc"

camera
{
       location <0, 2, -3>
       look_at <0, 0, 0>
}                                 

//Blue part
object
{
sphere
{
       <0, 0, 0>, 1
       texture
       {
               pigment
               { 
                       checker color Blue color rgb <0.5,0.5,1>
                       scale 0.25
               }
               finish { ambient 0.3 }
       }
}

clipped_by{plane{-y,-0.15}}
rotate <23,0,23>         
}

//Red part
object
{
sphere
{
       <0, 0, 0>, 1
       texture
       {        
               pigment
               {
                       checker color rgb <1,0.5,0.5> color Red
                       scale 0.25
               }
               finish { ambient 0.3 }
       }
}      

clipped_by{plane{y,-0.15}}
rotate <23,0,23>        
}

//Middle part
object
{
sphere
{
       <0, 0, 0>, 1
       texture
       {        
               pigment
               {
                       checker color Blue color rgb Red
                       scale 0.25
               }
               finish { ambient 0.3 }   
       }
}

clipped_by{plane{y,0.15}}
clipped_by{plane{-y,0.15}}
rotate <23,0,23>        
}   

//Blue line
object
{
sphere
{
       <0, 0, 0>, 1.001
       texture
       {        
               pigment
               {
                       checker color Red color Blue
                       scale 0.25
               }
               finish { ambient 0.3 }
                  
       }
}

clipped_by{plane{y,0.150}}
clipped_by{plane{-y,-0.14}}
rotate <23,0,23>        
}

//Red line
object
{
sphere
{
       <0, 0, 0>, 1.001
       texture
       {        
               pigment
               {
                       checker color Red color Blue
                       scale 0.25
               }
               finish { ambient 0.3 }
                  
       }
}

clipped_by{plane{-y,0.150}}
clipped_by{plane{y,-0.14}}
rotate <23,0,23>        
}

plane
{
       <0, 1, 0>, -1
       no_image
}

text {
       ttf "cyrvetic.ttf" "A" 0.05, 0
       pigment { Blue }
       finish { ambient 0.3 }
       scale 0.3             
       translate -1.39*x +0*y -0.5*z
       rotate <33.7,0,0>
}

text {
       ttf "cyrvetic.ttf" "B" 0.05, 0
       pigment { Red }
       finish { ambient 0.3 }
       scale 0.3             
       translate -1.06*x -0.84*y -0.5*z
       rotate <33.7,0,0>
}

text {
       ttf "cyrvetic.ttf" "A   B" 0.05, 0
       pigment { checker color Blue color rgb Red scale 0.1 }
       finish { ambient 0.3 }
       scale 0.3             
       translate -1.53*x -0.42*y -0.5*z
       rotate <33.7,0,0>
}

text {
       ttf "cyrvetic.ttf" " U " 0.05, 0
       pigment { checker color Blue color rgb Red scale 0.1 }
       finish { ambient 0.3 }
       rotate <180,0,0>
       scale 0.3             
       translate -1.39*x -0.2*y -0.5*z
       rotate <33.7,0,0>
}                               

light_source { <0, 3, -2> color White}

Licensing

[edit]
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

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

Date/TimeThumbnailDimensionsUserComment
current06:14, 16 December 2008Thumbnail for version as of 06:14, 16 December 20081,024 × 768 (96 KB)RobHar (talk | contribs){{Information |Description={{en|1=A covering of a sphere by two overlapping (slightly more than) hemispheres and their intersection.}} |Source=Own work using POV-Ray |Author=RobHar |Date=2008-12-16 |Permission= |other_versions= }} <!--{{I

There are no pages that use this file.