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 / cli.md
Last active November 9, 2022 01:23
command line parsers for c/c++

notes from Siggraph 2022, USD Industry Council, Aaron Luk moderating

  • ifc requested by many https://en.wikipedia.org/wiki/Industry_Foundation_Classes although it sounds like many consider it to be on a ramp to obsolence

  • discussion of an "interning" schema for IoT data streams bridged via fabric or directly into usd available in usd via dynamic payload

@meshula
meshula / studio-timescales.txt
Created July 28, 2022 16:49
studio-timescales.txt
rapid | hot fix animation tools
| one off pipeline hacks simulation tools
| one off task UI nodes for procedural graphs
| build systems
| rigging systems
|
|
slow | looks foundational architecture
@meshula
meshula / usdcondam1-20220620.md
Last active June 26, 2022 22:34
usd/conda/m1/20220620

SON OF USD BUILD CLUB

Building a native Apple Silicon version of UsdView

This version of UsdView will have an Apple Silcon, Metal-native viewer, openimageio, and alembic support. It does not yet include MaterialX, OpenColorIO, or any of the other many options build_usd.py supports.

Successfully get usdview running on conda and M1 as follows:

Using the PySide6 PR by Jon Creighton

@meshula
meshula / pipeline.labfx
Created December 23, 2021 02:38
pipeline program
--- labfx version 1.0
name: Particles
version: 1.0
-------------------------------------------------------------------------------
buffer: gbuffer
has depth: yes
@meshula
meshula / zig.md
Last active December 21, 2021 17:29
zig notes

by our incantations we manipulate the dance of electrons in the microcosm, the very fabric of the universe itself

.? is equivalent to orelse unreachable. So to unwrap you can either do const y = x orelse <default>; or if (x) |unwrapped_x| {};

One way to debug ZLS lookups is to do zig run zls/zig-out/bin/build-runner.zig --pkg-begin "@build@" path/to/your/build.zig --pkg-end and make sure it outputs a list of packages.

Using slices for a stringmap

1>------ Build started: Project: tinyusd, Configuration: RelWithDebInfo x64 ------
1>main.obj : error LNK2001: unresolved external symbol "class pxrInternal_v0_22__pxrReserved__::Usd_PrimFlagsConjunction const pxrInternal_v0_22__pxrReserved__::UsdPrimDefaultPredicate" (?UsdPrimDefaultPredicate@pxrInternal_v0_22__pxrReserved__@@3VUsd_PrimFlagsConjunction@1@B)
1>main.obj : error LNK2001: unresolved external symbol "private: static char * * pxrInternal_v0_22__pxrReserved__::Sdf_Pool<struct pxrInternal_v0_22__pxrReserved__::Sdf_PathPrimTag,24,8,16384>::_regionStarts" (?_regionStarts@?$Sdf_Pool@USdf_PathPrimTag@pxrInternal_v0_22__pxrReserved__@@$0BI@$07$0EAAA@@pxrInternal_v0_22__pxrReserved__@@0PAPEADA)
1>main.obj : error LNK2001: unresolved external symbol "private: static char * * pxrInternal_v0_22__pxrReserved__::Sdf_Pool<struct pxrInternal_v0_22__pxrReserved__::Sdf_PathPropTag,24,8,16384>::_regionStarts" (?_regionStarts@?$Sdf_Pool@USdf_PathPropTag@pxrInternal_v0_22__pxrReserved__@@$0BI@$07$0EAAA@@pxrInternal_v
@meshula
meshula / strings.hpp
Created November 24, 2021 19:39
strings.hpp
#include <atomic>
#include <cstdlib>
#include <vector>
#include <stdlib.h>
//#define PRINT(...) printf(__VA_ARGS__)
#define PRINT(...)
/*

Definitions

Ansible server - where ansible is installed Module - a set of commands meant to run on the client Task - a section in a playbook with a single procedure to complete Role

  • independent yaml files that can be invoked from