File:Povray clouds above sea and lava islands 1.png

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

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

Captions

Captions

Clouds above sea and lava islands

Summary

[edit]
Description
English: Clouds above sea and lava islands
Date
Source Own work
Author Merikanto

This image is made with Povray 3.7.

//
// povray 3.7 
// fog and cloud layer over sea and rocky island
//  


  1. include "colors.inc"
  2. include "shapes.inc"
  3. include "textures.inc"
  4. include "stones.inc"
  5. include "metals.inc"
  6. include "glass.inc"
  7. include "consts.inc"

camera {

  location <0.0, 0, -10>
  angle 90
//  right   x*image_width/image_height
  look_at <0, 0, 0>

}

light_source { <300, 500, 500> color White }


// sky

sphere{<0,0,0>,1 hollow 
  texture{
          pigment{gradient <0,1,0>
          color_map{
           [0 color White]
           [1 color rgb<0,0.1,0.8> ]}
            quick_color White 
            }
             finish {ambient 1 diffuse 0}
           } 
          scale 10000
     } 
  


// cloud layer pigment

  1. declare Cloud_s8=pigment { average
 pigment_map {
   [1 planar]
   [1 wrinkles turbulence 1.5 scale 50 ]
 }

}

// cloud layer box object
     

box { <-10000,-5,-10000>,<10000,5,10000> hollow

 texture { pigment { rgbt 1 } }
 
 interior {
       media {
        scattering { 1 .5 } method 3 samples 30,100 intervals 1
           density { 
           pigment_pattern { 
               Cloud_s8
               scale 2.0
           }
       
       density_map { [.6 rgb 0][.61 rgb 1] }
     }
   }
 
 }

translate y*300

}


// fog layer


fog{ fog_type 2

    distance   50
    // distance 25 
    color      rgb<1,0.97,0.85>
    fog_offset 0.1 
    //fog_alt    0.5 
    fog_alt 13
    turbulence 0.2
    }
  
     



// single cloud media object

// cloud media

//box{ <-1,-1,-1>,<1,1,1>

sphere {0,1

 texture{
   pigment{ rgbf 1} 
 } 
 
 interior{
  media{
   method 3
   //intervals 2
   samples 10,10
   absorption 1
   emission 0.5
   scattering{ 0.8,<1,1,1>*0.5}
   density{ bozo
            color_map {
             [0.00 rgb 0]
             [0.50 rgb 0.01]
             [0.65 rgb 0.1]
             [0.75 rgb 0.5]
             [1.00 rgb 0.2]
            } 
            turbulence 0.85
            scale  0.75
            translate<1, 0.75,2>
          } 
   density{  //boxed 
              spherical
             color_map {
              [0.0 rgb 0]    
              [0.1 rgb 0.05]
              [1.0 rgb 1]    
             } 
            scale <1,1,1>*1
          } 
  } 
 } 

   hollow

  // scale<1,0.5, 1> 
  // translate<0,0.5,0>
   scale 15 
   translate<0,10,10>

}




// sea


plane { y, -4

       texture{pigment { rgb <0.2, 0.2, 0.2> } 
              
                 
        normal {pigment_pattern{ 
               crackle  
                colour_map { 
                [0, rgb 0]
                [1, rgb 1] 
                } 
                                                     
                                         
                turbulence 1.7 translate<0,0,1>} 
                  
                 0.5
                 scale 2
                  
                 }    
                   
             
             /*       
                normal{ crackle 0.15
               scale 0.75
               turbulence 0.3
               translate<-1,0,5>
               }  
                  
           
           */
                  
             finish { ambient 0.15 diffuse 0.65 
                      brilliance 6.0 phong 0.8 phong_size 120
                      reflection 0.6}
            
             scale <2.0,1,0.3>*2  
             scale 0.3
             rotate<0,10,0>
            
            }

}


// functions for rocky islands height fields


  1. declare fn_2=function {
   pigment {
     agate
     color_map {
       [0 color rgb 0]
       [1 color rgb 1]
     }
   }
 }  
  
  
  


#declare fn_1 = function

{

 pigment
 {
   bumps
   warp
   { turbulence 0.5 }
   scale 0.2
 }

}


  1. declare Stone_x1 =

color_map {

   [0.0 rgb 0]
   [0.5 rgb <0.9, 0.7, 0.6>]
   [0.6 rgb <0.9, 0.7, 0.4>]
   [1.0 rgb <0.7, 0.4, 0.2>]

}

// Brown and white agate -- very pretty.

  1. declare Stone_y1 =

pigment {

   granite
   color_map { Stone_x1 }

}


// rocky islands

object {

 height_field
 {
   function 400, 400
   { 
   
   //  fn_Hills (x, y, z).red 
    fn_1 (x, y, z).red  -fn_2(x/4, y/4, z/4).gray*0.
   
   }
   
   smooth
 }


 texture {
 
   pigment { Stone_y1 }
   scale 0.0001    
   
   //normal{granite 3 frequency 10 scale .002}
   
   finish{ambient 0 diffuse .42 phong 0.05} 


 }      
       
       
 translate <-0.5, -0.5, -0.5>
 scale <20, 4, 20>
 translate <0,-4.5,0>

}



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
current10:27, 27 March 2022Thumbnail for version as of 10:27, 27 March 20222,400 × 1,800 (4.07 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata