Skip to content

Instantly share code, notes, and snippets.


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 /
Created Feb 27, 2014
blender python: texture change from command line
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 -F PNG -s 1 -e 1 -j 1 -t 0 -a
import os
image_file = os.getenv('texture')
if not image_file:
You can’t perform that action at this time.