Gerando e gravando simulações físicas#

Baking refers to the act of storing or caching the results of a calculation. The result of a simulation is automatically cached to memory when the animation is played, so that the next time it runs, it can be replayed more 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.

Geralmente é recomendado gerar e gravar as suas simulações físicas antes da renderização. Independentemente de não haver mais a necessidade de execução do processo de simulação e economia do seu tempo de processamento necessário, evitando que seja feito novamente diversas vezes, a geração e gravação pode ajudar a evitar pequenos problemas potenciais e garante que aquilo que foi gerado para a saída da simulação permanecerá exatamente como foi gerado naquele momento todas as vezes em que for utilizado.

Nota

A maioria dos simuladores físicos no Blender utiliza um sistema similar, mas nem todos eles possuem as mesmas definições de configuração disponíveis. Todas as definições são cobertas aqui nesta página, mas os tipos de sistema de físicas podem não fornecer todas essas mesmas opções individualmente.

Opções#

../_images/physics_baking_multi-cache-interface.png

Exemplo de dois caches diferentes armazenados de maneira simultânea.#

Caches List

Blender allows for storing and managing multiple caches at once for the same physics object. You can manage the caches with this list view. Double-click the cache entry to give it a name.

Each cache can have a name. Double-click the cache entry to give it a name. If this name is given, any disk cache will be stored in files starting with that name. For example, a cache named MyCache will be stored in MyCache_xxxxxx_yy.bphys.

If the cache does not have a name (which is the default), the filename of the cache will depend on the object it is attached to, although this is not immediately obvious. For example, a cache on an object Cube will be stored in 43756265_xxxxxx_yy.bphys, where 43756265 is determined by the object name.

Aviso

When there are multiple caches on one object, always specify a Cache Name. As described above, the filename of an unnamed cache is determined by the name of the object it is attached to. As a result, an object with multiple physics systems that all have an unnamed cache will cause conflict and can result in losing cache files.

Externo

Allows you to read the cache from a drive using a user-specified file path.

Nota

The cache name in Caches List and the Index has to exactly match the external cache files name in order to work. The cache files name format is name_frame_index.bphys.

Índice

The index number of cache files. (The last two digits of the files name.)

Caminho

Select the directory path to the cache files.

Disk Cache

The cache of a baked simulation will be stored inside the blend-file when you save it. When Disk Cache is checked, Blender will save the cache separately to the drive in a folder named blendcache_[filename] alongside the blend-file. (The blend-file must be saved first.)

Nota

When using Library Overrides, data-blocks only support Disk Cache storage.

Use Library Path

Share the disk cache when the physics object is linked into another blend-file. When this option is enabled, linked versions of the object will reference the same disk cache. Otherwise linked versions of the object will use independent caches.

Compression

The compression level for cache files. Some physics caches can be very large, Blender can compress these caches in order to save space.

None

Não comprime os arquivos de cache.

Leve

A compressão irá otimizar a velocidade das operações de compressão ou descompressão em relação ao tamanho do arquivo.

Pesada

A compressão irá resultar em arquivos de cache menores, cuja compressão é um pouco mais forte do que a opção Leve, contudo, requer mais tempo de processamento (CPU) para compressão e descompressão dos arquivos.

Início

O quadro no qual a simulação será iniciada.

Fim

O quadro no qual a simulação será interrompida.

Nota

The simulation is only calculated for positive frames in between the Start and End frames of the Cache panel, whether you bake or not. So if you want a simulation that is longer than the default frame range you have to change the End frame.

Passos de cache

O intervalo para o armazenamento dos dados de simulação.

Nota

Alguns sistemas físicos (como as partículas) permitem que as posições dos elementos envolvidos sejam guardadas a cada enésimo quadro, fazendo com que as posições entre esses quadros referenciados sejam interpoladas. A utilização de passos de cache maiores do que um, irá resultar em um cache menor, mas os resultados da simulação poderão ser diferentes da simulação original, quando lidos a partir do cache.

Gerar e gravar#

Bake

Start baking. Blender will become unresponsive during most baking operations. The cursor will display as a number representing the progress of the baking. You need to be in Object Mode to bake.

Liberar geração e gravação

Marca o cache gerado e gravado como temporário. Os dados ainda existirão, mas serão removidos em conjunto com a próxima modificação do objeto e alterações de quadros de simulação. Este botão está disponível somente quando o sistema de físicas já criou um cache através da geração e gravação.

Calcular para quadro

Gera e grava a simulação somente até o quadro atual. Esta opção é limitada pela definição de quadro de Fim de simulação presente nas configurações de cache.

Cache atual para gerar e gravar

Armazena quaisquer dados de simulações temporárias em cache como geração e gravação. Note que a reprodução da animação irá tentar simular quaisquer simulações físicas. Dependendo do tipo de físicas, estes dados poderão ser armazenados em cache de maneira temporária. Normalmente, esses tipos de caches temporários são limpos quando os objetos ou definições são modificados, mas a sua conversão para arquivos gerados e gravados irá «salvá-lo».

Gerar e gravar todas as dinâmicas

Gera e grava todos os sistemas físicos presentes na cena, mesmo aqueles de diferentes tipos do atualmente exibido. Útil para a geração e gravação de configurações ou arranjos complexos envolvendo as interações entre diferentes tipos de físicas.

See Bake.

Free All Bakes

Libera as gerações e gravações feitas para todos os sistemas físicos presentes na cena, mesmo aqueles de tipos diferentes do atualmente exibido.

Veja liberar geração e gravação das físicas.

Update All to Frame

Gera e grava todos os sistemas de física presentes na cena até o quadro atual.

See Calculate To Frame.