Advertisement
sdooley

Houdini Screenshot

Feb 25th, 2012
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import os
  2.  
  3. # destination for screenshots
  4. file_path = '/media/LITTLE_ONE/vsfx408/houdini/renders/parameter_test'
  5. # root naming convention
  6. screenshot_name = 'test'
  7.  
  8. start = 1
  9. end = 240
  10.  
  11. while start < end:
  12.     hou.setFrame(start)
  13.     os.system( 'import -window root %s/%s.%03d.png' % (file_path, screenshot_name, start) )
  14.     start += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement