File:Fictional exomoon 1.png

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

Original file(2,400 × 1,800 pixels, file size: 2.41 MB, MIME type: image/png)

Captions

Captions

Fictional exomoon

Summary[edit]

Description
English: Fictional exomoon
Date
Source Own work
Author Merikanto

POV-ray 3.8 source code

  1. include "functions.inc"
  2. include "textures.inc"
  3. include "metals.inc"
  4. include "colors.inc"

default { finish { ambient 0.000002 diffuse 0.4 } }

camera {

   location <0,100,0>
   look_at <0,0,0>
   angle 18

}


light_source { <1,1,0>*100000000 color rgb <1,1,1>*2 }



#declare norma1=function {
 
 pigment {
wrinkles    
octaves 16

}

}


 #declare norma2=function {
 
 pigment {
//  wrinkles
          
          
granite   
 octaves 16
// agate
  sine_wave
}

}

  #declare norma3=function {
 
 pigment {

//granite 
  agate    
   octaves 16
  sine_wave
}

}

#declare funka_norma1=
      function {
  


       - norma1(x/2,y/2,z/2).gray/2
          - norma1(x,y,z).gray/4
           - norma1(x*2,y*2,z*2).gray/8
                - norma1(x*4,y*4,z*4).gray/16
                
           - norma1(x*8,y*8,z*8).gray/32
           - norma1(x*16,y*16,z*16).gray/64
     
                  - norma1(x*32,y*32,z*32).gray/128
           - norma1(x*64,y*64,z*64).gray/256
                    - norma1(x*128,y*128,z*128).gray/512
           - norma1(x*256,y*256,z*256).gray/1024
                              - norma1(x*256,y*256,z*256).gray/1024
           - norma1(x*512,y*512,z*512).gray/2048             
             - norma1(x*1024,y*1024,z*1024).gray/4096    
                 - norma1(x*2048,y*2048,z*2048).gray/8192    
      
       }



  
 #declare funka_norma2=
      function {
  


       - norma2(x/2,y/2,z/2).gray/2
          - norma2(x,y,z).gray/4
           - norma2(x*2,y*2,z*2).gray/8
                - norma2(x*4,y*4,z*4).gray/16
                
           - norma2(x*8,y*8,z*8).gray/32
           - norma2(x*16,y*16,z*16).gray/64
     
                  - norma2(x*32,y*32,z*32).gray/128
           - norma2(x*64,y*64,z*64).gray/256
                    - norma2(x*128,y*128,z*128).gray/512
           - norma2(x*256,y*256,z*256).gray/1024
                              - norma2(x*256,y*256,z*256).gray/1024
           - norma2(x*512,y*512,z*512).gray/2048             
             - norma2(x*1024,y*1024,z*1024).gray/4096    
                 - norma2(x*2048,y*2048,z*2048).gray/8192    
      
       }
  
  
  #declare funka_norma3=
      function {
  


       - norma3(x/2,y/2,z/2).gray/2
          - norma3(x,y,z).gray/4
           - norma3(x*2,y*2,z*2).gray/8
                - norma3(x*4,y*4,z*4).gray/16
                
           - norma3(x*8,y*8,z*8).gray/32
           - norma3(x*16,y*16,z*16).gray/64
     
                  - norma3(x*32,y*32,z*32).gray/128
           - norma3(x*64,y*64,z*64).gray/256
                    - norma3(x*128,y*128,z*128).gray/512
           - norma3(x*256,y*256,z*256).gray/1024
                              - norma3(x*256,y*256,z*256).gray/1024
           - norma3(x*512,y*512,z*512).gray/2048             
             - norma3(x*1024,y*1024,z*1024).gray/4096    
                 - norma3(x*2048,y*2048,z*2048).gray/8192    
      
       } 
 
  
   
  #declare funka1= function {
           exp(funka_norma1(x/100,y/100,z/100)  *exp(-funka_norma2(x/100,y/100,z/100) )  )
   }
   
   

   #declare funka2= function {
          funka_norma2(x/100,y/100,z/100)
   }
   

     
  
   #declare funka3= function {
         exp( funka_norma2(x/100,y/100,z/100) )
   }
   
    


 object  
 {    
 
   //   sphere {
 //   0,10 }
 
 isosurface {
   function {
  f_sphere(x,y,z,10)+ funka3(x,y,z)  
  }
   
   contained_by 
   {
   sphere { 0,11 }
   }
   
 }
   

// scale 10



         texture { 
     pigment {
       
       function {
       funka2(x,y,z)
                 }
                 
       color_map {  
       [0 color rgb <1,1,1> ]
    //   [0.0 color rgb <0.96, 0.77, 0.52>]
       [1.0 color rgb <0.72, 0.59, 0.44>]
       }
     // color rgb <1,1,1>   
     scale 0.5
     }      
     
     
       /*
      normal 
      {
        function {
              
               funka1(x,y,z)
               
   
      //   1 * funka_norma1(x/2,y/2,z/2)
         
        // log(norma1(x*2048,y*2048,z*2048).gray/1.5)
       
               }
       
      
           bump_size 30
           scale 2
      
      }
         */ 
         
  
       
     }
     
 

}

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

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

Date/TimeThumbnailDimensionsUserComment
current17:33, 18 September 2022Thumbnail for version as of 17:33, 18 September 20222,400 × 1,800 (2.41 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata