File:Seyfert galaxy 1 r1.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,600 × 1,200 pixels, file size: 938 KB, MIME type: image/png)

Captions

Captions

Seyfert galaxy, rendered image of artist

Summary[edit]

Description
English: Seyfert galaxy, rendered image of artist with POV-Ray
Date
Source Own work
Author Merikanto

POV-Ray 3.7 source code

///////////////////////////////////////// // // Seyfert galaxy // // POV-Ray 3.7 source code // // 11.7.2023 0000.0000 //

  1. include "functions.inc"


camera { location <0,50,-100> look_at <0,0,0>

angle 35

}


  1. declare spiral3= function

{ pigment {

spiral1 9 scale 3 }

}

  1. declare fieldfunk1= function {
pow (f_bozo(x*200,y*200,z*200),7) *7
 *f_wrinkles(x,y,z) 
  *f_wrinkles(x/3,y/3,z/3)
  *f_wrinkles(x/10,y/10,z/10)

  • f_spherical(x/20,y/20,z/20)
  • pow ( f_spiral1((x)/10,(y)/10,(z)/10) ,4)

}

  1. declare fieldpig2= pigment {

function { fieldfunk1(x,y,z)}

color_map { [0 color rgbt <1,1,1,1>]

[1 color rgbt <1,1,1,0>]

}

}

#declare fieldpig1= pigment {

function {

//pow(spiral3(x,y,z).gray,4) *1

pow(spiral3(x+f_wrinkles(x,y,z)+f_wrinkles(x,y,z)/10 ,y+f_wrinkles(x/2,y/2,z/2) ,0 ).gray,4) *1


*pow (f_bozo(x*200,y*200,z*200),7) *7
 *pow (f_wrinkles(x,y,z),4) 
  *f_wrinkles(x/3,y/3,z/3)
  *f_wrinkles(x/10,y/10,z/10)
 
  • f_spherical(x/20,y/20,z/20)

}

color_map { [0 color rgbt <1,1,1,1>]

[1 color rgbt <1,1,1,0>]

}

}

  1. declare spherepig1= pigment {

function { // exp (-0.5*pow(((( sqrt(x*x+y*y) ))/0.5),2))

exp (-0.5*pow(((( sqrt(x*x+y*y) ))/0.5),1.2)) *0.1

}

color_map { [0 color rgbt <1,1,1,1>]

[1 color rgbt <1,1,1,0>]

}

}

  1. declare field1=texture {

pigment { fieldpig1} finish {ambient 1}

}

 #declare field2=texture {

pigment { fieldpig2}

finish {ambient 3}

}


  1. declare cloudpig1= pigment {

function {

 //pow(spiral3(x,y,z).gray,4) *1
pow(

spiral3(x+f_wrinkles(x,y,z)+f_wrinkles(x,y,z)/10 ,y+f_wrinkles(x/2,y/2,z/2) ,0 ).gray /2

+pow ( f_spiral1((x+f_wrinkles(x,y,z)/10)/10,(y+f_wrinkles(x,y,z)/10)/10,(z+f_wrinkles(x,y,z)/10)/10) ,4) /2

,6)

 *pow ( f_agate(x/5,y/5,z/5)  ,4)
 *f_wrinkles(x*20,y*20,z*20) 
  *f_wrinkles(x/3,y/3,z/3)
  *f_wrinkles(x/10,y/10,z/10)
  *f_granite(x,y,z)
  • f_spherical(x/20,y/20,z/20)

//*( exp (-0.5*pow(((( sqrt( (x*x+y*y)/30 ) ))/0.5),1.2)) *0.1 )

}

 color_map {

[0 color rgbt <1,1,1,1>]

[1 color rgbt <1,1/2,1/2,0.5>]

}

}


#declare darkcloudpig1= pigment {

function {

 //pow(spiral3(x,y,z).gray,4) *1
pow(

spiral3(x+f_wrinkles(x,y,z)+f_wrinkles(x,y,z)/10 ,y+f_wrinkles(x/2,y/2,z/2) ,0 ).gray /2

+pow ( f_spiral1((x+f_wrinkles(x,y,z)/10)/10,(y+f_wrinkles(x,y,z)/10)/10,(z+f_wrinkles(x,y,z)/10)/10) ,4) /2

,3)

 *pow ( f_agate(x/5,y/5,z/5)  ,4)
 *f_wrinkles(x*20,y*20,z*20) 
  *f_wrinkles(x/3,y/3,z/3)
  *f_wrinkles(x/10,y/10,z/10)
  *f_granite(x,y,z)
  • f_spherical(x/20,y/20,z/20)

//*( exp (-0.5*pow(((( sqrt( (x*x+y*y)/30 ) ))/0.5),1.2)) *0.1 )

}

 color_map {

[0 color rgbt <1,1,1,1>]

[1 color rgbt <139/255,69/255,19/255,0>*1]

}

}

 #declare  cloud1=texture {

pigment { cloudpig1}

finish {ambient 10}

}

  #declare  darkcloud1=texture {

pigment { darkcloudpig1}

finish {ambient 0.1}

}

 #declare sphere1=texture {

pigment { spherepig1 scale 10}

finish {ambient 3}

}

plane {

z,0

texture {

field1

finish {ambient <1,1,3>*10} }


texture {

field2 //rotate z*90 finish {ambient <1,1,3>*10} }


texture {

sphere1

 finish {ambient <1.5,0.75,0.75>*15}

}

 texture {

sphere1

scale 0.5 scale <1,1/2,1> rotate z*90

finish {ambient <3,3,1>*3} }


texture {

cloud1 //rotate z*90 //finish {ambient <1,1,3>*3} }


texture {

darkcloud1 rotate z*45 //finish {ambient <1,1,3>*3} }



}

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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/TimeThumbnailDimensionsUserComment
current11:34, 11 July 2023Thumbnail for version as of 11:34, 11 July 20231,600 × 1,200 (938 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata