Tgl Render Status
The Render menu provides tools for creating various types of 2D images from 3D scenes, as well as some output formats.
Hints and Tips
There have been a few questions about shadow maps and some of the optimization options available in the command line renderer. RENDERING - Shadow Casting and Spotlights
The process of shadow casting in the renderer requires that each spotlight in the scene tessellate the visible geometry (from the spotlight's point of view) into triangles and vertices.
Shadow Casting section) will determine the quality of the shadow AND the amount of memory used in the rendering. Rendering - No Options
By default, during an animation the system will perform this tessellation and shadow cast operation on EVERY frame of animation. This is working under the assumption that objects and lights may be animating in the scene. But what if only the camera moves and the geometry and models are static? It could mean that you're wasting a lot of time recalculating z-depth information on a static scene (from the spotlight's point of view). Rendering -With the -k option
When the -k option is used in the command line, the renderer will perform the z-depth once per spotlight at the first frame in the animation. For each following frame, the renderer simply uses the stored information that is in memory and avoids the triangulating step altogether.
Render globals). Rendering -With the -k1 option
The -K1 option can be specified in the interactive package. By setting the Spotlight Depth Maps to ON in the Miscellaneous section of the Render Globals window (Render
Render globals), the renderer will use and create a depth map file for each shadowing spotlight in the scene. If a depth map file of the same name already exists in the depth directory, that depth map will be used. Rendering -With the -K1 option
The -K1 option will write out and re-use shadow maps.The shadow maps will be written out in the order that the shadowing spotlights appear in the SDL file. They will be named the same name as the light. The depth_input option
By editing the SDL file and adding the depth_input directive, you can tell the renderer which disk file stores the depth information for each particular spotlight. For example,light foo (type=spot, depth_input="depth/depth_map#2")
Shadow Parameters
Shadow Casting), a depth map (named the same as the light) will be generated and used. Other usages for the depth files
One interesting application of depth maps involves substituting custom built depth maps into a spotlight for special effects. For example, it is possible to have an object (like a chair on a ground plane), cast a shadow of a lamp. A more elaborate example may be to have a series of spotlights lighting a city, and having limited sets of buildings appearing to the specific lights-limiting any possibility of multiple shadow sources bleeding into each other. The shadow_output Option
Another option rarely mentioned is the shadow_output directive. By editing the SDL file and adding the shadow_output into the light description, a ALIAS RLE matte/mask file is generated from the z-depth information. For example, light foo ( type = spot, shadow_output = "mask/depth.pix"
Getting things to run faster with the Alias renderers
Memory problems
If memory is the bottleneck (for instance, swapping and paging constantly):
Render stats).
Light
Shadows).
Globals).
Render globals) and from each individual spotlight in the Shadow Casting section of the Multi-lister (Light
Shadow Parameters
Shadow Casting
Depth Map).
Edit) so that fast file-texture computations will take over instead. This also allows better filtering of the texture to be employed.
Render stats).