File:Neptune-like planet 1.png

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

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

Captions

Captions

Neptune-like planet

Summary

[edit]
Description
English: Neptune-like planet. Impression of artist.
Date
Source Own work
Author Merikanto

POV-Ray 3.8 source code

/////////////////////////////////////// // // Neptune-like planet // pov-ray 3.7 source code // // // 27.9.2023 0000.0000 // /////////////////////////

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

camera { location <0,0,-10>*0.8 look_at 0 angle 20 }

light_source { <1,1/2,-100>*1000*1000*1000*1000 color rgb <1,1,1>*3

}


  1. default {
   texture {
    pigment { rgb <0,0,0> }
    normal { bumps 0.0 }
    finish { ambient 0.0 }
  }

}


  1. declare planet1=object {

//plane {y,0}

sphere {0,1 }

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


// spots 1....

  texture { 

pigment {

//waves

function { // f_marble(y,0,0) * f_leopard(x*20,y*40,z*20) * f_agate(y,0,0) f_agate(y,0,0) * f_leopard(x*20,y*40,z*20) * f_granite(y,0,0)

// f_granite(y,0,0) * f_leopard(x*20,y*40,z*20) // f_leopard(x*10,y*20,z*10) // f_leopard(x*5,y*10,z*5) // og

// f_wrinkles(f_leopard(x*5,y*10,z*5),0,0)

// f_leopard(x*5*f_wrinkles(x,y,z),y*10,z*5)

// f_leopard(x*5*f_wrinkles(x,y,z),y*10*f_wrinkles(x,y,z),z*5)

//   f_leopard(x*5*f_wrinkles(x*1000,y*1000,z*1000),y*10,z*5)

}

 scale 3

//warp { turbulence 0.05}

//warp { repeat x*5} warp { repeat y*5} warp { repeat z*5} //scale y/2

pigment_map { //[0/16 color rgbt <0.90, 0.76, 0.50,0.7>] // [16/16 color rgbt <0.32, 0.31, 0.22,0.7>] [0 color rgb <0,0,1>] [1 color rgb <0,0,0>]

}


}


// finish {ambient .00 diffuse .55 phong .075 phong_size 1.5 specular .025 roughness .01}

finish {ambient .00 diffuse .55 phong .04 phong_size 1 specular .0 roughness .0}

} /// spots 1


// main tex

texture {

   pigment
   {
   //waves
 
   function {

// f_wrinkles(0,cos(y*pi)*1/2*1,0) // f_granite(0,y,0)

   f_wrinkles(0,cos(abs(y)),0)
   }
 

//scale y/2


   pigment_map {
//   [0/16 color rgbt <0.90, 0.76, 0.50, 0.25>]
   //[12/16 color rgbt <1,1,1,1>]
   //[13/16 color rgbt <0,0,0,0>]
                       

// [16/16 color rgbt <0.78, 0.64, 0.45,0.75>]

     [0 color  rgbt <0,0,1,0.1>]

[1 color rgbt <0.7,0.7,1,0.2>]

   }
   
   }
   
finish {refraction 0.5 ambient .00 diffuse .3 phong .0 phong_size 0 specular .0 roughness .00}

} /// tex


// upper tex

texture {

   pigment
   {
   //waves
 
   function {

// f_wrinkles(0,cos(y*pi)*1/2*1,0) // f_granite(0,y,0) // f_wrinkles(0,cos(abs(y)),0) // f_agate(x,y*4,z)*f_granite(x,y*4,z)

      f_wrinkles(x,y*7,z)
   }
 

//scale y/2


   pigment_map {
  
     [0.7 color  rgbt <0,0,1,1>]
   [1 color  rgbt <1,1,1,0.0>]
   }
   
   }
   

// finish {refraction 0.5 ambient .00 diffuse .3 phong .0 phong_size 0 specular .0 roughness .00}

} /// tex

}

object {

planet1

rotate y*90

rotate x*-30 }

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:15, 27 September 2023Thumbnail for version as of 10:15, 27 September 20231,600 × 1,200 (256 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata