Skip to content

Instantly share code, notes, and snippets.

View Ganonmaster's full-sized avatar
🌸
夢想家

Hidde Jansen Ganonmaster

🌸
夢想家
View GitHub Profile
@Ganonmaster
Ganonmaster / ddsclobber_blender.py
Created February 12, 2022 23:43
Replace all .dds file paths with .tga in a blender file
import bpy
for i in bpy.data.images:
if ('.dds' in i.filepath):
print(i.filepath)
i.filepath = i.filepath.replace('.dds', '.tga')
@Ganonmaster
Ganonmaster / keybase.md
Created September 9, 2019 19:34
keybase.md

Keybase proof

I hereby claim:

  • I am Ganonmaster on github.
  • I am hjansen (https://keybase.io/hjansen) on keybase.
  • I have a public key whose fingerprint is ADC2 1A92 5295 E00B 9CA9 B744 689E FB90 F2B6 E385

To claim this, I am signing this object:

@Ganonmaster
Ganonmaster / output_bonemerge.py
Last active August 29, 2015 14:10
Blender: Output Vertex Groups to $bonemerge
import sys,os,bpy
def mesh_to_weight_list(ob):
"""
Takes a mesh and return its group names and a list of lists,
one list per vertex.
aligning the each vert list with the group names,
each list contains float value for the weight.
"""