Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active January 1, 2018 00:38
Show Gist options
  • Save lucasw/feedbbc31f8d2877b873190f496368f6 to your computer and use it in GitHub Desktop.
Save lucasw/feedbbc31f8d2877b873190f496368f6 to your computer and use it in GitHub Desktop.
Rendering scenes with blender

Hair - need to set the stiffness up to 1.0 otherwise what is made in particle edit mode will go somewhere else in the object view/render.

Command line render

Render the 80th frame to "test0080.png":

blender -b ../scape14.blend -x 1 -o test -f 80

Need to bake smoke first (creates 10 gigs of cach files in blendcache_scape14 etc., probably could reduce smoke resolution and reduce that greatly).

@lucasw
Copy link
Author

lucasw commented Jan 1, 2018

On one system accidentally installed to /opt/lib, and can run the new blender binary, but on other installed to ~/other/blender/install and it can't find the libs.

Temporary fix:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/other/blender/install/bin/oiio/lib/:~/other/blender/install/bin/osd/lib:~/other/blender/install/bin/osl/lib:~/other/blender/install/bin/alembic/lib

~/other/blender_git/build_linux/bin/blender -b scape16.blend -x 1 -o test16_ -f 25 && echo "new render " | mutt -a test16_0025.png -s "Blender Render" -- foo@bar.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment