POV-Ray Online
// scene.pov - simple example: checkered floor, mirror ball, glass ball, matte ball, torus #version 3.7; global_settings { assumed_gamma 1.0 max_trace_level 12 } #include "colors.inc" // ---------- Camera ---------- camera { location <0, 2.2, -8> look_at <0, 1, 0> angle 45 } // ---------- Lights ---------- light_source { <-6, 10, -8> color rgb 1.2 } // main light (casts shadows) light_source { < 8, 6, -4> color rgb 0.3 shadowless } // soft fill // ---------- Sky ---------- sky_sphere { pigment { gradient y color_map { [0.0 rgb <0.85, 0.90, 1.00>] [1.0 rgb <0.20, 0.40, 0.80>] } } } // ---------- Floor ---------- plane { y, 0 pigment { checker rgb <0.9, 0.9, 0.9>, rgb <0.15, 0.15, 0.2> scale 1.5 } finish { ambient 0.1 diffuse 0.8 reflection 0.15 } } // ---------- Mirror sphere ---------- sphere { <0, 1, 0>, 1 pigment { rgb <0.9, 0.9, 0.95> } finish { ambient 0 diffuse 0.1 reflection 0.85 specular 0.8 roughness 0.005 } } // ---------- Glass sphere ---------- sphere { <-2.6, 0.8, -1.5>, 0.8 pigment { rgbf <0.95, 1.0, 0.98, 0.9> } finish { ambient 0 diffuse 0.05 reflection 0.1 specular 1 roughness 0.001 } interior { ior 1.5 } } // ---------- Matte red sphere ---------- sphere { <2.5, 0.7, -1>, 0.7 pigment { rgb <0.8, 0.1, 0.1> } finish { ambient 0.1 diffuse 0.9 specular 0.3 roughness 0.05 } } // ---------- Gold torus ---------- torus { 0.7, 0.2 rotate <90, 0, 0> rotate <0, 25, 0> translate <1.4, 0.2, 2.5> pigment { rgb <0.85, 0.65, 0.2> } finish { ambient 0.1 diffuse 0.6 reflection 0.3 specular 0.9 roughness 0.02 metallic } }
Clear code
Clear file
Optional: load a .pov file to show and edit it in the editor.
Size
320x240
640x480
1024x768
Quality
Draft
Good
Best
Render
Rendered image appears here