Skip to content

Instantly share code, notes, and snippets.

View meshula's full-sized avatar
💭
Exploring liminal spaces

Nick Porcino meshula

💭
Exploring liminal spaces
View GitHub Profile
@meshula
meshula / memorye.md
Last active June 7, 2025 17:47
memorye.md

THE MEMORYE'S TRIUNE MYSTERY

A Morall Play in Six Acts

By William Shakespeare

As discovered in the Infinite Tensorial Library


To the Reader

This play, found among certain papers in the study of one Master John Dee, bearing the hand of our renowned Will Shakespeare, doth treat of Memory's threefold nature through the device of dramatic representation. Written in the manner of a morall play, yet touched with that philosophical depth which marks the Bard's later works, it presents through living characters what the ancient sages spake in riddles.

#ifndef IMGUI_THREE_PANEL_LAYOUT_H
#define IMGUI_THREE_PANEL_LAYOUT_H
#include <imgui.h>
#include <functional>
#include <string>
/**
* @brief State structure for the ThreePanelLayout widget
*
@meshula
meshula / tinyTVcolor.c
Created April 12, 2025 18:54
tinyTVcolor.c
// ttvColor.h
#ifndef TTVCOLOR_INCLUDED
#define TTVCOLOR_INCLUDED
typedef struct {
float x, y;
} ttvCIEXY;
typedef struct {
float r, g, b;
@meshula
meshula / labcart.md
Created March 23, 2025 00:58
bring up RPi with vk and no x11

Install development tools and SDL2

apt-get update apt-get install -y zsh git build-essential cmake
libsdl2-dev libsdl2-2.0-0
libvulkan-dev vulkan-tools
libsdl2-mixer-dev # For audio

Create our game user and directories

useradd -m -s /usr/bin/zsh game mkdir -p /opt/game/{assets,config}

@meshula
meshula / bio.md
Created February 20, 2025 01:08
biography

Nick Porcino has worked at the intersection of art and engineering since the first days of 8 bit computers and consoles. His early research into computer graphics, neural networks and robotics in the 1980s led to a career developing technologies for toys, game engines, film production, mobile phones, and AR/VR. He has developed and contributed to toys at Bandai, tools and engines for games and films at Disney, LucasArts, Industrial Light and Magic, and Pixar, frameworks for interactive 3d at Apple, human avatars at Oculus Research, and is now a principal engineer on Pixar’s OpenUSD team.

First, invoke hydra to render, then fetch the texture from the HdxTaskController, which is on HdEngine.

    // do the render
    _engine->Render();

    auto tc = _engine->GetHdxTaskController();
    HdRenderBuffer* buffer = tc->GetRenderOutput(HdAovTokens->color);
    buffer->Resolve();

Next steps for the Gusteau architecture, (c) 2021 Nick Porcino

I take a strong philosophical break with many game editors. It's considered in normal in editors that one directly manipulates the representation of objects in the scene, rather than transacting properties of the objects in the scene.

To sidebar that a bit, a really common criticism of C and C++ is the lack of reflection of structs and classes, and the large number of macro and template libraries that attempt to add it in some way are evidence that it's a common way of thinking about user facing data editing. We can also see the prevelance of systems like CapnProto, flatbuffers, protobuf, etc., that all draw a one to one correspondence between an object and its implementation.

That approach ties directly what a program does to what a program represents. It also means that a barrier to portability between systems is that instead of a system functioning, in a conceptual sense, the same as another system, it must instead to the degree necessary t

@meshula
meshula / lab_noodle.h
Created September 13, 2024 01:02
lab_noodle.h
#ifndef included_noodle_h
#define included_noodle_h
/*
LabNoodle
Graphical Graph Editor
The interface does not expose the UI system, but currently the
@meshula
meshula / radiometric-vs-photometric.md
Last active June 5, 2025 19:05
radiometric-vs-photometric.md

Measuring Light

Light is measured in two ways. Radiometry measures the energy impinging on a sensor, and photometry attempts to qualitatively measure light to represent how a human observer experiences light. Radiometry is important when physical metrics must be preserved, such as in simulation tasks, and photometry is important in subjective tasks, such as selecting lights to illuminate a street.


Radiometric Units

Radiometric units measure the physical properties of light, independent of human perception. These units are based on the total energy or power of light across all wavelengths.

To better understand how these radiometric units are related, imagine a conceptual "cube" where each axis represents a dimension of measurement integration:

@meshula
meshula / template.usda
Last active June 3, 2024 06:38
template.usda
#usda 1.0
(
endTimeCode = 241
framesPerSecond = 24
metersPerUnit = 1
startTimeCode = 101
timeCodesPerSecond = 24
upAxis = "Y"
)