File:Toric lens surface 2.png

From testwiki
Jump to navigation Jump to search
    Original file (3,164 × 2,836 pixels, file size: 751 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: Toric lens surface as a "cap" from a torus
    Nederlands: Torisch lensoppervlak als "kapje" van een torus
    Deutsch: Torische Linsenoberfläche als "Käppchen" von einem Torus
    Русский: Поверхность торической линзы является сегментом тора
    Date
    Source Own work
    Author HHahn
    PNG development
    InfoField
     This image was created with POV-Ray.

    Source code

    // POV-Ray 3.6 Scene Description file
    // File:   Toric lens surface 2.pov
    // Descr.: Toric lens surface explained as a "cap" cut off a torus
    // Date:   2011-07-15
    // Author: HHahn
    //
    //---------------------
    
    #include "colors.inc"
    
    camera
    {
      location <0, .1, -25>
      look_at 0
      angle 30
    }
    
    //   background { color Gray95 }  // Background colour
    
    light_source { <-1000, 3000, -4000> White }
    
    //---------------------
    
    #declare RING_COLOUR = rgb <1.3, 1.3, 2.0>;
    #declare BOX_COLOUR  = rgb <1.3, 1.8, 2.0>;
    
    #declare RING = torus
    {
      1.2, 1                  // Major and minor radius
      pigment { RING_COLOUR }
      rotate -90*x            // View torus from from the top
    }
    
    #declare BOX1 = box
    {
      < -2.75, -3, -3>,       // Near-lower-left corner
      <  1.9,   3,  3>        // Far-upper-right corner
      pigment { BOX_COLOUR }
    }
    
    #declare BOX2 = box
    {
      < 2.75, -3, -3>,        // Near-lower-left corner
      < 1.9,   3,  3>         // Far-upper-right corner
      pigment { BOX_COLOUR }
    }
    
    union
    {
      intersection
      {
        object { RING }
        object { BOX1 }
        
      }
    
      intersection
      {
        object { RING }
        object { BOX2 }
        translate 0.65*x       // Move cap slightly away from torus
      }
    
      rotate z*25
      rotate y*20
      rotate -x*15
      scale <2, 2, 2>
      translate -x*1.7
      translate -y*0.15
    }
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    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.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
    You may select the license of your choice.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    16 July 2011

    769,075 byte

    2,836 pixel

    3,164 pixel

    image/png

    a07b1210babfc4aaeea9eafbe06c4243e519b683

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current20:44, 5 August 2012Thumbnail for version as of 20:44, 5 August 20123,164 × 2,836 (751 KB)wikimediacommons>Morntransparent background

    There are no pages that use this file.