lehrkraefte:blc:math:povray:povray

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lehrkraefte:blc:math:povray:povray [2017/04/27 17:54]
Ivo Blöchliger [Aufgaben für die Lektionen vom 28. April 2017]
lehrkraefte:blc:math:povray:povray [2017/06/19 14:32] (current)
Ivo Blöchliger [Lektionen]
Line 6: Line 6:
   * Im Laufwerk C:, im Ordner POV-Ray, starten Sie die Datei **pvstart.bat**.   * Im Laufwerk C:, im Ordner POV-Ray, starten Sie die Datei **pvstart.bat**.
  
-==== Aufgaben für die Lektionen vom 28. April 2017 ==== +====Lektionen ===== 
-=== Aufgabe 1 === +  * [[lehrkraefte:blc:math:povray:lektion8oG|2oG: Lektion vom 23Juni 2017]] 
-Laden Sie folgenden Code herunter (kopieren kann u.Uzu Fehlern führen) und speichern Sie den Code auf Ihrem USB-Stick+  * [[lehrkraefte:blc:math:povray:lektion8lW|2lW: Lektion vom 23Juni 2017]] 
- Öffnen Sie den Code in POV-Ray und erzeugen Sie das Bild+  * [[lehrkraefte:blc:math:povray:lektion7|Lektion vom 16Juni 2017]] 
-<code povray vorlage.pov> +  * [[lehrkraefte:blc:math:povray:lektion6|Lektion vom 9Juni 2017]] 
-// Das ist ein Kommentar und bewirkt nichts.+  * [[lehrkraefte:blc:math:povray:lektion5|Lektion vom 2Juni 2017]] 
 +  * [[lehrkraefte:blc:math:povray:lektion4|Lektion vom 19Mai 2017]] 
 +  * [[lehrkraefte:blc:math:povray:lektion3|Lektion vom 12. Mai 2017]] 
 +  * [[lehrkraefte:blc:math:povray:lektion2|Lektion vom 5. Mai 2017]] 
 +  * [[lehrkraefte:blc:math:povray:lektion1|Lektion vom 28. April 2017]] 
 +==== Spezielle Themen ==== 
 +  * [[lehrkraefte:blc:math:povray:while|Wiederholungen: While-Schleife]]
  
-// Kamera +==== Galerie ==== 
-camera {  +  * [[lehrkraefte:blc:math:povray:gallerie|Galerie]]
-      sky <0,0,1>           // Vektor, der festlegt, wo oben ist. +
-      right <-4/3,0,0>     // Bildverhältnis 4:3, plus Spiegelung für rechtsdrehendes System +
-      location <10,2,5>    // Position der Kamera +
-      look_at <0, 0, 0>    // Blickrichtung (erscheint im Bildmittelpunkt) +
-      angle 30             // Öffnungswinkel der Kamera +
-+
- +
-// Lichtquellen +
-light_source {  +
- <6,-2,8>              // Position des Lichts +
- color rgb <1,1,1>     // Farbe des Lichts, als rot-grün-blau Vektor (Komponenten 0 bis 1) +
-+
-light_source {  +
- <3,10,3>              // Position des Lichts +
- color rgb <1,1,1>     // Farbe des Lichts, als rot-grün-blau Vektor (Komponenten 0 bis 1) +
-+
- +
- +
-// Boden +
-plane {  +
-  z,0        // Ebene, senkrecht zu z=<0,0,1>, mit Abstand 0 zum Ursprung +
-  pigment {  // Schachbrett, durchsichtig (t steht für transmit, hier 80% lichtdurchlässig +
-    checker color rgbt <1,1,1,0.8>, color rgbt <0.2,0.2,0.2,0.8> +
-  } +
-+
- +
-// Objekte +
-sphere { +
-  <0,0,1>, 1  // Kugel mit Mittelpunkt und Radius +
-  pigment { color rgb x }   // Farbe rot x=<1,0,0> +
-+
- +
-cylinder { 0, 2*x, 0.1  // Zylinder vom Ursprung 0=<0,0,0> zum Punkt 2*<1,0,0>=<2,0,0>, Raddiu 0.1 +
-  pigment { color rgb z }  // Farble blau z=<0,0,1> +
-+
- +
-cone { 2*x, 0.2, 2.4*x, 0  // Kegel von <2,0,0> zu <2.4,0,0>, Startradius 0.2, Endradius 0 +
-  pigment { color rgb z }  // Farble blau z=<0,0,1> +
-+
- +
-</code> +
- +
-=== Aufgabe 2 === +
-In obigem Code entfernen Sie die rote Kugel und vervollständigen Sie den Code so, dass eine Koordinatensystem angezeigt wird, mit den Achsen von jeweils -1 bis +4. +
-Passen Sie die Position (location) und Blickrichtung (look_at) so an, dass das ganze +
  
 +===== Installation zu Hause =====
 +  * Windows: http://povray.org/download/
 +  * Mac: http://megapov.inetart.net/povrayunofficial_mac/
 +  * Linux: Einfach Installieren. Es wird aber normalerweise einfach ein Text-Editor verwendet.
  
  • lehrkraefte/blc/math/povray/povray.1493308444.txt.gz
  • Last modified: 2017/04/27 17:54
  • by Ivo Blöchliger