Previous:Destroying Identifiers with #undef   Main Index   Next:The #fopen Directive



File I/O Directives

New in POV-Ray 3.1 you may now open, read, write, append, and close plain ASCII text files while parsing POV-Ray scenes. This feature is primarily intended to help pass information between frames of an animation. Values such as an object's position can be written while parsing the current frame and read back during the next frame. Clever use of this feature could allow a POV-Ray scene to generate its own include files or write self-modifying scripts. We trust that users will come up with other interesting uses for this feature.



Previous:Destroying Identifiers with #undef   Main Index   Next:The #fopen Directive