(unfinished - no information available)
POV format information and examples from John Burkardt
Author: John Burkardt
Change: 08 Mar 2007 Tomasz Lis adjusted to new core
Change: 31 Mar 2008 Tomasz Lis fixed and described
A list of supported elements follows. Please modify if you'll enhance something.
Format support note - reading:
- No read support
Format support note - writing:
- Full vertices support
- Full faces support, max face order 3 (auto reduced on save)
- No meshes support (may be possible to add - not sure)
- No materials support (may be possible to add)
- No textures supported
- No texture UV supported
- No camera/view support
- No Environment or lights support
- No shapes support
Example:
cone.pov created by IVCON.
Original data in cone.iv
#version 3.0
#include "colors.inc"
#include "shapes.inc"
global_settings { assumed_gamma 2.2 }
camera {
right < 4/3, 0, 0>
up < 0, 1, 0 >
sky < 0, 1, 0 >
angle 20
location < 0, 0, -300 >
look_at < 0, 0, 0>
}
light_source { < 20, 50, -100 > color White }
background { color SkyBlue }
#declare RedText = texture {
pigment { color rgb < 0.8, 0.2, 0.2> }
finish { ambient 0.2 diffuse 0.5 }
}
#declare BlueText = texture {
pigment { color rgb < 0.2, 0.2, 0.8> }
finish { ambient 0.2 diffuse 0.5 }
}
mesh {
smooth_triangle {
< 0.29, -0.29, 0.0>, < 0.0, 0.0, -1.0 >,
< 38.85, 10.03, 0.0>, < 0.0, 0.0, -1.0 >,
< 40.21, -0.29, 0.0>, < 0.0, 0.0, -1.0 >
texture { RedText } }
...
smooth_triangle {
< 0.29, -0.29, 70.4142 >, < 0.0, 0.0, 1.0 >,
< 8.56, -2.51, 70.4142 >, < 0.0, 0.0, 1.0 >,
< 8.85, -0.29, 70.4142 >, < 0.0, 0.0, 1.0 >
texture { BlueText } }
}
Copying and copyrights:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.