Skip to content

Instantly share code, notes, and snippets.

View AndrewHazelden's full-sized avatar

Andrew Hazelden AndrewHazelden

View GitHub Profile
@AndrewHazelden
AndrewHazelden / USDA Voxel Wrapper.lua
Created April 29, 2026 13:24
The script allows you to create an OpenUSD ASCII (.usda) based wrapper for OpenVDB (.vdb) files. This allows USD compatible 3D scengraphs to load the external VDB based voxel datasets. The "USDA Voxel Wrapper.lua" comp script works in Fusion v19-21+ and Resolve v19-21+.
--[[--
----------------------------------------------------------------------------
USDA Voxel Wrapper.lua - 2026-04-20 6.29 AM
y Andrew Hazelden <andrew@andrewhazelden.com>
Overview:
The script allows you to create an OpenUSD ASCII (.usda) based wrapper for OpenVDB (.vdb) files. This allows USD compatible 3D scengraphs to load the external VDB based voxel datasets.
The "USDA Voxel Wrapper.lua" comp script works in Fusion v19-21+ and Resolve v19-21+.
@AndrewHazelden
AndrewHazelden / Copy As Mermaid.lua
Created April 27, 2026 09:38
This script copies the currently selected nodes in a Fusion composite to the copy/paste clipboard buffer as a Mermaid flowchart. Mermaid is an open-source graphing format that allows you to create vector charts that can be saved to a markdown format and rendered inline in a webpage.
--[[
Copy As Mermaid - 2026-04-12 04.53 AM (UTC -4)
By Andrew Hazelden
This script copies the currently selected nodes in a Fusion composite to the copy/paste clipboard buffer as a Mermaid flowchart.
Mermaid is an open-source graphing format that allows you to create vector charts that can be saved to a markdown format and rendered inline in a webpage.
https://mermaid.ai/open-source/syntax/flowchart.html
The WSL forum supports Mermaid graphs embedded in a pair of BBCode tags:
@AndrewHazelden
AndrewHazelden / BMD Ursa Cine Immersive STMap Creator.setting
Created October 25, 2025 20:53
Create STMaps for the left and right eye views from a BMD Ursa Cine Immersive camera. Then use the STMapper fuse node to warp the images, and view the results with the Kartaverse kvrViewer node.
{
Tools = ordered() {
kvrViewer1 = Fuse.kvrViewer {
CtrlWZoom = false,
Inputs = {
ImageProjection = Input { Value = 2, },
InputStereo = Input { Value = 2, },
Anaglyph = Input { Value = 1, },
Image1 = Input {
SourceOp = "Combiner1",
@AndrewHazelden
AndrewHazelden / Gaussian Splatting DragDrop.fu
Last active August 28, 2025 06:34
Gaussian Splatting DragDrop.fu
--[[--
Gaussian Splatting DragDrop - 2025-08-27
Overview:
This Resolve/Fusion add-on allows you to drag and drop .ply files into the Fusion nodes view.
An Irrealix GaussianSplatting OFX node is then added to the comp automatically.
The PLY filepath information is then added to the "Model 1" section.
Installation:
@AndrewHazelden
AndrewHazelden / BMD Ursa Cine Immersive Camera BRAW Metadata Expanded.json
Last active August 19, 2025 17:05
BMD Ursa Cine Immersive Camera BRAW Metadata Expanded.json
{
"day_night": "day",
"proim_ilpd": {
"ambientCalTemp": 18.33400000000006,
"cameraID": "658486aa-8685-4da9-9dc7-3492936b3ddf",
"captureDevice": {
"calStationName": "IMT02",
"views": [
{
"extrinsics": [
@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 (andrew@andrewhazelden.com)
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 <jacob@emberlight.se>
Fusion Studio GUI By: Andrew Hazelden <andrew@andrewhazelden.com>
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 (andrew@andrewhazelden.com)