File:Togliatti surface.png

From testwiki
Jump to navigation Jump to search
    Original file (800 × 800 pixels, file size: 163 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Togliatti Surface with w=1, bounded by a sphere with radius=6
    Source Own work
    Author Claudio Rocchini
    Permission
    (Reusing this file)
    cc-by-3.0

    Source Code

    Many thanks to POV-Ray. This is the source code:

    #include "colors.inc"
    #include "stdinc.inc"
    
    background { Blue }
    
    camera {
       location <0,-12,6>
       up z 
       right x
       look_at <0,0,0>
    }   
                          
    light_source {<120,0,120> rgb <1.0, 1.0, 1.0>}
    light_source {<-120,-120,0> rgb <0.8, 1.0, 1.0>*0.5}
    
    #declare my_texture = texture {
       pigment { rgb <0.8,0.8,1> }
       finish {    
          phong 0.5
          phong_size 10
       }
    }
          
    #declare w = 1;      
    #declare  T = function { 64*(x-w)*( pow(x,4) -4*pow(x,3)*w -10*x*x*y*y -4*x*x*w*w +16*x*pow(w,3)
       -20*x*y*y*w+ 5*pow(y,4) +16*pow(w,4) -20*y*y*w*w) -5*sqrt(5-sqrt(5))*(2*z-sqrt(5-sqrt(5))*w) *
        pow(4*(x*x+y*y-z*z)+(1+3*sqrt(5))*w*w,2) }
    
    isosurface {
      function { T(x,y,z) }
      threshold 0
      accuracy 0.0001
      max_gradient 2000000
      open
      contained_by {sphere {<0,0,0>,6}}
      texture{ my_texture }
    }
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    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.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Captions

    Togliatti Surface

    Items portrayed in this file

    depicts

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current10:15, 1 July 2010Thumbnail for version as of 10:15, 1 July 2010800 × 800 (163 KB)wikimediacommons>Rocchini{{Information |Description={{en|1=Togliatti Surface with w=1, bounded by a sphere with radius=6}} |Source={{own}} |Author=Claudio Rocchini |Date= |Permission=cc-by-3.0 |other_versions= }}

    There are no pages that use this file.