File:Povray dunes of sandy desert 1.png
![File:Povray dunes of sandy desert 1.png](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Povray_dunes_of_sandy_desert_1.png/800px-Povray_dunes_of_sandy_desert_1.png?20220409092427)
Original file (2,400 × 1,800 pixels, file size: 2.26 MB, MIME type: image/png)
Captions
Captions
Summary
editDescriptionPovray dunes of sandy desert 1.png |
English: Dunes of desert. POV-Ray image. |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
//
// desert v 0002
// povray 3.7
// optional skull is from 3d model from crala.io
// converted from ivcon
// edited to object and different pingemets merged to one
- include "colors.inc"
- include "textures.inc"
- include "skies.inc"
- include "functions.inc"
global_settings { assumed_gamma 1.0 }
camera {
angle 60
location < 3, 0.2, -2>
look_at < 0, 0, 0>
/*
location < 0, 10000, 0>
look_at < 0, 0, 0>
*/
// up < 0, 1, 0 >
}
light_source {
<1000,1500,1000>*100000
color rgb White
}
sky_sphere { // Sky Sphere to generate background
pigment { // For base sky sphere gradient
gradient <0,1,0> // oriented in y direction (up/down)
color_map { // horizon whitish to blue peak
// [1.00 color rgb <0.08, 0.54, 0.78>]
[0.5 color rgb <161/255,195/255,195/255>/5 ]
[0.0 color rgb <69/255,110/255,171/255>]
}
}
pigment{
granite
// bozo
turbulence 0.2
octaves 50 omega 0.9 lambda 1
// turbulence 0.5
color_map {
[0.0 color rgb <0.95, 0.95, 0.95> ]
[0.05 color rgb <1, 1, 1>*1.25 ]
[0.15 color rgb <0.85, 0.85, 0.85> ]
[0.55 color rgbt <1, 1, 1, 1>*1 ]
[1.0 color rgbt <1, 1, 1, 1>*1 ]
} // end color_map
translate< 3, 0,-1>
scale 500000
scale <1, 0.1, 1>
} // end pigment
}
/*
plane{y,500000
//hollow //
// texture{ pigment {color rgb<0.1,0.3,0.75>*0.7}
// #if (version = 3.7 ) finish {emission 1 diffuse 0}
// #else finish { ambient 1 diffuse 0}
// #end
// } // end texture 1
//
texture{ pigment{ bozo turbulence 0.75
octaves 6 omega 0.7 lambda 2
color_map {
[0.0 color rgb <0.95, 0.95, 0.95> ]
[0.05 color rgb <1, 1, 1>*1.25 ]
[0.15 color rgb <0.85, 0.85, 0.85> ]
[0.55 color rgbt <1, 1, 1, 1>*1 ]
[1.0 color rgbt <1, 1, 1, 1>*1 ]
} // end color_map
translate< 3, 0,-1>
scale <0.3, 0.4, 0.2>*3
} // end pigment
#if (version = 3.7 ) finish {emission 1 diffuse 0}
#else finish { ambient 1 diffuse 0}
#end
} // end texture 2
scale 100
} //----------------
*/
/*
fog {
distance 150000
color rgbf<0.5, 0.3, 0.2, 1.0>
fog_type 2
fog_offset 0
fog_alt 2
}
*/
- declare Wave1=pigment {
dents
turbulence .333 octaves 3 lambda .75 omega 1.5
color_map {
[0,1 color rgb .5 color rgb 0]
}
ramp_wave
}
- declare Wave2=pigment {
bumps
turbulence .125 octaves 2 lambda 1.25
omega .5
color_map {
[0,1 color rgb 1 color rgb 0]
}
ramp_wave
}
- declare fn_duness_01=function {
pigment {
average
turbulence .125 octaves 2 lambda 1.5 omega .25
pigment_map {
[.5 Wave1 scale .5]
[1 Wave2 translate .25]
}
ramp_wave
scale <2,1,.5>*.5 rotate 5
}
}
// dunes isosurface
isosurface {
function {
// y
// y+ big_dunes_function_2(x,y,z).gray
// y+sin(x+sin(z/3))+f_noise3d(x*.3,y*.3,x*.3)*0.1
// y+sin(x+sin((z+f_noise3d(x/10,y/10,z/10)*1)/2))
// y+(sin(x+sin((z+f_noise3d(x/10,y/10,z/10)*1)/2))+sin(x+z/5))/2
// y+(sin(x+sin((z+f_noise3d(x/10,y/10,z/10)*1)/2))+sin(x+z/5))/2+sin(x/10)*1.5+sin(z/10)*1.3
y+sin(x/10)*sin(z/10)*4+(sin(x+sin((z+f_noise3d(x/10,y/10,z/10)*1)/2))+sin(x+z/5))/2
}
max_gradient 10
contained_by { box { -90,90} }
scale <1,0.5,1>
translate y*-1
scale 50
// scale <10000,15000,10000>
pigment {
color <.85, .5, .15>
// color rgb <0.58, 0.45, 0.31>
// color rgb < 0.88, 0.63, 0.35>
// color rgb < 0.95, 0.63, 0.35>
}
finish {
// ripples of dunes
ambient .1
diffuse .9
specular 0.1
//reflection 0.001
crand .04
roughness 0.05
}
normal {
/// waves 0.01
wood 0.5
// ripples 0.01
//octaves 1
sine_wave
slope_map {
[0 <1, 1>] // start at bottom and slope up
[1 <1,-1>] // finish on down slope at bottom
}
scale x*0.1
scale y*0.1
scale z*0.005
// scale 1000
scale 100
rotate x*90
rotate z*90
rotate y*90
// rotate y*-20
warp {
// onion
turbulence <0.05,0.01,0.5>/5
}
translate <10000,0,0>
}
}
- declare SkullText = texture {
pigment { color rgb
<1.1,1.1,1>
// <0.58, 0.45, 0.31>*1.5
}
//pigment { color rgb < 225/256,212/256,195/256>*1.05 }
// pigment { color rgb<195/255,164/255,120/255> }
finish { ambient 0.1 diffuse 1.0 specular 0.1}
normal {
granite 0.05
// crackle
scale 0.1
}
}
/*
- include "skull.inc"
object {
Skull1
texture {
SkullText
}
scale 0.1
rotate y*120
rotate z*-30
translate x*0
translate y*-2
translate z*2
}
*/
Licensing
edit![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:24, 9 April 2022 | ![]() | 2,400 × 1,800 (2.26 MB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
PNG file comment |
|
---|---|
File change date and time | 09:18, 9 April 2022 |
Software used |