Jump to content

File:Standard torus-ring.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (4,096 × 4,096 pixels, file size: 733 KB, MIME type: image/png)
     This image was created with POV-Ray.

    Summary

    Description Standard Torus - Ring
    Date
    Source Own work
    Author Lucas Vieira

    POV-Ray source code

    Uncomment one of the first three lines as desired:

    // #declare RADIUS = 0.75; /// ring
    // #declare RADIUS = 1.00; /// horn
    // #declare RADIUS = 1.60; /// spindle
    #declare TORUS =
     difference {
      torus { RADIUS,1.001 }
      torus { RADIUS,1.000 }
      texture {
       uv_mapping
       pigment { checker rgb <0.8,0.95,1>, rgb <0.6,0.8,0.9> scale 0.08333 }
      }
      rotate <0,45,0>
     }
    #declare CYLINDER =
     difference {
      cylinder { <0,0,0.2> <0,0,0.3> 1.01 }
      cylinder { <0,0,0.1> <0,0,0.4> 0.99 }
     }
    
    intersection {
     object { TORUS }
     box { <-9,-9,-9> <9,0,9> }
     rotate <30,0,0> translate <0,1.3,0>
     finish { ambient rgb <1,1,1> specular 1 }
    }
    union {
     object { CYLINDER translate < RADIUS,0,0> }
     object { CYLINDER translate <-RADIUS,0,0> }
     translate <0,-1.5,0>
    }
    
    background   { color rgbt <1,1,1,0> }
    light_source { <0,-1,1> color 0.3 parallel }
    light_source { <0, 1,0> color 1   parallel }
    light_source { <1, 2,8> color 1   parallel
     area_light <4,0,0>, <0,0,4>, 9, 9 adaptive 1 jitter }
    camera {
     orthographic
     right    x * image_width / image_height
     location <0,0,8>
     look_at  <0,0,0>
     sky      <0,1,0>
     angle    37
    }
    

    Licensing

    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    31 May 2007

    image/png

    750,631 byte

    4,096 pixel

    4,096 pixel

    842844faa41b5a9e28baa84caa1b4a0e4f197ee0

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current00:22, 18 October 2025Thumbnail for version as of 00:22, 18 October 20254,096 × 4,096 (733 KB)CmgleeMatch spindle torus addressing http://commons.wikimedia.org/w/index.php?title=User_talk:LucasVB&diff=prev&oldid=564604748
    02:14, 1 June 2007Thumbnail for version as of 02:14, 1 June 20071,024 × 1,280 (133 KB)LucasVBadded cross section diagram
    01:49, 1 June 2007Thumbnail for version as of 01:49, 1 June 20071,024 × 768 (134 KB)LucasVB{{Information |Description=Standard Torus - Ring |Source=self-made |Date=2007-05-31 |Author= User:Kieff }}

    The following 2 pages use this file:

    Global file usage

    The following other wikis use this file: