losatd.blogg.se

Resolve fusion
Resolve fusion




resolve fusion

The only other question I’d have is whether this SelfType is really static or not. Refer to this “self” type as a static var within the Haxe Type system.Use “expose” decorators to mark the Process/Create methods.I think Haxe can definitely be a better mechanism.Īlexander’s snippet that he gave is a good summary of how I would go about this: Yeah just about any language can do that. These tools are often quite complex, so having compiled Haxe output here makes a lot of sense. Neat! Glad to see a Lua use case pop up here. I’m experimenting with using Haxe for generating tools in BlackMagic Fusion Idk if you can utilize _hx_exports in your case.īut as a last resort you can always use untyped _lua_ to set Create and Process functions anywhere you want. fuse when used as tool in FusionįuRegisterClass("Minimal", CT_SourceTool, )) Minimal test example for generating simple line graphic Is it doable to mock these, so that something like the code example below can be generated?

resolve fusion

It clearly shows that a lot of functionality is set to the runtime “self”, like the FuRegisterClass method, the Width and Height properties etc. lua code example showing the type of code that I would like to get as a result. (This is what I’m interested of here!) This means that I would mock the libraries included in the BlackMagic Fusion Lua environment, so that I could wire up the functionality in actual Haxe code, and compile it to Haxe generated Lua code that would run in Fusion.īelow is a minimal Fusion. Using actiual Haxe Lua target to generate the. Quick, hacky and limited to my own “meta-programming”. That means that the Haxe Lua target isn’t involved at all, I’m running in simple -interp mode. I’ve tried this, and it works fine, as I just use Haxe logic for building a custom text file where I generate the. Using Haxe for simple generation of custom. What I want to accomplish is generating script code that programmatically can build complex vector graphics that could be mainpulated over time using Fusion’s animation capabilites, and rendering video output in the end.įusion internally uses lua for it’s tools (python is also an option but more of a workaround it seems), and there is two ways that I can accomplish working lua code: I’m experimenting with using Haxe for generating tools in BlackMagic Fusion (grafix FX software, also included in Davinci Resolve video editing sw.).






Resolve fusion