Als Erstes kommt wie immer ein
Hallo-Welt-Programm
in
POV-Ray.
Ein im Raum schwebender
„Hallo Welt!”-Text
mit zwei Lichtquellen.
// Kamera
camera { location <0, 0, -4> look_at <1, 0, 0> }
// Lichtquellen
light_source { <1, -2, -6> color rgb <0.8, 0.8, 0.8> }
light_source { <-2, 4, -10> color rgb <1, 0.9, 0.6> }
// Leinwand
plane {
<2, 1, 10>, 4
pigment { color rgb <1, 1, 1> }
rotate <5, 10, 8>
}
// Text
text {
ttf "arial.ttf" "Hallo Welt!", 0.1, 0
pigment { color rgb <0.8, 0.6, 0> }
finish { ambient 0.4 }
rotate <10, 10, 2>
translate <-1.2, -0.5, 0>
}
Input_File_Name=helloworld.pov
Output_File_Type=N ;PNG
Width=320
Height=200
Antialias=On
Antialias_Threshold=0.1
Antialias_Depth=3
Mit Povray erzeugt man in aller Regel beeindruckende
3D-Graphiken
ohne Text.
Die Erzeugung von
3D-Graphiken
mit Textzügen wie hier kommt eher selten vor.