跳至內容

檔案:Sirius type double star animation 1.gif

頁面內容不支援其他語言。
出自維基百科

Sirius_type_double_star_animation_1.gif (800 × 600 像素,檔案大細:5.06 MB ,MIME類型:image/gif、循環、100 畫格、5.0秒)

箇隻檔案來自維基共享資源,佢可能拕應用嘚別嗰項目。 佢嗰檔案描述頁面顯示嘚下頭。

摘要

簡話
English: Star pair like Sirius. Artist rendering.
日期
來源 自己的作品
作者 Merikanto

POV-Ray and ImageMagick source code

ImageMagick script

magick convert -delay 5 -loop 0 *.png sirius_type_double_star_animation_1.gif

POV-Ray 3.8 .ini file

POV-Ray animation ini file

Antialias=Off Antialias_Threshold=0.1

Antialias_Depth=2 Quality=11

Input_File_Name="sirisu3.pov"

Initial_Frame=1 Final_Frame=100 Initial_Clock=0 Final_Clock=360

Cyclic_Animation=on Pause_when_Done=off

POV-Ray 3.8 source code

///////////////////////////// // // Sirius-type double star // // POV-Ray 3.8 source code // // 30.9.2023 v 0000.0001 // /////////////////////////////

  1. include "functions.inc"
  2. include "rand.inc"
  3. include "shapes3.inc"


  1. declare tau_ofset=90;
  1. declare taunolla=clock+tau_ofset;
  1. declare randi1=rand(1);
  2. declare randi2=rand(2);
  3. declare randi3=rand(3);
  1. declare tau1=radians(taunolla);
  2. declare tau2=radians(taunolla+180.0);
  1. declare ra=3;
  2. declare rb=3;
  3. declare ax = sin(tau1)*ra+0.5;
  4. declare ay = cos(tau1)*ra;
  1. declare bx = sin(tau2)*rb-0.5;
  2. declare by = cos(tau2)*rb;

//## stella atmosphere

  1. declare atm_thickness1=1.5 ;


  1. declare samples1=30; // media samples, greater value slower to render


camera { location <0,25,-150>*1 look_at 0 angle 5 }

  1. macro convection_pigment(c)

crackle pigment_map{ [0.0 rgb c*0.2] [0.2 rgb c] [0.9 rgb c] [1.0 rgb 1.0]

} warp{turbulence 1}

  1. end


  1. declare stella_object_type_1= object {
        sphere {0,1 } 
   // ovus {1,0.7 rotate x*90 rotate y*-90}
   //object { Egg_Shape (1.15,1.55)  rotate x*90 rotate y*-90}
   

// texture { pigment {color rgb <1,1/2,0>} finish {ambient 0 }} }

  1. declare stella_object_type_2= object {
        difference 
       {
        sphere {0,1+atm_thickness1 } 
        sphere {0,1.001 } 
       }

}

//#declare star_pigment_1= pigment { wrinkles turbulence 0.4 scale 0.005 translate taunolla/360 color_map { [0 color rgb starcolor1a] [1 color rgb starcolor1c] } }


  1. macro makestar1(color1, color2, color3, color4)

object { union {


  // main sequence stella

object {

 object { stella_object_type_1  }   
 // texture {pigment {color rgb  color1} finish {ambient 1} }

// texture { pigment { convection_pigment(color1) scale 0.05} finish {ambient 1} }

   texture { 
     wrinkles scale 0.02
 //   granite  scale 0.1
         translate x*tau1*0.2
   warp { turbulence 0.5 }
   texture_map {

     [0 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 1}]    
     [0.85 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 1/2}]  
     [0.9 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 2/5}]   
     [1 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 0.2}]    
 } 
          
 
} // ...tex
        
   scale 1
} // stella object
 


// stella korona try 1

object {
 object {stella_object_type_2}
   pigment{rgbt 1}
       hollow

      interior{ 
   media{ method 3      
        //   absorption (1-color1)*1 // darkening
          emission color3*3/10
       //  scattering{ 4,(1-color1)// Type
         
        //   } // end scattering
          density{ 
          // #declare qq=tau1/(pi*2);
          
 function {   
       pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )  
//   * pow( f_granite(  atan2(x,y), atan2(x,z),atan2(y,z)),1/1)
//   * pow( f_granite( atan2(x+f_wrinkles(x,y,z),y+f_granite(x,y,z)*0.2), 1,1),z)  
   * pow( f_granite( atan2(x+f_wrinkles(x,y,z),y+f_granite(x,y,z)*0.2), 1,1),2)  
  • 0.5

+ pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )*0.2 }

  //    translate x*tau1*0.2
   density_map
          { 
           [0 rgb color1*0.000000000] 
       //   [0.1 rgb color3*1]
          //   [0+atm_thickness1 rgb color3*1]
         
           [1 rgb color1*3] 
            }
          } // 
          samples samples1 
    }  // ... density
 } // ... interior
