Skip to content

Instantly share code, notes, and snippets.

View AndrewHazelden's full-sized avatar

Andrew Hazelden AndrewHazelden

View GitHub Profile
@AndrewHazelden
AndrewHazelden / kvrRotate180VR.setting
Last active March 23, 2025 17:04
The Kartaverse "kvrRotate180VR.setting" effects template/macro allows you to apply VR180 SBS image rotation effects in Resolve/Fusion.
{
Tools = ordered() {
kvrRotate180VR = GroupOperator {
CtrlWZoom = false,
CustomData = {
Path = {
Map = {
["Setting:"] = "/Users/vfx/Andrew/Email/KartaVR/kvrRotate180VR/Release/2025-03-23 06.07 AM R1/"
}
},
@AndrewHazelden
AndrewHazelden / sMerge Selected.lua
Created November 27, 2024 22:01
Inserts a new sMerge node and auto-connects the selected nodes as input connections.
--[[--
sMerge Selected - 2024-10-25 12.50 PM
By Andrew Hazelden ([email protected])
Overview:
Inserts a new sMerge node and auto-connects the selected nodes as input connections.
Installation:
Copy the "sMerge Selected.lua" script to the "Scripts:/Comp" PathMap folder.
Composition {
CurrentTime = 2,
RenderRange = { 1, 144 },
GlobalRange = { 1, 144 },
CurrentID = 81,
HiQ = true,
PlaybackUpdateMode = 0,
StereoMode = false,
Version = "Fusion Studio 19.0 build 44",
SavedOutputs = 1,
@AndrewHazelden
AndrewHazelden / Camera Sensor Database.lua
Last active May 29, 2024 20:38
A Resolve Studio/Fusion Studio Lua script to apply camera sensor information to Camera3D, uCamera, CameraTracker, Renderer3D, and uRenderer nodes.
--[[--
Camera Sensor Database v1 - 2024-05-29 05.30 PM (UTC -3)
Database By: Jacob Danell <[email protected]>
Fusion Studio GUI By: Andrew Hazelden <[email protected]>
Overview:
Apply camera sensor information to BMD Fusion Studio based Camera3D, uCamera, CameraTracker, Renderer3D, and uRenderer nodes.
--[[--
__ ___ __ _
/ |/ /___ / /_ (_)_ _______
/ /|_/ / __ \/ __ \/ / / / / ___/
/ / / / /_/ / /_/ / / /_/ (__ )
/_/ /_/\____/_.___/_/\__,_/____/
KartaVP Mobius Transform - 2024-01-28 05.08 PM
Ported by Andrew Hazelden ([email protected])
@AndrewHazelden
AndrewHazelden / Valkyrie-Server.js
Last active November 19, 2023 15:02
A NodeJS "Valkyrie-Server.js" WebUI Example
#!/usr/bin/env node
// Valkyrie-Server.js 2023-11-19
// By Andrew Hazelden ([email protected]
const http = require("http");
const host = "localhost";
const port = 6761;
const requestListener = function (req, res) {
@AndrewHazelden
AndrewHazelden / TestModifer.fuse
Created April 21, 2023 22:47
A BMD Fusion Studio Fuse that probes an image for values
FuRegisterClass("TestModifier", CT_Modifier, {
REGS_Name = "TestModifier",
REGS_Category = "Modifiers",
REGS_OpDescription = "Test Modifier",
REGID_DataType = "Point",
REGID_InputDataType = "Point",
})
function Create()
@AndrewHazelden
AndrewHazelden / gist:08afb80fac8aa7d03fa4843666ab06fe
Created July 22, 2022 02:01
Fusion Studio | ScriptVal and ScriptViewShader Registry Entries
_ScriptVal___gc
_ScriptVal___new
_ScriptVal__newDef
_ScriptVal__newScriptVal
_ScriptVal_Type
_ScriptValListControl___gc
_ScriptValListControl__cast
_ScriptValListControl__GetAttr_bool
_ScriptValListControl__GetAttr_float64
_ScriptValListControl__GetAttr_ID
@AndrewHazelden
AndrewHazelden / Copy to Clipboard.lua
Created March 13, 2017 09:47
A Blackmagic Design Fusion LUA script example to copy items into the clipboard using xclip (Linux), clip (Windows), and pbcopy (macOS)
------------------------------------------------------------------------------
-- Copy to Clipboard Script for Fusion - 2017-03-13 06.27 AM
-- by Andrew Hazelden
-- www.andrewhazelden.com
-- [email protected]
------------------------------------------------------------------------------
-- Display the extra debugging verbosity detail in the console log
printStatus = true
-- printStatus = false
@AndrewHazelden
AndrewHazelden / FusionFileSelection.lua
Created February 11, 2016 12:05
A Blackmagic Design Fusion LUA script example to check the current comp's flow area for the currently selected Loader/Saver nodes.
-- Find out if we are running Fusion 6, 7, or 8
local fu_major_version = math.floor(tonumber(eyeon._VERSION))
-- Find out the current operating system platform. The platform local variable should be set to either "Windows", "Mac", or "Linux".
local platform = ""
if string.find(fusion:MapPath("Fusion:\\"), "Program Files", 1) then
-- Check if the OS is Windows by searching for the Program Files folder
platform = "Windows"
elseif string.find(fusion:MapPath("Fusion:\\"), "PROGRA~1", 1) then