Skip to content

Instantly share code, notes, and snippets.

gifguide2code

Block or report user

Report or block gifguide2code

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@diramazioni
diramazioni / texture_change.py
Created Feb 27, 2014
blender python: texture change from command line
View texture_change.py
'''
texture image path are relative to the blend file directory. run from command line like this:
texture=img/2012720989_c.jpg blender -b mug.blend --python texture_change.py -F PNG -s 1 -e 1 -j 1 -t 0 -a
''''
import os
image_file = os.getenv('texture')
if not image_file:
image_file="img/2012720989_c.jpg"
You can’t perform that action at this time.