Show enable.html syntax highlighted
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.4. Enabling MegaPOV features</title><link rel="stylesheet" href="megapov.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="MegaPOV Documentation"><link rel="up" href="introduction.html" title="Chapter 1. Introduction"><link rel="previous" href="why.html" title="1.3. Why should i use MegaPOV?"><link rel="next" href="where.html" title="1.5. Where do I find MegaPOV?"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.4. Enabling MegaPOV features</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="why.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Introduction</th><td width="20%" align="right"> <a accesskey="n" href="where.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="enable"></a>1.4. Enabling MegaPOV features</h2></div></div><div></div></div><p>
MegaPOV features are enabled by using:
</p><pre class="programlisting">#<tt class="function">version</tt> unofficial megapov 1.2; // version number may be different</pre><p>
The new features are disabled by default, and only the official version's syntax will be accepted. The above line of POV code must be included
in every include file with MegaPOV features as well, not just the main POV file.
Once the unofficial features have been enabled, they can be again disabled by using:
</p><pre class="programlisting">#version 3.6;</pre><p>
This is useful to allow backwards compatibility for some features.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="why.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="where.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.3. Why should i use MegaPOV? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 1.5. Where do I find MegaPOV?</td></tr></table></div></body></html>
See more files for this project here