From BlenderWiki

Jump to: navigation, search
Blender3D FreeTip.gif
IMPORTANT! Do not update this page!
We have moved the Blender User Manual to a new location. Please do not update this page, as it will be locked soon.

Cache & Bake

Cache panel with caching and baking settings for Emitter particles simulations.

Emitter systems use a unified system for caching and baking (together with softbody and cloth). The results of the simulation are automatically cached to memory when the animation is played, so that the next time it runs, it can play again quickly by reading the results from the memory. If you Bake the simulation the cache is protected, and you will be unable to change the simulation settings until you clear the baked frames by clicking Free Bake.

Cache panel with caching and baking settings for Hair particles simulations with enabled Hair dynamics.

When the simulation is Cached or Baked it will be stored inside of the .blend file when you save the scene. If Disk Cache is checked, Blender will instead save the frames to an external path on the disk (usually in a folder named "blendcache_[file name]" alongside the .blend file).

Caching

  • As animation is played, each physics system writes each frame to memory, between the simulation start and end frames. Note that for the cache to fill up, one has to start playback before or on the frame that the simulation starts.
  • The cache is cleared automatically on changes - but not on all changes, so it may be necessary to free it manually e.g. if you change a force field.

Settings

Caches list
Blender allows to use multiply caches. Management the ones is performed with list of caches.
+ and - buttons
Add and remove respectively caches.
External
Allows to read cache fron an external location
Index Number
Index number of cache files.
File Path
Cache file path.
Cache Step
Number of frames between cached frames.

For Hair particle systems with enabled Hair dynamics:

Start
Frame on which the simulation start.
End
Frame on which the simulation stops.


Blender3D FreeTip.gif
Beware of the Start and End Settings
The simulation is only calculated for the positive frames in-between the Start and End frames of the Bake panel, whether you bake or not. So if you want a simulation longer than 250 frames you have to change the End frame! Also, be sure that the simulation fits inside of the Start and End frames in the Timeline. Parts of the simulation that fall outside of this range will not be baked!


Compression

The compression settings, No, Light, and Heavy, determine what level of compression will be applied to the baked frame files. Higher (heavier) compression settings can reduce disk and memory usage, but take longer to bake.

Disk Cache
Saves cache files to disk (.blend file must be saved first).
Use Lib Path
Use this file’s path for the disk cache when library linked into another file (for local bakes per scene file, disable this option).
Compression
Sets compression method to be used for the disk caching.
None
No compression.
Light
Fast but not so effective compression.
Heavy
Effective but slow compression.


Baking

  • The system is protected against changes after baking.
  • The Bake result is cleared by clicking on the Free Bake button in the simulation cache settings.
  • If the mesh changes the simulation is not calculated anew.
  • Simulations cannot be edited whilst Particle Mode they have been baked to a Disk Cache. They must be baked to memory for Particle Mode to work.

Settings

Bake
Bakes this particle system physics.
Free Bake
Frees the baked particle system physics.
Calculate To Frame
Bakes this particle system physics from start to current frame.
After use the Bake All Dynamics option this become inactive. Use insted one the Update All To Frame button.
Current Cache to Bake
Bakes from this particle system cache.
Bake All Dynamics
Bakes all physics of the particle system.
Free All Bakes
Frees all baked caches of all objects in the current scene.
Update All To Frame
Updates all baked physics of all objects in the current scene from start to current frame..


Tips

  • For renderfarms, it is best to bake all the physics systems, and then copy the blendcache to the renderfarm as well.
  • Be careful with the sequence of modifiers in the modifier stack (as always). You may have a different number of faces in the 3D window and for rendering (e.g. when using subdivision surface), if so, the rendered result may be very different from what you see in the 3D window.
  • By default, when Disk Cache is checked, frames will be saved to a "blendcache_[file name]" folder alongside the .blend file. Changing this path can lead to strange results when reading the bake from the disk.




Blender3D FreeTip.gif
This is the old manual!
For the current 2.7x manual see http://www.blender.org/manual/


User Manual

World and Ambient Effects

World

Introduction
World Background

Ambient Effects

Mist
Stars (2.69)


Game Engine

Introduction

Introduction to the Game Engine
Game Logic Screen Layout

Logic

Logic Properties and States
The Logic Editor

Sensors

Introduction to Sensors
Sensor Editing
Common Options
-Actuator Sensor
-Always Sensor
-Collision Sensor
-Delay Sensor
-Joystick Sensor
-Keyboard Sensor
-Message Sensor
-Mouse Sensor
-Near Sensor
-Property Sensor
-Radar Sensor
-Random Sensor
-Ray Sensor
-Touch Sensor

Controllers

Introduction
Controller Editing
-AND Controller
-OR Controller
-NAND Controller
-NOR Controller
-XOR Controller
-XNOR Controller
-Expression Controller
-Python Controller

Actuators

Introduction
Actuator Editing
Common Options
-2D Filters Actuator
-Action Actuator
-Camera Actuator
-Constraint Actuator
-Edit Object Actuator
-Game Actuator
-Message Actuator
-Motion Actuator
-Parent Actuator
-Property Actuator
-Random Actuator
-Scene Actuator
-Sound Actuator
-State Actuator
-Steering Actuator
-Visibility Actuator

Game Properties

Introduction
Property Editing

Game States

Introduction

Camera

Introduction
Camera Editing
Stereo Camera
Dome Camera

World

Introduction

Physics

Introduction
Material Physics
No Collision Object
Static Object
Dynamic Object
Rigid Body Object
Soft Body Object
Vehicle Controller
Sensor Object
Occluder Object

Path Finding

Navigation Mesh Modifier

Game Performance

Introduction
System
Display
Framerate and Profile
Level of Detail

Python API

Introduction
Bullet physics
VideoTexture

Deploying

Standalone Player
Licensing of Blender Game

Android Support

Android Game development