home *** CD-ROM | disk | FTP | other *** search
- Comments are text in the scene file included to make the scene file
- easier to read or understand. They are ignored by the ray tracer and are
- there for humans to read. There are two types of comments in POV-Ray.
-
- Two slashes are used for single line comments. Anything on a line after
- a double slash // is ignored by the ray tracer. For example:
- // This line is ignored
-
- You can have scene file information on the line in front of the comment,
- as in:
- object { FooBar } // This is an object
-
- The other type of comment is used for multiple lines. This type of com-
- ment starts with /* and ends with */ everything in-between is ignored. For
- example:
- /* These lines Are ignored
- By the Raytracer */
-
- This can be useful if you want to temporarily remove elements from a
- scene file. /*...*/ comments can "comment out" lines containing the other
- // comments, and thus can be used to temporarily or permanently comment out
- parts of a scene. /*..*/ comments can be nested, the following is legal:
- /* This is a comment
- // This too
- /* This also */ */
-
- Use comments liberally and generously. Well used, they really improve
- the readability of scene files.
-