File:Gaps in protoplanetary disk 2 r 1.png
![File:Gaps in protoplanetary disk 2 r 1.png](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Gaps_in_protoplanetary_disk_2_r_1.png/800px-Gaps_in_protoplanetary_disk_2_r_1.png?20240122140224)
Original file (1,600 × 1,200 pixels, file size: 895 KB, MIME type: image/png)
Captions
Captions
Summary
editDescriptionGaps in protoplanetary disk 2 r 1.png |
English: Gaps in protoplanetary disk |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
//
// gaps in protoplanetary disk 2
// POV-Ray 3.7 source code
//
// 22.1.2024 0000.0000
//
- include "functions.inc"
camera {
location <0,4,-10>
look_at 0
}
- declare sun0=object {
sphere{0,1}
pigment {color rgb <1,1,0.5>}
finish {ambient 2}
}
- macro ring0(radius1, radius2)
object {
disc {0,<0,1,0>,radius2, radius1 }
texture {
pigment {
// function {f_waves(sqrt(x*x+z*z)*10,f_granite(sqrt(x*x+z*z),0,0),0) }
// function {f_waves(sqrt(x*x+z*z),0,0)*10 }
// function {f_waves(sqrt(x*x+z*z)*10,0,0)*f_waves(sqrt(x*x+z*z),0,0)*10 }
// function {f_waves(sqrt(x*x+z*z)*10,0,0)*f_waves(sqrt(x*x+z*z),f_granite(sqrt(x*x+z*z) ,sqrt(x*x+z*z),sqrt(x*x+z*z)),0)*5 }
// function {f_granite(f_spherical(x,y,z),f_spherical(x,y,z)*10,f_spherical(x,y,z)*10) }
// function {f_granite(sqrt(x*x+z*z),1,2) }
// function {f_wrinkles(sqrt(x*x+z*z),1,2)*1 }
// function {f_agate(sqrt(x*x+z*z)/3,1,2)*10 *f_wrinkles(sqrt(x*x+z*z)*10,1,2)}
// function {f_agate(sqrt(x*x+z*z)/3,1,2)*f_granite(sqrt(x*x+z*z),1,2) }
function {f_agate(sqrt(x*x+z*z)*4,1,2)*f_wrinkles(sqrt(x*x+z*z)*5,1,2)*f_granite(sqrt(x*x+z*z)*4,1,2) }
color_map {
[0 color rgb <1,0.6,0,0.4>]
[1 color rgb <1,0.4,0,1>]
}
}
}
finish {refraction 0.0 ambient 1 brilliance 1/1000 diffuse 0.7 phong 0.2 specular 0.15 }
}
- end
- macro planet1(distance1, radius1, rotation1, color1, color2)
object {
sphere {0,1}
scale 0.2*radius1
texture {
pigment { gradient y frequency 3 sine_wave color_map { [0 rgb color1] [1 rgb color2] } }
finish {ambient 0.1 diffuse 0.5}
}
translate x*distance1
rotate y*rotation1
}
- end
#declare fog1=object {
sphere // transparent sphere containing media
{ 0,1 pigment { rgbt 1 } hollow
interior
{ media
{
// emission 1
scattering {
2,<1,1/2,1/4>*1/200
extinction 0.0001
}
density
{
// function { -exp((x*x+y*y+z*z)/1)/10 }
function {
f_wrinkles(x,y,z)*-exp((x*x+y*y+z*z)/1)/10
}
/*
// spherical
density_map
{ [0 rgb 0]
[0.5 rgb <1,0,0>]
[0.8 rgb <1,0.5,0>]
[1 rgb <1,1,0.5>]
}
*/
}
}
}
}
scale 30
scale y/3
}
object {fog1}
light_source {
0
color <1,1,1>*3
looks_like { object {sun0 scale 0.2} }
}
object {
ring0(1,2)
}
object {
ring0(2.5,4)
}
object {
ring0(5,7)
}
planet1(2.25,1, 30, <1,0.5,0.1>, <1,1,1> )
planet1(4.5,2, -120, <0,1,1>, <0,0.5,1> )
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 | 14:02, 22 January 2024 | ![]() | 1,600 × 1,200 (895 KB) | 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 | 14:00, 22 January 2024 |
Software used |