File:Protoplanetary disk 1 rend 1.png
Protoplanetary_disk_1_rend_1.png (800 × 600 pixels, file size: 307 KB, MIME type: image/png)
Captions
Captions
Summary
editDescriptionProtoplanetary disk 1 rend 1.png |
English: Protoplanetary disk , proplyd |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
////////////////////////////////7
//
// protoplanetary disk
// povray 3.7 source code
//
// 22.1.2024 0000.0000a
//
///////////////////
- include "colors.inc"
- include "functions.inc"
- include "stars.inc"
//light_source { <-20, 50, -20>*5000, color White*2}
camera{
location <0,7,-10>*3
look_at <0,0,0>
angle 50
}
sky_sphere {
pigment {
bozo
scale 1/1000
color_map
{
[0 rgb 1]
[0.2 rgb 0]
[1 rgb 0]
}
}
}
- declare pig1=pigment {
// waves
// ripples
spherical
// onion
// scale 1/2
// scale 10
sine_wave
/*
color_map
{
[0 rgbt <1,1,1,0>]
// [0.3 rgbt <0,0,0,1>]
[1 rgbt 1]
}
*/
color_map
{
[0 rgbt <0,0,0,1>]
// [0.3 rgbt <0,0,0,1>]
[1 rgbt <1,1,1,0>]
}
}
- declare pig2=pigment {
function {
// f_wood(x*10,z*10,y*10)*f_wrinkles(x*10,y*10,z*10)
(
( f_spiral1(x/3,z/3,y/3)*0.3
+f_wood(x,z,y)*0.3
+f_wrinkles(x*1,y*1,z*1)*0.4
)*0.7
+f_granite(x*3,y*3,z*3)*0.3
)
- exp(-0.2*sqrt(x*x+y*y+z*z))
- 2
}
turbulence 0.05
// sine_wave
color_map
{
[0 rgbt <0.00,0.00,0.0,1>]
// [0.3 rgbt <0,0,0,1>]
[1 rgbt <1,1/4,0,0>/2]
}
}
- declare disk1=
object {
// sphere {0,20 scale y/100}
torus{ 8,5 scale y/100 }
texture{
pigment{
pig2
}
finish{
ambient 1
}
}
}
#declare star1=object {
sphere{
<0,0,0>,1
texture{
pigment{rgbt<1,1,0,0>*10}
finish{
ambient 10
}
}
}
}
- declare star2=object{
sphere{ <0,0,0>,1 }
hollow
pigment{ color rgbf<1,1,1,1>}
finish { ambient 0 diffuse 0 }
interior {
media {
emission color rgb<1.0,0.75,0.1>*5
intervals 9
samples 1, 20
confidence 0.9999
variance 1/100
density{ spherical
ramp_wave
turbulence 0.15
color_map {
[0.0 color rgb <0.0,0.0,0.0>]
[0.3 color rgb <0.8,0.3,0.0*1>]
[0.6 color rgb <1.0,0.8,0.3>*3]
[1.0 color rgb <1.0,1.0,0.1>*5]
}
// scale <1,2.5,1>
}
}
}
scale 1/1
}
- declare gasring1=object {
isosurface {
function {
f_torus(x,y,z,1,.2)-f_wrinkles(x*3,y*3,z*3)*0.5
}
// threshold 1
accuracy 0.0001
max_gradient 10
}
// pigment {color rgb <1,0,0> }
pigment {color rgbt 1}
hollow
interior {
media {
samples 10,20
//absorption 0.001
emission 0.001
scattering
{
3,1/100*<1,0.5,0.01>
}
density {
//granite
wrinkles
scale 1/10
// wrinkles
//bozo
// scale 1/100
}
}
}
scale 17
scale y/3
}
- declare star1=light_source
{
0
color rgb 20
looks_like {
object {star2}
}
fade_distance 10
fade_power 2
}
- declare fog1=object {
sphere // transparent sphere containing media
{ 0,1 pigment { rgbt 1 } hollow
interior
{ media
{
// emission 1
scattering {
3,<1,1/2,0>*5/10000
extinction 0.00000001
}
density
{
wrinkles
scale 0.05
// function { -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 50
}
light_source {star1}
object {fog1}
object {disk1}
object {gasring1}
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 | 10:53, 23 January 2024 | ![]() | 800 × 600 (307 KB) | Merikanto (talk | contribs) | Update |
09:45, 31 December 2022 | ![]() | 1,600 × 1,200 (960 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 | 10:51, 23 January 2024 |
Software used |