File:Wikibooks povray while creating a helix.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Wikibooks_povray_while_creating_a_helix.png(480 × 360 pixels, file size: 35 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents
Description While loop in Povray
Source Own work
Author User:MatthiasKabel
Permission
(Reusing this file)
GFDL
global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

camera {
  location  <10.0, 10, -10.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

sky_sphere {
  pigment {
    color rgb <0.6,0.7,1.0>
  }
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
  shadowless
}

#declare i = 0; 
#declare Steps = 300;

#declare Kugel = sphere{<0,0,0>,0.5 pigment{color rgb<1,0,0>}};

#while(i<Steps*10)
    object{Kugel  
      translate<3,-10+i/100,0> 
      rotate <0,i * 360 / Steps, 0> 
    }
  #declare i = i + 1;
#end
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 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.
This licensing tag was added to this file as part of the GFDL licensing update.
You may select the license of your choice.

File history

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

Date/TimeThumbnailDimensionsUserComment
current20:41, 12 August 2006Thumbnail for version as of 20:41, 12 August 2006480 × 360 (35 KB)MatthiasKabel (talk | contribs){{Information |Description=While loop in Povray |Source=Own work |Author=User:MatthiasKabel |Permission=GFDL }} <pre> global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <10.0, 10, -10.0> direc

The following page uses this file:

File usage on other wikis

The following other wikis use this file: