This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo "Cleaning up git branches..." | |
git branch --format="%(refname:short)" | grep -v -E "master|dev" | while read branchname; do | |
read -n 1 -p $'\nDelete branch '"$branchname"$'? (Yn)\n' yn </dev/tty | |
case ${yn:0:1} in | |
y|Y ) | |
git branch -D $branchname | |
;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import glob | |
from subprocess import call | |
import sys | |
import os | |
if len(sys.argv) > 1: | |
target = sys.argv[1] | |
collada2gltf = os.path.realpath(sys.argv[1]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
Date: Sept 11, 2017.
Summary of the glTF 2.0 ecosystem, as it affects WebVR devs.
- three.js, BabylonJS, and A-Frame v0.7.0+ support glTF2.0.
- ... and more.
In Maya LT:
- Merge geometries.
- Map UVs (automatic is pretty good).
- Clean up geometry.
- Export to FBX, for Substance Painter.
- Export to OBJ, for conversion to glTF.
In obj2gltf
stable (not the online version, which drops UVs), convert to glTF.
Steps:
- Install xdc to remap as Qwerty when modifier keys are used.
- Add xmodmap config to swap Control and ⌘ keys.
- Set up
xdc
andxmodmap ~/.Xmodmap
to run on boot. (TODO)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: apache-2.0 |