File:Povray grass for cones vturbulence 1.png

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

Original file(3,200 × 2,400 pixels, file size: 2.18 MB, MIME type: image/png)

Captions

Captions

Povray grass vturbulence

Summary[edit]

Description
English: Simple grass with POV-Ray.
Date
Source Own work
Author Merikanto

Pov-Ray 3.7 source code

   #include "colors.inc"      
  
  
  camera {
  location <40,3,-20>
  look_at <40,5,0>   
 angle 15
  }
  
  
   
   
        sky_sphere{  
         pigment{
           gradient y
           
           
           color_map{
             [0.97 color rgb<0.3,0.4,1.2>]
             [0.9991 color rgb<1,1,0.9> filter 0.1]
             [0.9994 White*1.2]  
             
             
           } 
                
           
              /*
              
                       color_map{
             [0.85 color rgb<0.3,0.4,1.2>/4]
             [0.99 color rgb<1.0,0.5,0.1> filter 0.1]
             
             [0.9995 Yellow*1.2]  
             
             
           }    
           */
           rotate x*90
          
           rotate x*-4
         } 
         
         
                 pigment{
             wrinkles   
             octaves 100
             turbulence 0.5
             omega 0.5 
             lambda 2
             color_map{
               [ 0.65 color rgbt<1.0,1.0,1.0,1.0>]
               [ 1.0 color rgbt <1,1,1,0> ]
             }
             scale <1, 0.3, 1>
           }
         
         
       //  rotate x*0
         
         
         }     
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         // fog on the ground -------------------------------------------------

fog { fog_type 2

     distance   250
     color      White  
     fog_offset 0.0
     fog_alt    2
     turbulence 1.8
   }

// ground ------------------------------------------------------------ plane { <0,1,0>, 0

       texture{ pigment{color rgb<0.35,0.65,0.0>*0.8}
                normal {bumps 0.75 scale 0.015}
                finish {ambient 0.1 diffuse 0.8}
              } // end of texture
     } // end of plane        
     
     
     
     
#macro R(V)

// vturbulence(2,.5,6,V/3)*24 vturbulence(2,.5,6,V/18)*24


  1. end
  1. local i=0;

//#while ( i<16384 )

  1. while ( i<80000 )

#local p = mod(i,256)*(z-x) + (z+x)*i/256; // #local p = mod(i,128)*(z) + (x)*i/128;

#local p = p + R(p);


cone { p-18*y-18,.5,


p+R(p),0

pigment { rgb <0,1.0,0> //rgb <3,2.83,2>

// rgb 3-y/6-z


} } #local i=i+1;

  1. end

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
current16:56, 11 May 2022Thumbnail for version as of 16:56, 11 May 20223,200 × 2,400 (2.18 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata