Tiedosto:Planet has opened gap to protoplanetary disc 2 r 1.png
Alkuperäinen tiedosto (1 600 × 1 200 kuvapistettä, 1,06 MiB, MIME-tyyppi: image/png)
Tämä tiedosto on jaettu kohteesta Wikimedia Commons ja muut projektit saattavat käyttää sitä. Tiedot tiedoston kuvaussivulta näkyvät alla.
Yhteenveto
KuvausPlanet has opened gap to protoplanetary disc 2 r 1.png |
English: Planet has opened gap to protoplanetary disc |
Päiväys | |
Lähde | Oma teos |
Tekijä | Merikanto |
POV-Ray 3.7 source code
//
// protoplanetary disk that has one planet that has opened gap
//
// pov-ray v. 3.7 povray source code
//
// 12.10.2023 0000.0002x3
//
- declare samples1=100;
- declare tauorig=90+90;
- declare taunolla=clock+tauorig;
- declare tau1=radians(taunolla);
- declare tau2=radians(taunolla+180.0);
- declare ra=4;
- declare rb=4;
- declare rc=1;
- declare ax = sin(tau1)*ra;
- declare ay = cos(tau1)*ra;
- declare bx = sin(tau2)*rb;
- declare by = cos(tau2)*rb;
- declare cx = sin(tau1*4)*rc;
- declare cy = cos(tau1*4)*rc;
- declare sax=ax*1;
- declare say=ay*1;
- declare sbx=bx*1;
- declare sby=by*1;
- declare scx=cx*1;
- declare scy=cy*1;
- include "functions.inc"
- include "rand.inc"
declare camera0=camera {
location <0,30,-7>
look_at <0,0,0>
angle 20
}
- declare camera1=camera {
location <0,20,-20>*1/3
look_at <0,0,0>
angle 40
}
camera {camera1}
background { rgb 0 }
- declare sky1= sky_sphere {
pigment {
bozo
scale 1/1000
color_map
{
[0 rgb 1]
[0.2 rgb 0]
[1 rgb 0]
} }
pigment {
bozo
scale 1/3000
color_map
{
[0 rgb 1]
[0.2 rgb 0]
[1 rgb 0]
}}
pigment {
//granite scale 10
wrinkles
turbulence 0.5
scale 0.27
color_map
{
[0 rgbt <1,1,1,1>]
// [0.5 rgbt <1,1,1,1>]
// [0.5 rgbt <0.25/100,0.25/100,1/2/100,0.9>]
// [1 rgbt <0.25/100,0.25/100,1/2/100,0.9>]
[1 rgbt <0.9,0.9,1,0.9>]
}}
}
- declare gastorus1= object {
isosurface {
function {
// f_torus(x, y, z, 1, 0.8)
f_torus(x, y, z, 1, 0.5)*0.8
+ f_spiral1(x*1,z*1,y*1)*0.05
//-f_agate(f_spiral1(x*1,y*1,z*1),f_spiral1(x*1,y*1,z*1),f_spiral1(x*1,y*1,z*1) )
+f_agate(x*6,y*6,z*6)*0.2
//+f_wrinkles(x*2,y*2,z*2)*0.25
//- f_spiral1(x*1,z*1,y*1)*0.25
// * f_ripples(x*4,z*4,y*4)/1
// * f_wrinkles(x*20,y*20,z*20)/1
}
contained_by { sphere {0,3} }
//accuracy 0.0000000001
accuracy 0.0000000001
max_gradient 5
// threshold 0.000000001
scale 0.8
scale y/3
}
//torus {1,1/2
// scale y/3
// sphere {0,1
hollow no_shadow
texture { pigment { rgbt 1 } }
interior {
media {
absorption 10
// emission 1/3
method 3 samples 20,30 intervals 1
scattering {1,3*<153, 82, 44>/256}
density {
// agate
// waves
//ripples
// wood
// onion
function {
f_torus(x, y, z, 1, 0.8)*0.66
+ f_spiral1(x*1.5,z*1.5,y*1.5)
// + f_ripples(x*4,z*4,y*4)/8
+ f_wrinkles(x*10,y*10,z*10)/1
+ f_agate (x*4,y*4,z*4)/1
// + f_granite (x*4,y*4,z*4)/5
}
// rotate x*90
scale 1
// sine_wave
// granite
// turbulence 0.2
// spherical
// warp { turbulence 0.2 }
density_map {
[0.0 rgb <0.1,0.1,0.1>]
[1 rgb <1,1,1>*0.9] }
}
}
/*
media {
absorption 10 scattering { 1 .3 } method 3 samples 30,30 intervals 1
density {
// spiral1 4
granite
// toroidal
// spherical
warp { turbulence 0.0 }
density_map {
[0 rgb 0]
[1 rgb 1]
}
}
}
*/
}
}
// gas envelope 1
- declare gas_envelope1=union {
object {
isosurface {
function {
// f_torus(x, y, z, 1, 0.8)
f_torus(x, y, z, 1, 0.8)*0.66
- f_spiral1(x*1,z*1,y*1)*0.25
* f_ripples(x*4,z*4,y*4)/1
// - f_wrinkles(x*10,y*10,z*10)
- f_agate(x*100,y*100,z*100)
}
contained_by { sphere {0,3} }
//accuracy 0.0000000001
accuracy 0.000000001
max_gradient 5
// threshold 0.000000001
scale 0.8
scale y/30
}
//torus {1,1/2
// scale y/3
// sphere {0,1
hollow no_shadow
texture { pigment { rgbt 1 } }
interior {
media {
absorption 10
// emission 1/3
method 3 samples 10,30 intervals 1
scattering {3,1.0*<153, 82, 44>/256}
density {
// agate
// waves
//ripples
// wood
// onion
function {
f_torus(x, y, z, 1, 0.8)*0.66
+ f_spiral1(x*3,z*3,y*3)
+ f_ripples(x*8,z*8,y*8)/4
// + f_wrinkles(x*100,y*100,z*100)/4
+ f_agate (x*4,y*4,z*4)/3
// + f_granite (x*4,y*4,z*4)/5
}
// rotate x*90
scale 1
// sine_wave
// granite
// turbulence 0.2
// spherical
// warp { turbulence 0.2 }
density_map {
[0.0 rgb <0,0,0>]
[1 rgb <1,1,1>/1] }
}
}
/*
media {
absorption 100 scattering { 1 .3 } method 3 samples 30,30 intervals 1
density {
// spiral1 4
granite
// toroidal
// spherical
warp { turbulence 0.0 }
density_map {
[0 rgb 0]
[1 rgb 1]
}
}
}
*/
}
}
} // union
- declare sun_object_1=
union {
object {
sphere {0,1}
texture {
pigment {color rgb <1,1,0.5>}
finish {emission 5}
}
}
// surround of star
object {
sphere{ 0,1 }
hollow
pigment{ color rgbf<1,1,1,1>}
finish { ambient 0 diffuse 0 }
interior {
media {
// emission color rgb<0.75,0.75,1>*10000
// scattering { 1,1*<1,1,0.75> }
scattering { 4,1*<0.75, 1,0.75> }
absorption 0
intervals 3
samples 20, 40
density{
function {
// pow(f_spherical(x,y,z),7)*f_wrinkles(x*10,y*10,z*10)
// pow(f_spherical(x,y,z),6)*f_granite(x*1,y*1,z*1)
pow(f_spherical(x,y,z),3)
//*f_agate(x*3,y*3,z*3)
}
poly_wave 1
color_map {
[0.0 color rgbt <0.0,0.0,0.0,1>]
// [0.7 color rgbt <1,1.0,0.0,0.2>]
[1.0 color rgbt <1,1,0.8,0>]
}
// scale <1,2.5,1>
}
}
}
scale 4
}
}
- declare sun_1= light_source {
<0,0,0> 30*<0.8,0.8,1>
fade_power 1
fade_distance 0.1
media_interaction on
looks_like {
object {sun_object_1}
}
}
- declare sun_object_2=union{
sphere{ <0,0,0>,1
texture {
// pigment{ color rgbf<1,1,1,0>}
pigment {
//granite scale 1/2
// agate scale 1/4
wrinkles scale 1/3
warp {turbulence 0.5}
poly_wave 1/3
color_map {
[0 color rgbt <1,1,0,0>*0.3]
// [0.5 color rgbt <1,1,0.5,0>]
[1 color rgbt <1,1,1,0>*1]
}
}
//finish {emission 1}
finish { ambient <1,1,0.5>*1 diffuse 1 }
}
}
// surround of star
object {
sphere{ 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>*200
// scattering { 1,100*<1,1,0.75> }
absorption 0
intervals 3
samples 20, 40
density{
function {
// pow(f_spherical(x,y,z),7)*f_wrinkles(x*10,y*10,z*10)
// pow(f_spherical(x,y,z),6)*f_granite(x*1,y*1,z*1)
pow(f_spherical(x,y,z),8)
- f_wrinkles(x,atan2(x,y)*2,z*3)
- f_granite(atan2(x,y)*2,y*3+clock/360,z*3)
}
poly_wave 1.25
// spherical
//ramp_wave
color_map {
[0.0 color rgbt <0.0,0.0,0.0,1>]
// [0.7 color rgbt <0.8,1.0,0.0,0.2>]
[1.0 color rgbt <1.0,1.0,0.0,0>]
}
// scale <1,2.5,1>
}
}
}
scale 6/2
}
}
- declare sun_2 = light_source {
<0,0,0> 3
fade_power 2
fade_distance 0.7
looks_like {
object {sun_object_2}
} // looks
} // light sun3
#declare fog1=object {
sphere // transparent sphere containing media
{ 0,1 pigment { rgbt 1 } hollow
interior
{ media
{
samples 40,40
// emission 1
scattering {
// 2,<1,1/2,1/4>*5
1,0.1*<1,1/2,0/4>
extinction 1
}
density
{
// granite
// scale 10
// wrinkles scale 0.05
// spherical scale 0.5
// function { exp(-sqrt(x*x+y*y+z*z)) }
// function { pow(f_spherical(x,y,z),4) }
function { pow(f_spherical(x,y,z),2)*f_wrinkles(x*60,y*60,z*60)*0.5 }
// function { -exp(((x*x+y*y+z*z)*10)/1)/10*0.5+f_wrinkles(x*4,y*4,z*4)*0.5 }
// scale 0.1
// spherical
density_map
{ [0 rgb 0]
// [0.5 rgb <1,1,0>*0.2]
[1 rgb <1,1,0>]
}
}
}
}
}
scale 10
// scale y/3
}
- declare stardisk1=union {
light_source { sun_1 scale 0.05 rotate y*clock*4 }
object {gastorus1 rotate y*clock*3 }
scale 2
// rotate <10,20,30>
}
#declare star2=union {
//object {jets1}
light_source { sun_2 rotate y*clock*4 scale 1.2}
// surrounding gas ...
// object { gas_envelope1 rotate y*clock*2 scale y/2 scale 3 }
// rotate <10,20,30>
// translate x*2*1
scale 2
translate 0
}
#macro gasplanet1(color1, color2)
object {
sphere {0,1}
texture {
// pigment {color rgb color1}
pigment {
onion
color_map {
[0 color rgb color1]
[1 color rgb color2]
}
}
finish {ambient 0}
}
}
- end
// small star, disk
//object {stardisk1 scale y/4 translate 0 rotate z*0}
//object {stardisk1 scale 3 y/4 translate 0 rotate z*0}
// big star
//object {star2 translate <sbx,0,sby> }
// scene ...
sky_sphere {sky1}
light_source { sun_1 scale 0.05 rotate y*clock*4 }
// object { star2 scale 0.05 }
object {gastorus1 rotate y*clock*3 }
object {gastorus1 scale y*1 scale 3.5 rotate y*clock*3 }
object {
gasplanet1(<0,0.5,1>,<0,1,0.5>)
scale 0.1
translate x*1.25
//rotate y*52
}
object {fog1}
Lisenssi
- Voit:
- jakaa – kopioida, levittää ja esittää teosta
- remiksata – valmistaa muutettuja teoksia
- Seuraavilla ehdoilla:
- nimeäminen – Sinun on mainittava lähde asianmukaisesti, tarjottava linkki lisenssiin sekä merkittävä, mikäli olet tehnyt muutoksia. Voit tehdä yllä olevan millä tahansa kohtuullisella tavalla, mutta et siten, että annat ymmärtää lisenssinantajan suosittelevan sinua tai teoksen käyttöäsi.
- jaa samoin – Jos muutat tai perustat tähän työhön, voit jakaa tuloksena syntyvää työtä vain tällä tai tämän kaltaisella lisenssillä.
Kohteet, joita tässä tiedostossa esitetään
esittää
image/png
695a571a936a66ee0b5acd35d56c0f946dfaef50
1 112 001 tavu
1 200 pikseli
1 600 pikseli
22. tammikuu 2024
Tiedoston historia
Päiväystä napsauttamalla näet, millainen tiedosto oli kyseisellä hetkellä.
Päiväys | Pienoiskuva | Koko | Käyttäjä | Kommentti | |
---|---|---|---|---|---|
nykyinen | 22. tammikuuta 2024 kello 07.21 | 1 600 × 1 200 (1,06 MiB) | Merikanto | Uploaded own work with UploadWizard |
Tiedoston käyttö
Seuraava sivu käyttää tätä tiedostoa:
Metatieto
Tämä tiedosto sisältää esimerkiksi kuvanlukijan, digikameran tai kuvankäsittelyohjelman lisäämiä lisätietoja. Kaikki tiedot eivät enää välttämättä vastaa todellisuutta, jos kuvaa on muokattu sen alkuperäisen luonnin jälkeen.
PNG-tiedoston kommentti |
|
---|---|
Viimeksi muokattu | 22. tammikuuta 2024 kello 07.18 |
Käytetty ohjelmisto |
|