From BlenderWiki
If you want to document Blender 2.5 features please edit pages under Doc:2.5/Manual.
If a "2.5" page doesn't exist please copy the text from 2.4x Manual and edit the new page (i.e. you should paste the wikitext from this 2.4x page to this new 2.5x page and then update the latter with 2.5 features)[edit] Rendering Big Hairy Scenes or Speeding Up Rendering
"A watched pot never boils" is the old saying, but you may wonder why your render takes so long to create, or worse, crashes mid-way through! Well, there is lots going on and lots you can do to speed up rendering or enable a complicated render to complete. Also, it is possible to render a very complicated scene on a mediocre PC by being "render-smart". Here's a "top ten" list of things to do or not do in order to speed up rendering or even avoid crashes on scene render. Some options may decrease the quality of your render, but for draft renders you may not care.
If you get the message "Malloc returns nil", in plain english that means the memory allocator tried to get more physical memory for Blender but came back empty-handed. This means that you do not have enough memory available to render the scene, and Blender cannot continue. You will need to do one or more of the following tasks on this page in order to render.
[edit] Hardware Improvements
- Get more RAM up to your PC's (motherboard and operating system) limit. Presently, Blender can use up to 8GG (giga-giga) of physical memory (64-bit address space), but most PC's can only handle 2G of RAM.
- Upgrade your CPU to a multi-core/multiprocessor
- Upgrade your OpenGL video drivers
- Get a faster memory bus
- Get faster memory, up to yor PC's motherboard limit. 667MHz memory is 30% slower than 800MHz.
- Use or set up a render farm using all available PC's in your house, or use a render farm such as BURP.
[edit] Operating System Configuration
- Increase the processing priority through your OS
- Increase your swap file space used by the OS for memory swapping. Also called virtual memory pagefile size, up to the size of your physical memory.
- Upgrade to a 64-bit operating system
- Exit or stop any background processes, like virus scanners, BOINC, Real, even "inactive" ones like Quicktime, as they can randomly start up to look for updates. They also take up RAM.
- Disable network connections to stop random pinging traffic and refresh traffic
- Stop listening to internet radio and close web browsers, especially any multi-media (audio/video/game) sites.
- Close down all other running applications, like Word
- Exit all TSRs (those icons on your system tray) and widgets, any background processes, and virus scanners
[edit] Blender Choices
- Increase the MEM Cache Limit in the User Preferences System & OpenGL tab
- Upgrade to an optimized Blender build, especially if you have a modern chip that supports SSE2 - render times are 30% faster using an optimized build.
- Switch to an Orthographic camera, and render your own "parts" of the scene as separate images, and then paste those parts together in GIMP. An old trick in making your own panoramic with a real camera is to take three or so pictures of a very wide (beach sunset) scene, where you take one picture, rotate to the right, snap another, then another, and when you get the pictures developed, you overlap them to make a very wide landscape image. Do the same in Blender; render out one shot to a file, then move the camera to look at a different area of the scene, and render that shot. Each shot will be of a smaller area and thus take in fewer polygons/faces. Be sure that when you position your camera that you snap overlapping shots, so that you can then match them up. If you don't want to use GIMP, you can use compositing nodes and the Translate node to match them up in Blender.
- Minimize the render window (and Blender if rendering to an internal window). ATI users report dramatic speedup on a per frame basis, which adds up over frame range.
- Use the Big Render script to render sub-sections of the overall image, and then paste them together.
[edit] Scene and Specific Objects
- Remove lamps, or move them to un-rendered layers, or tie them to layers
- Turn off some lamp's shadows, using only one or two main sun lamps to cast shadows. A few "shadows only" lights will render faster than every light having shadows on.
- Use Buffer Shadows rather than Raytraced Shadows
- Bake your shadows using Render Baking Full Render bake on surfaces that do not move. Using that texture for that mesh, then disable shadows for that material.
- Simplify meshes (remove polygons). The more vertices you have in camera, the more time it takes to render.
- Remove Doubles, or use the Decimator mesh edit feature.
- Remove Subsurf and Multires modifiers
- Delete backsides of meshes (removing unseen vertices)
- Render just a few objects at a time; in the beginning of your project, render the background objects and set that will not change and will always be in the background.
- Put the buildings on another layer, and through renderlayers, don't render them. Then composite them back in later.
- Make the camera static so that you can better accomplish the above two ideas.
- Avoid use of Area lights
- Make materials Shadeless
- Render Bake AO and textures, and then make those materials Shadeless
- Decrease the Clip distance for spot lights
- Decrease the Clip distance for the camera
- Turn off world AO
- Turn off Material SSS
- Use smaller image textures. A 256x256 image takes only 1% of the memory that a 2k image does, often with no loss of quality in the ulitmate render.
- Reduce Subsurf. Each level quadruples (4x) the number of faces from the previous level.
- Reduce Multires
- Make a matte render of background objects, like buildings, and put the image of them on a billboard in the scene instead of the object themselves. This will reduce vertex/face count
[edit] Render Settings
- Output Panel
- Disable Edge rendering.
- Save Buffers
- Render to an Image Editor window, not a popup Render Window.
- Use multiple Threads on a multi-core CPU (with multiple Parts).
- Render Layers Panel
- Render only the Layers of interest.
- Render with all lights set to one simple spot (enter its name in the Light: field)
- Render with one material override (enter its name in the Mat: field)
- Disable unnecessary Render Passes, such as Z, or only render the pass of interest, such as Diffuse.
- Render Panel
- Turn off Shadows
- Turn off Environment Mapping
- Turn off Panoramic Rendering
- Turn off Raytracing
- Turn off Radiosity
- Turn off SSS Subsurface Scattering
- Turn off or lower oversampling/aliasing OSA
- Turn off or lower Motion Blur
- Render in Parts. This will also allow you to render HUGE images on a weak PC. On a multi-core PC, it will assign a thread to each part as well.
- Increase the octree resolution
- Render at a percentage size of your final resolution (like 25%)
- Turn off Fields rendering.
- Use Border rendering to render a subset of the full image.
- Anim Panel
- Decrease the frame count of the animation (and use a lower framerate for the same duration of animation). For example, render 30 frames at 10 frames per second for a 3-second animation, instead of 75 frames at 25 frames per second.
- Bake Panel
- Bake Full Render - create a UV Texture that colors the objects based on materials, and then use that UV Texture shadeless instead of the material - 7x faster:
- Bake Ambient Occlusion only
- Bake textures for objects
- Baking Normals or Displacement does not speed up render time, and are used for other things.
- Bake Full Render - create a UV Texture that colors the objects based on materials, and then use that UV Texture shadeless instead of the material - 7x faster:
- Format Panel
- Render at a lower resolution. Smaller pictures take less time to render.
- Choose a faster CODEC or CODEC settings
- Render in black and white (BW button)
- If using FFMPEG, do not activate Multiplex audio
- If using FFMPEG, Autosplit Output (Video panel button)
- Render only RGB if you need color; the A channel (RGBA button) takes more memory and is unused when saving a movie file.







![[]](/skins/blender/open.png)
