2.2.8 Setting POV-Ray Options
POV-Ray 3.6 for UNIX documentation
2.3 Advanced Features
2.3.1 Spline Based Shapes
2.3
Advanced Features
Section Contents
2.3.1 Spline Based Shapes
2.3.1.1 Lathe Object
2.3.1.1.1 Understanding The Concept of Splines
2.3.1.2 Surface of Revolution Object
2.3.1.3 Prism Object
2.3.1.3.1 Teaching An Old Spline New Tricks
2.3.1.3.2 Smooth Transitions
2.3.1.3.3 Multiple Sub-Shapes
2.3.1.3.4 Conic Sweeps And The Tapering Effect
2.3.1.4 Sphere Sweep Object
2.3.1.5 Bicubic Patch Object
2.3.1.6 Text Object
2.3.2 Polygon Based Shapes
2.3.2.1 Mesh Object
2.3.2.2 Mesh2 Object
2.3.2.2.1 Smooth triangles and mesh2
2.3.2.2.2 UV mapping and mesh2
2.3.2.2.3 A separate texture per triangle
2.3.2.3 Polygon Object
2.3.3 Other Shapes
2.3.3.1 Blob Object
2.3.3.1.1 Component Types and Other New Features
2.3.3.1.2 Complex Blob Constructs and Negative Strength
2.3.3.2 Height Field Object
2.3.3.3 Isosurface Object
2.3.3.3.1 Simple functions
2.3.3.3.2 Several surfaces
2.3.3.3.3 Non-linear functions
2.3.3.3.4 Specifying functions
2.3.3.3.5 Internal functions
2.3.3.3.6 Combining isosurface functions
2.3.3.3.7 Noise and pigment functions
2.3.3.3.8 Conditional directives and loops
2.3.3.3.9 Transformations on functions
2.3.3.3.10 Improving Isosurface Speed
2.3.3.4 Poly Object
2.3.3.4.1 Creating the polynomial function
2.3.3.4.2 Writing the polynomial vector
2.3.3.5 Superquadric Ellipsoid Object
2.3.4 Advanced Texture Options
2.3.4.1 Pigments
2.3.4.1.1 Using Color List Pigments
2.3.4.1.2 Using Pigment and Patterns
2.3.4.1.3 Using Pattern Modifiers
2.3.4.1.4 Using Transparent Pigments and Layered Textures
2.3.4.1.5 Using Pigment Maps
2.3.4.2 Normals
2.3.4.2.1 Using Basic Normal Modifiers
2.3.4.2.2 Blending Normals
2.3.4.3 Finishes
2.3.4.3.1 Using Ambient
2.3.4.3.2 Using Surface Highlights
2.3.4.3.3 Using Reflection, Metallic and Metallic
2.3.4.3.4 Using Iridescence
2.3.4.4 Working With Pigment Maps
2.3.4.5 Working With Normal Maps
2.3.4.6 Working With Texture Maps
2.3.4.7 Working With List Textures
2.3.4.8 What About Tiles?
2.3.4.9 Average Function
2.3.4.10 Working With Layered Textures
2.3.4.10.1 Declaring Layered Textures
2.3.4.10.2 Another Layered Textures Example
2.3.4.11 When All Else Fails: Material Maps
2.3.4.12 Limitations Of Special Textures
2.3.5 Using Atmospheric Effects
2.3.5.1 The Background
2.3.5.2 The Sky Sphere
2.3.5.2.1 Creating a Sky with a Color Gradient
2.3.5.2.2 Adding the Sun
2.3.5.2.3 Adding Some Clouds
2.3.5.3 The Fog
2.3.5.3.1 A Constant Fog
2.3.5.3.2 Setting a Minimum Translucency
2.3.5.3.3 Creating a Filtering Fog
2.3.5.3.4 Adding Some Turbulence to the Fog
2.3.5.3.5 Using Ground Fog
2.3.5.3.6 Using Multiple Layers of Fog
2.3.5.3.7 Fog and Hollow Objects
2.3.5.4 The Rainbow
2.3.5.4.1 Starting With a Simple Rainbow
2.3.5.4.2 Increasing the Rainbow's Translucency
2.3.5.4.3 Using a Rainbow Arc
2.3.6 Simple Media Tutorial
2.3.6.1 Types of media
2.3.6.2 Some media concepts
2.3.6.3 Simple media examples
2.3.6.3.1 Emitting media
2.3.6.3.2 Absorbing media
2.3.6.3.3 Scattering media
2.3.6.4 Multiple medias inside the same object
2.3.6.5 Media and transformations
2.3.6.6 A more advanced example of scattering media
2.3.6.7 Media and photons
2.3.7 Radiosity
2.3.7.1 Introduction
2.3.7.2 Radiosity with conventional lighting
2.3.7.3 Radiosity without conventional lighting
2.3.7.4 Normals and Radiosity
2.3.7.5 Performance considerations
2.3.8 Making Animations
2.3.8.1 The Clock Variable: Key To It All
2.3.8.2 Clock Dependant Variables And Multi-Stage Animations
2.3.8.3 The Phase Keyword
2.3.8.4 Do Not Use Jitter Or Crand
2.3.8.5 INI File Settings
2.3.9 While-loop tutorial
2.3.9.1 What a while-loop is and what it is not
2.3.9.2 How does a single while-loop work?
2.3.9.3 How do I make a while-loop?
2.3.9.4 What is a condition and how do I make one?
2.3.9.5 What about loop types other than simple for-loops?
2.3.9.6 What about nested loops?
2.3.9.7 Mixed-type nested loops
2.3.9.8 Other things to note
2.3.10 SDL tutorial: A raytracer
2.3.10.1 Introduction
2.3.10.2 The idea and the code
2.3.10.3 Short introduction to raytracing
2.3.10.4 Global settings
2.3.10.5 Scene definition
2.3.10.6 Initializing the raytracer
2.3.10.7 Ray-sphere intersection
2.3.10.7.1 Inner workings of a #macro
2.3.10.7.2 The ray-sphere intersection macro
2.3.10.8 The Trace macro
2.3.10.8.1 Calculating the closest intersection
2.3.10.8.2 If the ray doesn't hit anything
2.3.10.8.3 Initializing color calculations
2.3.10.8.4 Going through the light sources
2.3.10.8.5 Shadow test
2.3.10.8.6 Diffuse lighting
2.3.10.8.7 Specular lighting
2.3.10.8.8 Reflection Calculation
2.3.10.9 Calculating the image
2.3.10.10 Creating the colored mesh
2.3.10.10.1 The structure of the mesh
2.3.10.10.2 Creating the mesh
2.3.10.10.3 Creating the vertex points
2.3.10.10.4 Creating the textures
2.3.10.10.5 Creating the triangles
2.3.10.11 The Camera-setup
2.2.8 Setting POV-Ray Options
2.3 Advanced Features
2.3.1 Spline Based Shapes