Skip to content

Instantly share code, notes, and snippets.

View flowb's full-sized avatar

florian mosleh flowb

View GitHub Profile
@flowb
flowb / simple_hair_uv.py
Created May 20, 2022 14:36
Maya Groom UV export
from maya import cmds
from maya import OpenMaya
import os
def create_root_uv_attribute(curves_group, mesh_node, uv_set='map1'):
'''
Create "groom_root_uv" attribute on group of curves.
'''
@flowb
flowb / dxgl.c
Created June 10, 2021 03:13 — forked from mmozeiko/dxgl.c
WGL_NV_DX_interop2 example
#define COBJMACROS
#define INITGUID
#include <intrin.h>
#include <windows.h>
#include <d3d11.h>
#include <gl/GL.h>
#include "glext.h" // https://www.opengl.org/registry/api/GL/glext.h
#include "wglext.h" // https://www.opengl.org/registry/api/GL/wglext.h