Animated Graphviz Nodes in Blender using Python APIs bpy and gv.python3

Veröffentlicht am: 16 Januar 2024
auf dem Kanal: Rob Moore / Blender for Documentation
194
2

Here are three short animations which use a Python wrapper to execute the Graphviz Dot runtime. The wrapper accesses Blender's API, 'bpy', and a Graphviz API module, 'gv.python3'. They worked with the input text files to position and animate node labels for rendering.

With initial node label content in plain text in Graphviz Dot format, the input file described only the graph's nodes and edges. This implementation needed nodes' explicit positions to be set up by Graphviz for the code to work in Blender. It used the Graphviz xdot graph layout descriptions generated by 'dot -Txdot "$infile.dot" -o "$outfile.dot" '.

The background image in the animation, from about 17 seconds in, was from https://altphotos.com/ (CC0). The audio was from https://freesound.org/people/klankbeeld/ (also CC0). The clips were concatenated and encoded in MKV format video using ffmpeg.


Auf dieser Seite können Sie das Online-Video Animated Graphviz Nodes in Blender using Python APIs bpy and gv.python3 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Rob Moore / Blender for Documentation 16 Januar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 194 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!