//  scale 1.0+atm_thickness1

// scale 0.9

} // ... obj stella atm


} // union } // object

  1. end // end makestar1 macro


  1. macro makestar2(color1, color2, color3, color4)

object { union {

  // main sequence stella

object {

 object { stella_object_type_1  }   
  texture {pigment {color rgb  color1} finish {ambient 1} }

// texture { pigment { convection_pigment(color1) scale 0.05} finish {ambient 1} }

// texture {

//     wrinkles scale 0.02
 //   granite  scale 0.1
//         translate x*tau1*0.2
//   warp { turbulence 0.5 }
//   texture_map {

//     [0 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 1}]    
//     [0.85 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 0.6}]  
//     [0.9 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 0.4}]   
//     [1 pigment { wrinkles turbulence 0.4 scale 0.005  translate taunolla/360   color_map {   [0 color rgb color1] [1 color rgb color3] }} finish {ambient 0.0}]    

// }

          // } // ...tex
        
   scale 1
} // stella object
 


// stella korona2 try 1

object {
 object {stella_object_type_1}
   pigment{rgbt 1}
       hollow

      interior{ 
   media{ method 3      
        //   absorption (1-color1)*1 // darkening
          emission color3*1/10
       //  scattering{ 4,(1-color1)// Type
         
        //   } // end scattering
          density{ 
      //    #declare qq=tau1/(pi*2);
 function {   

// pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )


//   * pow( f_granite(  atan2(x,y), atan2(x,z),atan2(y,z)),1/1)

// * pow( f_granite( atan2(x+f_wrinkles(x,y,z),y+f_granite(x,y,z)*0.1), 1,1),1/1) //*0.5 //+ pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )*0.2 // pow( 1/3*sqrt(4*(x*x+y*y+z*z)),-5 )*1

pow(f_spherical(x,y,z),2)*2
*f_wrinkles(x,y,z) *2
  • pow( f_granite( atan2(x,y)/2, atan2(x,z)/2,atan2(y,z)/2),1/1)

}

  //    translate x*tau1*0.2
   density_map
          { 
           [0 rgb color1*0.000000000] 
       //   [0.1 rgb color3*1]
          //   [0+atm_thickness1 rgb color3*1]
         
           [1 rgb color1*20] 
            }
          } // 
          samples samples1 
    }  // ... density
 } // ... interior
  scale 3

// scale 0.9

} // ... obj stella atm


} // union } // object

  1. end // end makestar1 macro


// star 1

  #declare color1=<1,1,1>*1.2;
#declare color2=<1,1,1,0>*1.2;   
  1. declare color3=<1,1,1.4>*1;
#declare color4=<1,1,1.4,0>*1;  


union {

makestar1(color1, color2, color3, color4 )    
  scale 1.68*1   
   rotate taunolla
// scale 1
    translate <ax,0,ay>*1 
  }

// star 2

  #declare color1=<1,1,2>*2;
#declare color2=<1,1,3,0>;   
  1. declare color3=<1,1,1.5>*2;
#declare color4=<1,1,1.5,0>;  

union {

makestar2(color1, color2, color3, color4 )   
   rotate taunolla 
   scale 1/5
    translate <bx,0,by>*1 
  }

授權

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
w:zh:創用CC
姓名標示 相同方式分享
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
  • 相同方式分享 – 如果您利用本素材進行再混合、轉換或創作,您必須基於如同原先的相同或兼容的條款,來分布您的貢獻成品。

說明

添加單行說明來描述出檔案所代表的內容
Double star that has A-spectral class star and white dwaf

在此檔案描寫的項目

描繪內容 繁體中文

創作作者 繁體中文

沒有維基數據項目的某些值

著作權狀態 繁體中文

有著作權 繁體中文

檔案來源 Chinese (Taiwan) (已轉換拼寫)

成立或建立時間 繁體中文

30 9 2023

檔案歷史

按到日期/時間去眵吖許時間有過嗰檔案。

日期/時間縮圖尺寸用戶說明
眼前2023年9月30日 (禮拜六) 17:36到2023年9月30日 (禮拜六) 17:36嗰縮圖版本800 × 600(5.06 MB)MerikantoUploaded own work with UploadWizard

冇頁面連結到箇隻檔案。

全域文件用途

以下其他 wiki 使用了這個檔案:

元數據