File:Wikibooks povray while creating a matrix.png
Wikibooks_povray_while_creating_a_matrix.png (480 × 360 pixels, file size: 33 KB, MIME type: image/png)
File information
Structured data
Captions
DescriptionWikibooks povray while creating a matrix.png | 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, -24.0> direction 1.5*z right x*image_width/image_height look_at <5.0, 5.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 Kugel = sphere{<0,0,0>,0.5 pigment{color rgb<1,0,0>}}; //das zu zeichnende Objekt #while(i<10) #declare j = 0; #while(j<10) #declare k = 0; #while (k < 10) object{Kugel pigment{color rgb<i / 10 , j / 10 , k / 10>} translate<j,i,k>} #declare k = k +2; #end #declare j = j + 2; #end #declare i = i + 2; #end
I, the copyright holder of this work, hereby publish it under the following licenses:
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:20, 12 August 2006 | 480 × 360 (33 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, -24.0> direc |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikibooks.org