File:Triang-cyl-sph4-pov.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 527 pixels. Other resolutions: 320 × 211 pixels | 640 × 422 pixels | 1,024 × 675 pixels | 1,280 × 844 pixels | 2,685 × 1,770 pixels.
Original file (2,685 × 1,770 pixels, file size: 3.59 MB, MIME type: image/png)
File information
Structured data
Captions
Summary
[edit]DescriptionTriang-cyl-sph4-pov.png | |
Date | |
Source | Own work |
Author | Ag2gaeh updated by Dr. Schorsch (talk) |
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
Pov-Ray Source code
[edit]The scene description code below renders this illustration using the free software Povray.
Display source code |
---|
// Persistence Of Vision raytracer version 3.0 scene file. // Original rendering using triangulated surfaces by Wikimedia commons Ag2gaeh // Reprogramming with povray functions by Dr. Schorsch #version 3.0 global_settings { assumed_gamma 1.0 } #include "shapes.inc" #include "colors.inc" #include "textures.inc" #include "glass.inc" #include "woods.inc" // Moi camera { location <7, 3, -8.0> direction <0.0, 0.0, 1.0> up <0.0, 1.0, 0.0> right x*image_width/image_height look_at <0, 0, 0> } // Some Light just above the horizon for a long shadow light_source { <20, 6, -60> color White } light_source{<60, 6, -20> color White} // The Cloudy Blue Sky sphere { <0, 0, 0>, 10000 pigment { Bright_Blue_Sky scale <4000, 600, 1000> } } // The Hilly Grassy Land plane { y, -2 pigment { color red 0.2 green 3.0 blue 0.4 } finish { crand 0.025 // a little randomness to hide the rather severe color banding ambient 0.1 diffuse 0.7 roughness 1 } normal { bumps 0.5 scale 10 } } // x^4 + y^4 + z^+4 - 1 = 0 quartic { <1,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0, 1,0,0,0,0,0,0,0,0,0, 1,0,0,0,-1> //#include "trizyk4_pov1.pp" scale <2,2,2> rotate <-90, 5, 0> translate <-2, 0, -1.5> pigment{color Green} pigment { wood turbulence 0.04 colour_map { [0.0 0.4 color red 0.8 green 0.4 blue 0.2 color red 0.8 green 0.4 blue 0.1] [0.4 0.5 color red 0.1 green 0.3 blue 0.1 color red 0.1 green 0.3 blue 0.2] [0.5 0.8 color red 0.1 green 0.3 blue 0.2 color red 0.8 green 0.4 blue 0.1] [0.8 1.0 color red 0.8 green 0.4 blue 0.1 color red 0.8 green 0.4 blue 0.2] } scale <0.2, 0.2, 1> rotate <45, 0, 5> translate <2, 2, -4> } finish { // make it look wood-like ambient 0.15 diffuse 0.6 // make it a little bit shiny specular 0.3 roughness 0.01 phong 0.3 phong_size 60 } } cylinder{ <0,0,-3>,<0,0,3>, 1 open //#include "trizyk4_pov2.pp" rotate <0, 5, 0> translate <-2, 1.1, -1.5> pigment { color Red } finish { specular 0.75 roughness 0.085 ambient 0.15 diffuse 0.6 reflection 0.02 } } // Rest of cylinder minus quartic difference { cylinder { <0,0,-3>,<0,0,3>, 1 open //#include "trizyk4_pov2.pp" //scale <2,2,2> rotate <0, 15, 0> translate <2.8, 1.1, 0.8> } cylinder { <0,0,-3.5>,<0,0,3.5>, 0.99 //#include "trizyk4_pov2.pp" //scale <2,2,2> rotate <0, 15, 0> translate <2.8, 1.1, 0.8> } quartic { <1,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0, 1,0,0,0,0,0,0,0,0,0, 1,0,0,0,-1> //#include "trizyk4_pov1.pp" scale <2,2,2> rotate <0, 15, 0> translate <2.8, 0, 0.8> hollow on } hollow on translate 1.8*y pigment { color Red } finish { specular 0.75 roughness 0.085 ambient 0.15 diffuse 0.6 reflection 0.02 } } // Quartic minus cylinder difference { quartic { <1,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0, 1,0,0,0,0,0,0,0,0,0, 1,0,0,0,-1> //#include "trizyk4_pov1.pp" scale <2,2,2> rotate <0, 15, 0> translate <2.8, 0, 0.8> } cylinder { <0,0,-3>,<0,0,3>, 1 //#include "trizyk4_pov2.pp" //scale <2,2,2> rotate <0, 15, 0> translate <2.8, 1.1, 0.8> } pigment{color Green} pigment { wood turbulence 0.04 colour_map { [0.0 0.4 color red 0.8 green 0.4 blue 0.2 color red 0.8 green 0.4 blue 0.1] [0.4 0.5 color red 0.1 green 0.3 blue 0.1 color red 0.1 green 0.3 blue 0.2] [0.5 0.8 color red 0.1 green 0.3 blue 0.2 color red 0.8 green 0.4 blue 0.1] [0.8 1.0 color red 0.8 green 0.4 blue 0.1 color red 0.8 green 0.4 blue 0.2] } scale <0.2, 0.2, 1> rotate <45, 0, 5> translate <2, 2, -4> } finish { // make it look wood-like ambient 0.15 diffuse 0.6 // make it a little bit shiny specular 0.3 roughness 0.01 phong 0.3 phong_size 60 } } |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:23, 22 June 2021 | 2,685 × 1,770 (3.59 MB) | Xorx (talk | contribs) | Higher resolution rendering. Rendering with povray functions instead of triangulated surfaces. | |
20:07, 27 January 2014 | 3,089 × 2,049 (1.25 MB) | Ag2gaeh (talk | contribs) | User created page 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 de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on ro.wikipedia.org
- Usage on uk.wikipedia.org
Structured data
27 January 2014
Hidden categories: