diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-02-11 00:10:58 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-02-11 00:10:58 +0300 |
commit | ee4c7ef22aa95a4d1bb6ab4079576009862611d0 (patch) | |
tree | 44012c15e1f23fd8b10ef42ea284b159ade0b602 /source/blender/src/header_info.c | |
parent | b9425b2a3509b4715acf753cefd4a2392b537ccb (diff) |
Added ability to render Zbuffer to an image.
Just use SHIFT-F3 and save an image.
Basically all this does is copy the zbuffer to a new Image buffer
and pass that to the save image function.
Sample output:
http://www.cs.umn.edu/~mein/blender/kungfu_zbuf255.jpg
Also thanks to Jesterking for helping me debug dumbness... ;)
and the nice screenshot.
Kent
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r-- | source/blender/src/header_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index dfc04c6fe14..8e2b746d612 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -769,7 +769,7 @@ static void do_info_filemenu(void *arg, int event) } break; case 6: /* save image */ - BIF_save_rendered_image_fs(); + BIF_save_rendered_image_fs(0); break; case 22: /* save runtime */ activate_fileselect(FILE_SPECIAL, "Save Runtime", "", write_runtime_check); |