File:Hurricaneplanet11.png
Original file (1,600 × 1,200 pixels, file size: 1.13 MB, MIME type: image/png)
Captions
Summary
editDescriptionHurricaneplanet11.png |
English: Ocean planet, that has very big hurricane |
Date | |
Source | Own work |
Author | Merikanto |
POV-ray source code
Something like hurricane bitmap generator
// something like hurricane
// POV-Ray 3.7 source code
// 22.6.2023 0000.0000
- include "functions.inc"
global_settings {
assumed_gamma 1
}
- declare pii=3.141592653;
- declare pii2=3.141592653*2;
- declare piij2=3.141592653/2;
light_source {<0, 0.0,-1>*1000*1000*1000 color 1}
camera {
location <0, 0, -20>
right 1
up 1
angle 25
look_at 0
}
background {color rgb <0,0,1> }
- declare spiralling1= function
{
(log(sqrt(x*x+y*y))*pi*2)+(atan2(x,y)/piij2)
}
- declare spiralling2=function {
pigment {
function {spiralling1(x,y,z)}
sine_wave
color_map {
[0.00 color rgb <0,0,0>]
[1.00 color rgb <1,1,1>]
}
}
}
- declare muru_funk1=function
{
// spiralling2(x,y,z).gray
//f_granite(x,y,z)
//f_wrinkles(x,y,z)
//(0.01/ sqrt(x*x+y*y+z*z))
//max(min((f_wrinkles(spiralling2(x,y,z).gray,f_agate(x,y,z),(20/( sqrt(x*x*3+y*y*3+z*z*3)) ) ))
//* (1- (3/( sqrt(x*x*1+y*y*1+z*z*1)) ) ),1),0)
//max(min( ((f_wrinkles(spiralling2(x,y,z).gray,f_wrinkles(x,y,z), 1/f_granite(x,y,z) ) )+ min(max( (1-min(sqrt(x*x+y*y+z*z),1)),0),1)),1),0)
max(min( ((f_wrinkles(spiralling2(x,y,z).gray,f_wrinkles(x,y,z), 1/f_granite(x,y,z) ) )+ min(max( (1-min(sqrt(x*x+y*y+z*z),1)),0),1)),1),0)
//+max ( min ( (sqrt(x*x+y*y+z*z)) ,1),0)
}
- declare muru_funk2= function {
pigment {
function { muru_funk1(x,y,z) }
// warp {turbulence 0.3}
// scale 1/10
color_map {
[0.00 color rgbt <1,1,1,0>]
[1.00 color rgbt <1,1,1,1>]
}
}
}
- declare murubig1= pigment {
function {
( max(min( muru_funk1(x,y,z), 1),0)
//*(1-exp(-sqrt(x*x/4000+y*y/4000+z*z/4000) ) )/100
//(1*max(min(f_wrinkles(x,y,z),1),0)
+max(min((1-1/sqrt((x*x+y*y+z*z)*0.01)),1),0) )/2
}
// scale 10
// warp {turbulence 0.3}
scale 1/10
color_map {
[0.00 color rgbt <1,1,1,0>]
[1.00 color rgbt <1,1,1,1>]
}
//scale 2
//translate y*1
}
- declare bla1=texture {
pigment {
murubig1
}
}
object {
plane {z,0}
//sphere {0,1 }
texture {bla1}
}
Hurricane planet POV-Ray code:
// ocean planet that has hurricane
// POV-ray source code
// 22.6.2023 v 0000.0000
- include "colors.inc"
- include "functions.inc"
global_settings {
assumed_gamma 1.5
noise_generator 2
}
light_source {
<0, 0, -5>*1000*1000*1000, rgb <1, 1, 1>
}
camera {
location <3,3, -5> *0.4
look_at <0,0,0>
}
- declare hurricanepig1= pigment {
image_map {
// png "hurricane9.png"
png "hurricane11.png"
transmit all 0.2
// map_type 2
interpolate 2
}
//scale 10
//warp {turbulence 0.03}
//scale 0.1
// scale 1.5
turbulence 0.1
omega 0.2
//lambda 0.7
translate <-1/2, -1/2,0>
scale 1.5
}
- declare hurricane_nor1= function {
pigment {
hurricanepig1
}
}
- declare hurricanetex1= texture {
pigment {hurricanepig1}
finish {
diffuse 2
}
normal {
function {hurricane_nor1(x,y,z).gray }
bump_size 0.3
}
}
// clouds ...
- declare cloudiness1=1; //## suitable 0.5
- declare cloudturb1=1;
- declare cloudturb2=2;
- declare cloudpig1=pigment {
wrinkles
//granite
// agate
scale 1/10
scale 3
warp { turbulence cloudturb1 }
scale 1/3
turbulence cloudturb2
//turbulence 1
pigment_map {
[0 color rgbt <1,1,1,1>*1]
[1-cloudiness1 color rgbt <1,1,1,1>]
[1 color rgbt <1,1,1,0.8>*1.5]
}
}
- declare cloudes1=texture {
pigment {
gradient x
scale 2
translate z*-1
// sine_wave
scale 3
warp {turbulence 0.0 }
scale 1/3
pigment_map {
[.15 cloudpig1]
[0.4 rgbt 1]
[0.5 cloudpig1]
[0.6 rgbt 1]
[0.85 cloudpig1]
}
}
finish {ambient 0}
}
// rayleigh based atm
- declare atm_thickness1 = 0.015;
- declare atm_color1 = rgb <pow(460/650, 4), pow(460/555, 4), 1>;
- declare atm_amount1=0.5;
- declare atm_density1 = density
{
function
{
1*exp(-6.7*(sqrt(x*x+(y)*(y)+z*z)- 1 - 0.00001)/atm_thickness1)
// 1*exp(-6.7*(sqrt(x*x+(y)*(y)+z*z)-1- 0.00001)/atm_thickness1)
}
}
- declare atm_media1 = media
{
method 3
intervals 3
samples 3
scattering
{ 4
color atm_amount1*atm_color1/atm_thickness1
// extinction 1
}
density {atm_density1}
}
- declare atmos1 = difference
{
sphere {0, 1.00001 + atm_thickness1}
// sphere {0, 1.00001}
hollow
pigment {rgbt 1}
interior {media{atm_media1}}
}
- declare testplate1= object {
// plane {z,0 }
sphere {0,1
texture {pigment { wrinkles color_map {[0 color rgb <0,0,1>]}} }
texture { cloudes1 }
texture { hurricanetex1 scale 2 rotate z*00}
}
// rotate x*-90
// rotate y*-90
}
union {
object {testplate1}
object {atmos1}
// rotate x*25
rotate y*-15
//rotate y*240
}
Licensing
edit- 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 | 11:02, 22 June 2023 | 1,600 × 1,200 (1.13 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 | 10:56, 22 June 2023 |
Software used |