2023-06-20 14:53:07 +02:00
2022-03-31 10:51:10 +02:00
2023-05-16 16:42:29 +02:00
2023-06-20 13:24:22 +02:00
2023-03-13 09:57:55 +01:00
2022-06-27 22:14:03 +02:00
2022-03-15 16:19:24 +01:00
2022-03-29 10:43:57 +02:00
2022-03-15 16:18:40 +01:00
2022-09-29 12:52:05 +02:00

tomcat_blender

lstopo

Scripts to automate TOMCAT data visualization in blender with python. TODO:

  • make cool logo from current sketch
  • build into python module with classes
  • maybe wrap system call of blender
  • add cupy/cucim support (partly done)
  • use openvdb for volume import in blender

required packages: xarray, scikit-image, trimesh, numpy

How to use

  1. Extract series stl-files for desired time series with e.g. 01_extract_surfaces.py

  2. Choose appropitate time step to set up scene and everything (e.g. cycles-render) in blender, do a test render, save the blend-file

  3. Run the animation script from command line

    Windows

    <path_to_binary>blender.exe blend-file.blend --background --python testanimscriptfull.py
    
  4. (optional) adjust frame and sampling rate, better option: create separate avi-files, merge and convert to mkv, e.g. combining ImageJ and ffmpeg

Description
Robert's scripts to automate TOMCAT data visualization in blender with python (migrated from https://gitlab.psi.ch/fcsd_5422/tomcat-blender)
Readme 2.4 MiB
Languages
Python 98.1%
Shell 1.9%