MegaPOV Documentation

MegaPOV 1.0

31 December 2002

Abstract

This documentation contains a complete set of information about MegaPOV. Here you can find descriptions from either script and patch writer point of view. This work is supposed to be an addition to complete the POV-Ray™ Documentation.


Table of Contents

1. Introduction
1.1. What is MegaPOV?
1.2. What's new
1.2.1. MegaPOV 1.0 - 31 December 2002
1.3. Why is MegaPOV needed?
1.4. Enabling MegaPOV features
1.5. Where do I find MegaPOV?
1.5.1. Sources and binaries
1.5.2. Documentation and samples
1.5.3. Discussions
2. MegaPOV References
2.1. Options
2.1.1. Frame_Step
2.1.2. End_Row with value 1
2.2. Expressions
2.2.1. Language directives
2.2.2. Built-in tokens
2.2.3. Functions
2.2.4. Internal functions
2.2.5. Polynomial solver in parser
2.2.6. Splines
2.3. Objects
2.3.1. Common features
2.3.2. Parametric
2.3.3. Text
2.3.4. Cloth simulation
2.3.5. Isosurface
2.3.6. Height Field
2.3.7. Torus
2.4. Effects
2.4.1. Glow
2.5. Textures and patterns
2.5.1. Listed pattern
2.5.2. Displace warp for patterns
2.5.3. Noise pigment
2.5.4. Fix for normal copying
2.6. Global Settings
2.6.1. Film exposure simulation
2.6.2. Radiosity
2.6.3. Mechanics simulation patch
3. MegaPOV Include files
3.1. The 'mechsim.inc' include file
3.1.1. general aspects
3.1.2. The Vector_Function() macro
3.1.3. The Object generation macros
3.1.4. The topology generation macros
4. Tutorials
4.1. Objects
4.1.1. Cloth simulation
4.2. Simulation
4.2.1. Mechanics simulation tutorial
5. Internals
5.1. Sources
5.1.1. Understanding the POV-Ray source structure
5.1.2. Markup - key to make portable patches
5.1.3. Coding - stay portable
5.1.4. Sharing patches
5.2. Binaries
5.2.1. compiling on Windows/DOS systems
5.2.2. compiling on Macintosh systems
5.2.3. compiling on Unix systems
5.3. Parser
5.3.1. Adding tokens
5.4. Expressions
5.4.1. Polynomial solver
5.5. Multi-format Documentation with DocBook
5.5.1. Environment for DocBook documentation
5.5.2. Editing DocBook documentation
5.5.3. Converting DocBook documents
6. Appendices
6.1. MegaPOV-Team
6.2. Contribution
6.3. MegaPOV before POV-Ray 3.5
6.3.1. MegaPOV history
6.3.2. Authors of patches in MegaPOV below version 1.0
Index

List of Figures

2.1. Force based environment collisions illustration
2.2. Impact based environment collisions illustration
2.3. Mass-mass collisions illustration
2.4. Mass-face collisions illustration
3.1. patch connection numbers

List of Tables

2.1. The following time formatting strings are available:
2.2. Exposure influence comparison
3.1. MechSim_Show_Patch() variations
3.2. MechSim_Show_Patch() variations
6.1. Current MegaPOV-Team Members

List of Examples

2.1. Influence of Frame_Step on generated files
2.2. Using the #set directive
2.3. date function usage
2.4. Using the timer function
2.5. Polynomial solver usage
2.6. Conversion from sor object definition to sor_spline type in spline
2.7. Various values for film exposure simulations
2.8. An example for a complete collision{} section:
2.9. Constant downward force in Mechanics simulation
2.10. The simulation data file format
3.1. MechSim_Show_Objects() macro usage
3.2. MechSim_Show_All_Objects() macro usage
3.3. MechSim_Show_Patch() macro usage
3.4. MechSim_Generate_Grid_Fn() macro usage
3.5. MechSim_Generate_Grid() macro usage
3.6. MechSim_Generate_Grid_Std() macro usage
3.7. MechSim_Generate_Box() macro usage
3.8. MechSim_Generate_Patch() macro usage
3.9. MechSim_Generate_Patch_Std() macro usage
3.10. MechSim_Generate_Line() macro usage
3.11. MechSim_Generate_Line() macro usage
5.1. Typical patch markup