File:B-type main sequence star 1.png
Original file (2,400 × 1,800 pixels, file size: 1.09 MB, MIME type: image/png)
Captions
Summary
editDescriptionB-type main sequence star 1.png |
English: Main sequence star of type B |
Date | |
Source | Own work |
Author | Merikanto |
Povray 3.7 source code
// type B main sequence star
// pov-ray 3.7 script
- include "colors.inc"
- include "functions.inc"
global_settings { assumed_gamma 1.0 }
camera {
location <0,0,-65>
look_at <0,0,0>
}
- declare sun1=sphere{
<0,0,0>, 1
texture{
pigment{
// uv_mapping
//bumps
// scale 0.1
// bozo
// granite
function
{
f_noise3d(x*10,y*10,z*10)
}
turbulence 0.2
octaves 20
scale 0.1
color_map
{
[0.0 rgb <0.05,0.05,1>]
// [0.1 rgb LightBlue]
// [0.9 rgb LightBlue]
[1.0 rgb <0.0,0.0,1>]
}
}
finish {
//ambient 18
ambient 25
}// end of finish
// scale 2 translate<-1,-1,0>
}
// end of texture
/*
media {
}
*/
} ;
- declare kromos1=difference
{
sphere {0,1.025}
sphere {0,1.0001}
/*
pigment {color rgbf <0,0,1,0.5>}
finish {
emission 1
}
- /
pigment { color rgbf 1 }
hollow
interior {
media {
emission 1
absorption 1
method 2
intervals 1
samples 10, 50
density {
spherical
color_map {
[ 0.9 rgb <1.0,0,1.0> ]
[ 1.0 rgb <0.0, 0.0, 0> ]
}
}
}
/*
media {
absorption 2
emission 1
method 1
intervals 1
samples 10, 50
density {
spherical
color_map {
[ 0.0 rgb 1.0 ]
[ 0.1 rgb 1.0 ]
[ 1.0 rgb 1.0 ]
}
}
}
*/
}
};
- declare korona1=sphere{
<0,0,0>, 1
scale 1.06
pigment{rgbt 1}
hollow
interior
{
media{
emission 0.12
absorption 0.2
// scattering 1, 0.01
// scattering { 3, 0.1 extinction 0.01 }
density{
spherical
ramp_wave
// onion
// turbulence 0.05
// poly_wave 1.5
#declare deltamm=1.0/200.0;
#declare mm = deltamm;
#declare nn = 1-deltamm;
#declare pp= 1.0;
color_map {
// mm <2.0, 3.0 ...
#while(mm <= 1.0)
// #declare ex1=exp(-(nn-0.6)*18)*2;
// #declare ex3=exp(-(nn-0.6)*18)*2;
// #declare ex3=exp(-(nn-0.6)*18)*2;
// #declare ex3=mm;
// #declare ex3=exp(-(nn-0.3)*18)*2;
// #declare ex3=exp(-(nn*nn)*10)*0.01;
// #declare ex3=(mm*mm*mm)/2;
// #declare potens1=3;
// #declare attenk1=10;
// #declare kerr1=15;
#declare potens1=3;
#declare attenk1=13;
#declare kerr1=15;
#declare ex4=pow(potens1,-nn*attenk1)*kerr1;
#declare rr=ex4;
#declare treshold1=0.5;
#declare redi=treshold1;
#declare greeni=treshold1;
#declare bluei=rr*5;
#if(rr<treshold1)
#declare redi=rr;
#declare greeni=rr;
#end
#declare cc=<redi,greeni,bluei>;
[mm rgb cc]
#declare mm=mm+deltamm;
#declare nn=nn-deltamm;
#end
}
} // end of density
} // end of media ---
} // end of interior
scale 1.85
} ;
- declare star1=union {
object {
sun1
scale 1.00001
}
/*
object {
kromos1
//scale 1.19
scale 1.5
}
*/
object {
korona1
scale 1.5
}
}
object {
star1
scale 15
}
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 | 10:53, 7 April 2022 | 2,400 × 1,800 (1.09 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.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
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 | 07:46, 7 April 2022 |
Software used |