File:Ringed giant planet 1.png
Original file (1,600 × 1,200 pixels, file size: 202 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionRinged giant planet 1.png |
English: Ringed giant planet |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.8 source code
//
// pov-ray 3.8 source code
//
// ring giant planet
//
// 24.9.2023 v 0000.0002
- include "functions.inc"
default { finish { ambient 0.000002 diffuse 0.7 } }
camera
{
location <-10,5,1>*2.4
look_at 0
angle 15
}
light_source {
<1,1/10,1/5>*1000*1000*1000*1000
color rgb 1*5
// color rgb 1
}
#declare ringa1=object {
torus {
2.0,0.3
scale y*0.001
}
texture {
pigment {
onion
octaves 16
frequency 2
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[0.5 rgbt <1,1,1,0>]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 5
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 11
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 17
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
}
#declare ringb1=object {
torus {
1.8,0.25
scale y*0.00001
}
texture {
pigment {
rgbt 0.5
}
}
}
#declare ringc1=object {
torus {
2.5,0.1
scale y*0.00001
}
texture {
pigment {
onion
octaves 16
frequency 3
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/3]
[0.5 rgbt <1,1,1,0>/2]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 5
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/4]
// [0.5 rgbt <1,1,1,0>]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 11
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/2]
[0.5 rgbt <1,1,1,0>/3]
// [0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 23
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/2]
[0.5 rgbt <1,1,1,0>/5]
// [0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
}
#declare rings1= union {
object { ringb1 }
object { ringa1 }
object { ringc1 }
finish {
specular 0.5
diffuse 0.7
// brilliance 0.1
// reflection 1
}
}
#declare gasplaneta = object {
sphere {0,1}
texture {
// gradient y
function {sin(abs(y))}
// function {cos(abs(y))*f_agate(0,y,0)*f_wrinkles(0,y*4,0)*f_granite(0,y,0)}
// function {cos(abs(y))*f_wrinkles(0,sin(y),0)*f_granite(0,sin(y),0)*1} // og
// function { cos(abs(y*3))*0.33*f_wrinkles(0,y*4,0)*0.33*f_granite(0,y,0)*0.33 }
// function { abs(y)*f_wrinkles(0,y/2,0) }
//f_granite(0,y/10,0) }
frequency 3
scallop_wave
// sine_wave
scale 30
warp { turbulence 0.3}
scale 1/30
turbulence 0.05
texture_map
{
[0.0 pigment { color rgb <0.81, 0.57, 0.48> }]
// [0.33 pigment { color rgb <0.81, 0.57, 0.48> }]
// [0.66 pigment { color rgb <1,1,1> }]
[1.0 pigment {color rgb <0.78, 0.71, 0.72> }]
}
}
}
union {
object { gasplaneta }
object { rings1 }
rotate x*66
// rotate y*-20
}
Old code
// pov-ray 3.8 source code
// ring giant planet
// 26.9.2022 v 0000.0001
default { finish { ambient 0.000002 diffuse 0.7 } }
camera
{
location <-10,5,1>*2
look_at 0
angle 15
}
light_source {
<1,0.1,0.2>*1000*1000*1000
color rgb 1*4
}
#declare ringa1=object {
torus {
2.0,0.3
scale y*0.001
}
texture {
pigment {
onion
octaves 16
frequency 2
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[0.5 rgbt <1,1,1,0>]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 5
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 11
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
texture {
pigment {
onion
octaves 16
frequency 17
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
}
}
finish {
// ambient 1
}
}
}
#declare ringb1=object {
torus {
1.8,0.25
scale y*0.00001
}
texture {
pigment {
rgbt 0.5
}
}
}
#declare ringc1=object {
torus {
2.5,0.1
scale y*0.00001
}
texture {
pigment {
onion
octaves 16
frequency 3
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/3]
[0.5 rgbt <1,1,1,0>/2]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 5
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/4]
// [0.5 rgbt <1,1,1,0>]
[0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 11
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/2]
[0.5 rgbt <1,1,1,0>/3]
// [0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
texture {
pigment {
onion
octaves 16
frequency 23
// sine_wave
color_map
{
[0 rgbt <1,1,1,0>/2]
[0.5 rgbt <1,1,1,0>/5]
// [0.5 rgbt <0,0,0,1>]
[1 rgbt <0,0,0,1>]
}
}
}
}
#declare rings1= union {
object { ringb1 }
object { ringa1 }
object { ringc1 }
finish {
specular 0.5
diffuse 0.7
// brilliance 0.1
// reflection 1
}
}
#declare gasplaneta = object {
sphere {0,1}
texture {
gradient y
frequency 3
sine_wave
turbulence 0.05
texture_map
{
[0.0 pigment { color rgb <0.81, 0.57, 0.48> }]
// [0.33 pigment { color rgb <0.81, 0.57, 0.48> }]
// [0.66 color rgb <1,1,1>]
[1.0 pigment {color rgb <0.78, 0.71, 0.72> }]
}
}
}
union {
object {
gasplaneta
}
object {
rings1
}
rotate x*66
}
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 | 07:46, 24 September 2023 | 1,600 × 1,200 (202 KB) | Merikanto (talk | contribs) | Update of code | |
18:36, 26 September 2022 | 1,600 × 1,200 (216 KB) | Merikanto (talk | contribs) | Update | ||
18:15, 26 September 2022 | 1,600 × 1,200 (335 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 | 07:44, 24 September 2023 |
Software used |