ファイル:SphereCoverStriped.png

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (700 × 663 ピクセル、ファイルサイズ: 119キロバイト、MIME タイプ: image/png)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    English: A covering of a sphere by two overlapping (slightly more than) hemispheres and their intersection using striped patterns for clarity.
    日付
    原典 Own work using POV-Ray
    作者 RobHar

    Data file

    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>
    }
    
    //Striped textures
    #declare bluestripes = texture
           {
                   pigment
                   { 
                           gradient y
                           colour_map{[0 rgb <0,0,1>][0.1 rgb <1,1,1>]}
                   }
                   scale 0.1
                   finish { ambient 0.3 }
                   rotate <0,0,90>
           }
            
    #declare redstripes = texture
           {
                   pigment
                   {
                           gradient y
                           colour_map{[0 rgb <0.8,0,0>][0.1 rgb <1,1,1>]}
                   }
                   scale 0.1
                   finish { ambient 0.3 }          
           }
           
    #declare blueredstripes = texture
           {        
                   pigment
                   {
                           gradient y
                           colour_map{[0 rgb <0.8,0,0>][0.1 rgb <1,1,1>]}
                   }
                   scale 0.1
                   finish { ambient 0.3 }   
           }              
           texture
           {
                   pigment
                   {
                           gradient y
                           colour_map{[0 rgb <0,0,0.8>][0.1 rgb <1,1,1> filter 1]}
                   }
                   scale 0.1
                   finish { ambient 0.3 }
                   rotate <0,0,90>  
           }
    
    //Blue part of sphere
    object
    {
    sphere
    {
           <0, 0, 0>, 1
           texture
           {
                   bluestripes
           }
    }
    clipped_by{plane{-y,-0.15}}
    
    rotate <23,0,23>         
    }
    
    //Red part of sphere
    object
    {
    sphere
    {
           <0, 0, 0>, 1
           texture
           {
                   redstripes          
           }
    }
    clipped_by{plane{y,0.15}}
    
    rotate <23,0,23>        
    }
    
    //Middle part of sphere
    object
    {
    sphere
    {
           <0, 0, 0>, 1
           texture
           {
                   blueredstripes
           }
    }
    clipped_by{plane{y,0.15}}
    clipped_by{plane{-y,0.15}}
    
    rotate <23,0,23>        
    }   
    
    //Patterned tiles for legend
    #declare tile = object
           {
                   plane
                   {
                           <0,2,-3>, 0
                           clipped_by{plane{y,0.12}}
                           clipped_by{plane{-y,0.12}}
                           clipped_by{plane{x,0.17}}
                           clipped_by{plane{-x,0.17}}
                           translate <-0.02,-0.8,-1.9>
                   }
           }
    
    //Blue striped tile
    object
    {
           tile
           texture
           {
                   bluestripes
           }
           scale 0.7
           translate <-0.67,0,0>
    }
    
    //Blue and Red striped tile
    object
    {
           tile
           texture
           {
                   blueredstripes
           }
           scale 0.7
    }
    
    //Red striped tile
    object
    {
           tile
           texture
           {
                   redstripes
           }
           scale 0.7
           translate <0.62,0,0>
    }
    
    //Letters for legend        
    text {
           ttf "cyrvetic.ttf" "A" 0.05, 0
           pigment
           { 
                   colour Blue
           }
           finish { ambient 0.3 }
           scale 0.3          
           translate -0.85*x -1.2*y -0.5*z
           rotate <33.7,0,0>
    }
    
    text {
           ttf "cyrvetic.ttf" "B" 0.05, 0
           pigment
           {
                   colour Red
           }                
           finish { ambient 0.3 }
           scale 0.3             
           translate 0.6*x -1.2*y -0.5*z
           rotate <33.7,0,0>
    }
    
    text {
           ttf "cyrvetic.ttf" "A" 0.05, 0
           pigment { colour Blue }
           finish { ambient 0.3 }
           scale 0.3             
           translate -0.34*x -1.2*y -0.5*z
           rotate <33.7,0,0>
    }
    
    text {
           ttf "cyrvetic.ttf" " U " 0.05, 0
           pigment { colour Black }
           finish { ambient 0.3 }
           rotate <180,0,0>
           scale 0.3             
           translate -0.2*x -0.977*y -0.5*z
           rotate <33.7,0,0>
    }
    
    text {
           ttf "cyrvetic.ttf" "B" 0.05, 0
           pigment
           {
                   colour Red
           }                
           finish { ambient 0.3 }
           scale 0.3             
           translate 0.12*x -1.2*y -0.5*z
           rotate <33.7,0,0>
    }
    
    //Empty background
    plane
    {
           <0, 1, 0>, -2
           no_image
    }                               
    
    light_source { <0, 3, -2> color White}
    

    ライセンス

    Public domain この作品の著作権者である私は、この作品についての権利を放棄しパブリックドメインとします。これは全世界で適用されます。
    一部の国では、これが法的に可能ではない場合があります。その場合は、次のように宣言します。
    私は、あらゆる人に対して、法により必要とされている条件を除き、如何なる条件も課すことなく、あらゆる目的のためにこの著作物を使用する権利を与えます。

    キャプション

    このファイルの内容を1行で記述してください

    このファイルに描写されている項目

    題材

    17 12 2008

    121,416 バイト

    663 ピクセル

    700 ピクセル

    032f73319f72ab93f4669776ac4c6b44c489b9b2

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2008年12月17日 (水) 18:392008年12月17日 (水) 18:39時点における版のサムネイル700 × 663 (119キロバイト)wikimediacommons>RobHar{{Information |Description={{en|1=A covering of a sphere by two overlapping (slightly more than) hemispheres and their intersection using striped patterns for clarity.}} |Source=Own work using POV-Ray |Author=RobHar |Date=2008-12-17 |Permi

    このファイルを使用しているページはありません。