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/imbuf/IMB_imbuf.h | |
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/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 744c3b66345..39243ec50d1 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -505,6 +505,9 @@ void IMB_rectfill(struct ImBuf *drect, float col[4]); short imb_addrectImBuf(struct ImBuf * ibuf); void imb_freerectImBuf(struct ImBuf * ibuf); +short imb_addrectfloatImBuf(struct ImBuf * ibuf); +void imb_freerectfloatImBuf(struct ImBuf * ibuf); + #ifdef WITH_QUICKTIME /** * |