Demo Mode#

A ser feito.

Ativação#

  • Abra o Blender e vá em Preferences e depois para a guia Add-ons.

  • Clique em System e depois em Demo Mode para ativar o script.

Configuração#

Isto é feito em File ‣ Demo Mode (Setup) no menu File, daqui você pode selecionar um diretório que é pesquisado mutuamente por arquivos blender.

Existem opções sobre o que fazer com cada arquivo no momento as principais opções são renderizar ou reproduzir uma animação com opções sobre quantos ciclos rodar, tempo de espera após a renderização ser feita.

Automatic Configuration#

The Auto option selects between Render and Play option based on the window layout’s use of image/node editors. If you are happy to use these settings on all files, you can leave the Run Immediately option enabled and confirm.

Adjusting the Configuration#

Se você quiser definir opções por arquivo, você pode desabilitar Run Immediately, durante a configuração e selecionar demo.py` bloco de dados de texto. Este arquivo tem uma linha por arquivo e as configurações podem ser editadas e salvas com o arquivo blender. Quando o arquivo demo.py` estiver presente você só precisa ir em File ‣ Demo Mode (Start).

Atributos#

Estes argumentos de palavras-chave aparecem em gerado demo.py`, por exemplo:

dict(anim_cycles=2, anim_render=False, anim_screen_switch=0.0, anim_time_max=8.0, anim_time_min=4.0,
display_render=4.0, file='foobar.blend', mode='AUTO'),
  • anim_cycles – Number of times to play the animation.

  • anim_render – Render entire animation (applies to mode='RENDER' only).

  • anim_screen_switch – Time between switching screens (in seconds) or 0 to disable.

  • anim_time_max – Maximum number of seconds to show the animation for (in case the end frame is very high for no reason).

  • anim_time_min – Minimum number of seconds to show the animation for (for small loops).

  • display_render – Time to display the rendered image before moving on (in seconds).

  • file – The filepath for the blend-file.

  • modeAUTO / PLAY / RENDER – what to do on load.

Portable Configuration#

Once you setup a demo.py you may want to move it to a different system. In this case the paths might not match up, if so update the search_path variable to point to the path on the new system. You can also set the search_path to use the directory of the current blend-file:

search_path = "//"

Usage#

Once the demo starts it will play, render and load different files in the same Blender instance. Since its using a modal operator you can still use with Blender while the demo runs.

If you want to stop Demo Mode, you can press Esc and continue using Blender. To enable again there are three buttons at the right hand side of the file menu to navigate Prev/Pause/Next.

Limitações#

  • One file can’t play an animation then render, you need to copy the line in demo.py and set one mode to RENDER the other to PLAY.

Reference

Categoria:

Sistema

Descrição:

Demo Mode lets you select multiple blend-files and loop over them.

Localização:

File ‣ Demo menu

Arquivo:

system_demo_mode folder

Autor:

Campbell Barton

License:

GPL

Nota:

Este add-on é fornecido com o Blender.