File:Bolide or comet 1.png

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

Original file(1,600 × 1,200 pixels, file size: 515 KB, MIME type: image/png)

Captions

Captions

Bolide or comet

Summary

[edit]
Description
English: Bolide or comet
Date
Source Own work
Author Merikanto

POV-Ray 3.7

// // meteor (bolide) or comet // pov-ray 3.7 source code // 27.1.2023 0000.0000 //

  1. include "functions.inc"
  2. include "shapes.inc"

// global_settings { assumed_gamma 2.5 }

// note for meteor/komet, important set up gamma high!

 global_settings { assumed_gamma 1 }
  1. declare color1= <1, 1, 0.5>*2;
  2. declare color2=<1, 0.5, 0>/2;
  1. declare color3=(color1+color2)/2  ;

camera {

       location <0,0, -3>
       look_at <0.0, 0, 0>
       angle 40

}


background{ color 0}

sky_sphere {

pigment {

   bozo
   scale 1/500
   color_map {
   [0 color rgbt <1,1,1,0>*10]
   [0.2 color rgbt <0,0,0,1>]
   [1 color rgbt <0,0,0,1>]
   }

}

pigment {
   bozo
   scale 1/100
   color_map {
   [0 color rgbt <1,1,1,0>*10]
   [0.05 color rgbt <0,0,0,1>]
   [1 color rgbt <0,0,0,1>]
   }

}


pigment { 

wrinkles scale 0.5 scale y/3

    color_map {
   [0 color rgbt <1,1/4,0,0.9>]
   [1 color rgbt <0,0,0,1>]
   }

}

}

#declare field1=object {
 disc {
   <0.0,0,0>,<0,0,-1>,1
 
   }
pigment {
 
 function {


// min (max( (( 1- pow( sin( ( (atan2(x,y)/(2*pi))-0.5 )*pi ) ,300) )+ sqrt(x*x+y*y) ),0), 1)


   // pow( (1-f_granite(x*10,y*1,z*5)) ,1/7)

(1*pow(

min (max( (( 1-  pow(  sin( ( (atan2(x,y)/(2*pi))-0.5 )*pi ) ,300)  )+   sqrt(x*x+y*y) ),0), 1)*pow( (1-f_granite(x*10,y*1,z*5)) ,1/10)
,1

) )


   }
                                                                                 

scale 1

   color_map { 


       [0/100 color rgb <1,1,2> transmit 0]
         [80/100 color rgb <0,0,0> transmit 1] 
        [100/100 color rgb <0,0,0> transmit 1] 
       }
    }
finish {ambient 1}

}


union {


  object {
   field1
   finish {ambient 2}
  }
scale 1

translate y*-0.3 scale 2

rotate z*60

}

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
current11:14, 27 January 2023Thumbnail for version as of 11:14, 27 January 20231,600 × 1,200 (515 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata