![]() ![]() Since ValueNodes can be animated (meaning that they can change value at different points of time), so the entire tree needs to be evaluated on each frame. This process works recursively, going all the way down to the leaf nodes, calculating their value, then calculating the value of their parent, and so on until reaching the root of the node tree. ![]() If a parameter is ValueNode (calculated value), then it evaluates its parameters. When Synfig needs to render a frame it starts by evaluating parameters of layers. This defines how application looks and behave. synfig-studio/src/gui/ - Code of GUI written in GTKmm.When user makes some change to Synfig file in GUI, then an action is called that does the actual modification. It contains code for actions - operations that transform loaded Synfig’s file in some way. This is a layer between GUI and libsynfig (from synfig-core). synfig-studio/src/synfigapp/ - Code of libsynfigapp library.It uses libsynfig to read Synfig files and render them in any supported format. synfig-core/src/tool/ - Code of synfig command-line tool (binary is simply called synfig).synfig-core/src/modules/mod_noise/valuenode_random.cpp.Implement a valuenode (see below on valuenodes).synfig-core/src/modules/mod_noise/distort.cpp - Noise Distort Layer.synfig-core/src/modules/lyr_freetype/lyr_freetype.cpp - Text Layer.synfig-core/src/modules/mod_geometry/circle.cpp - Circle Layer.synfig-core/src/modules/mod_gif/trgt_gif.cpp.synfig-core/src/modules/mod_png/trgt_png.cpp.Add support for exporting (rendering) to specific file format(s).synfig-core/src/modules/mod_bmp/mptr_bmp.cpp.synfig-core/src/modules/mod_png/mptr_png.cpp.Add support for importing specific file format(s).synfig-core/src/modules/ - Functionality of libsynfig can be extended with modules and this directory is a place for them.The libsynfig library is used by all other Synfig’s components. It contains code of render engine and routines for reading/writing Synfig’s files. This is actually the main part of synfig-core. synfig-core/src/synfig/ - Code of “libsynfig” library.If you want to hack on the interface, this is what you should look at. synfig-studio is the graphical editor.This directory contains the Synfig library and the Synfig command-line tool. It renders scenes and knows how to read and write Synfig XML files. Every part of the Synfig project uses ETL in some way. ETL is a template library that implements reference counting, portable threading and other low-level stuff.Synfig is divided into three components: ETL, synfig-core and synfig-studio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |