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
int main()
{
uint64_t test_hours = 2;
uint64_t test_minutes = 43;
uint64_t test_seconds = 32;
uint64_t test_frames = 3;
std::cout << "EXPECTED: " << test_hours << ":" << test_minutes << ":" << test_seconds << ":" << test_frames << std::endl;
double hr_ms = test_hours * 60 * 60 * 1000;
@meshula
meshula / Landru.md
Last active July 4, 2024 02:17
Landru tutorial

Landru is a reactive state machine oriented scripting language.

It was developed as a teaching aid for a game programming class for children. It turns out that it's really handy for rapidly prototyping games and interfaces.

Landru is compiled, either to byte code, or vectors of C++ lambdas.

Comments are C++ style.

from os import walk
import os, errno
import subprocess
sevenzip="7z.exe"
src="C:/Downloads/UnzippedRPMDirectory"
dir = os.getcwd()
files = []
--- labfx version 1.0
name: Deferred Example
version: 1.0
--------------------------------------------------------------------------------
buffer: gbuffer
@meshula
meshula / NodeGraph.cpp
Created December 13, 2018 21:09 — forked from spacechase0/NodeGraph.cpp
ImGui node graph
#include <any>
#include <cmath>
#include <imgui.h>
#include <imgui_internal.h>
#include "NodeGraph.hpp"
namespace
{
#pragma once
/*
// Example use on Windows with links opening in a browser
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include "Shellapi.h"
inline void LinkCallback( const char* link_, uint32_t linkLength_ )
@meshula
meshula / usd.bat
Last active February 21, 2020 18:25
usd recipes
# release monolithic
cmake -G "Visual Studio 15 2017 Win64" ..\..\src\USD -DCMAKE_INSTALL_PREFIX=c:\build\usd-install -DPXR_BUILD_TESTS=OFF -DPXR_BUILD_IMAGING=OFF -DPXR_BUILD_USD_IMAGING=OFF -DPXR_BUILD_USDVIEW=OFF -DPXR_ENABLE_GL_SUPPORT=OFF -DPXR_ENABLE_PYTHON_SUPPORT=OFF -DPXR_ENABLE_HDF5_SUPPORT=OFF -DPXR_ENABLE_PTEX_SUPPORT=OFF -DPXR_BUILD_MONOLITHIC=ON -DCMAKE_SYSTEM_PREFIX_PATH="c:\src\third-party\tbb\tbb_2018.2.185\x64-windows;c:\src\third-party\boost\boost_1.66\windows-vs2017;c:\src\third-party\boost\boost_1.66\windows-vs2017\lib\Win64" -DBoost_PROGRAM_OPTIONS_LIBRARY=c:\src\third-party\boost\boost_1.66\windows-vs2017\lib\Win64\libboost_program_options-vc150-mt-x64-1_66.lib -DBoost_USE_STATIC_LIBS=ON
# simplified release monolithic
cmake -G "Visual Studio 15 2017 Win64" ..\meshula-USD -DCMAKE_INSTALL_PREFIX=c:\projects\install\
-DPXR_BUILD_TESTS=ON -DPXR_BUILD_IMAGING=OFF -DPXR_BUILD_USD_IMAGING=OFF -DPXR_BUILD_USDVIEW=OFF\
-DPXR_ENABLE_GL_SUPPORT=OFF -DPXR_ENABLE_PYTHON_SUPPORT=OFF -DPXR_ENABL

Siggraph Highlights

A Deep Dive into Universal Scene Description and Hydra

Universal Scene Description has enjoyed a huge uptick in support, due to integration in DCC apps such as Houdini, and Apple building the RealityKit pipeline around it.

Hydra offers a render abstraction that allows evaluating many renderers

@meshula
meshula / blender-setup.md
Last active January 8, 2020 06:44
blender-setup.md