File:3 rotating rings.gif

页面内容不支持其他语言。
维基语录,自由的名人名言录

3_rotating_rings.gif(180 × 135像素,文件大小:83 KB,MIME类型:image/gif、​循环、​9帧、​0.9秒)

摘要

描述
English: An example of three rings in a Sonic the Hedgehog game, intended to supersede File:SonicRing.jpg in terms of illustration quality. NOTICE: This ring is NOT from the real Sonic game, it is a self-made fake image which is meant to look as the original.
日期
来源 自己的作品
作者 w:en:User:DavidHOzAu

rotierende sonic coins

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
本许可协议标签作为GFDL许可协议更新的组成部分被添加至本文件。
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享2.5 通用2.0 通用1.0 通用许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
您可以选择您需要的许可协议。

Source code

Image generated using POV-Ray for Windows 3.6; resulting slides were converted to an animated GIF using GIMP 2.3.6.

rings.pov

//------------------------------------------------------------
// Copyright 2006 DavidHOzAu
//------------------------------------------------------------
// This work is licensed under the Creative Commons Attribution ShareAlike License. 
// To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/ 
//------------------------------------------------------------

#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
#include "stones.inc"
#include "golds.inc"

global_settings {
  photons {
    count 2000
    autostop 0.5
    jitter .4
  }
  radiosity {
    normal on
    count 100
    recursion_limit 5
    error_bound 1
    low_error_factor 1
    brightness 1.5
  }
  ambient_light rgb 1/3
}

#declare seer = <4, 4, -9>;

camera {
        location  seer
        up <0, 1, 0>
        right <4/3, 0, 0>
        angle 34
        look_at   <0.75, 0.5, 0>
}     

light_source {
  <13, 13, -5>
  color rgb <1.4, 1.3, 1.2>
  fade_distance 15
  fade_power 2
  photons {
     refraction off
     reflection on
  }
  
  area_light <.4, 0, 0>, <0, 0, .4>, 5, 5
}

light_source {
  <20, 0, -5>
  color rgb 1
  fade_distance 15
  fade_power 2
  photons {
     refraction off
     reflection on
  }
  area_light <.4, 0, 0>, <0, 0, .4>, 5, 5
  shadowless
}

light_source {
  seer
  color rgb 1
  fade_distance 2
  fade_power 2
  photons {
     refraction off
     reflection on
  }
  shadowless
}

background {
  color 0
}'''para voce que tem os olhos redondos rssss'''

#declare MarbleFloorTex1 = texture {
  T_Grnt9
  finish {
    reflection 0.25
    ambient rgb 0.5
  }
  scale 10      
}
    
#declare MarbleFloorTex2 = texture {
  T_Stone10//T_Stone17
  //pigment { color Gray75 }
  finish {
    reflection 0.25
    ambient rgb 0.5
  }
  scale 10
}

// FloorBuilder
#macro FloorBuilder (vc, dm, nmx, nmz, sc, of)
  #local ix = 0;
  #while (ix < nmx)
    #local iz = 0;
    #while (iz < nmz)
      box {
          <ix*dm, -0.1, iz*dm>
          <(ix+1)*dm, 0, (iz+1)*dm>
          #if (mod(ix + iz, 2) = 0)
            texture {
              MarbleFloorTex1
              scale sc
              translate <of*ix*sc*dm, 0, of*iz*sc*dm>                            
            }
          #else
            texture {
              MarbleFloorTex2
              scale sc
              translate <of*ix*sc*dm, 0, of*iz*sc*dm>
            }
          #end
          translate <-nmx*dm/2, 0, -nmz*dm/2>
          translate vc
          photons {
             target
          }
      }
      #local iz = iz + 1;
      #end
    #local ix = ix + 1;
  #end
#end

FloorBuilder(<0, -10, 0>, 10, 100, 100, 15, 2)    

// Classic-style ring is an intersection of three torus
#macro SonicRing(d, r, f) 
  intersection {
    object {
      torus {
        d + (r*f*sqrt(3)/2), r
        sturm
      }
      translate -y*r*f/2
    } 
    object {
      torus {
        d + (r*f*sqrt(3)/2), r
        sturm
      }
      translate y*r*f/2
    }  
    object {
      torus {
        d-(r*f), r
        sturm
      }
    }
    rotate 90*z
  }
#end

#macro SonicRingRotate(d, r, f, a)
merge{
  SonicRing(d, r, f)
  scale 0.5
  rotate 180*y*(clock+a)
#end

#macro GlowRing(d, r, f, a, tr)
#local sinmul = 1/8*pow(f-sqrt(-3*pow(f,2)+4),2)*sqrt(3);
#local cosmul = sqrt(1 - pow(sinmul,2));
  object {
     SonicRingRotate(d, r, f, a)
    texture { 
       pigment {
         color <1.00, 1.0, 0.5>
       }
       finish {
         ambient <0.4, 0.3, 0.2>
       }
    }
    photons {
       target
       reflection on
    }
    translate tr
    
  }
#end

// Three rings in a row
GlowRing(2, 1, 0.25, 0.0, 0)
GlowRing(2, 1, 0.25, 0.0, <0, 0, 4>)
GlowRing(2, 1, 0.25, 0.0, <0, 0, 8>)

rings.ini

Final_Frame=9
Cyclic_Animation=on
Input_File_Name=ring.pov

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

Ring 英语

7273bbf5196b672fae7d8ef14b03cbed1b3f338a

85,158 字节

0.9

135 像素

180 像素

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2006年12月24日 (日) 11:122006年12月24日 (日) 11:12版本的缩略图180 × 135(83 KB)DavidHOzAu{{Information |Description='''en:''' An example of three rings in a Sonic the Hedgehog game, intended to supersede Image:SonicRing.jpg in terms of illustration quality. NOTICE: This ring is NOT from the real Sonic game, it is a self-made fake image w

没有页面使用本文件。

全域文件用途

以下其他wiki使用此文件:

元数据