From ee4c7ef22aa95a4d1bb6ab4079576009862611d0 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 10 Feb 2006 21:10:58 +0000 Subject: 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 --- source/blender/imbuf/IMB_imbuf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/imbuf/IMB_imbuf.h') 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 /** * -- cgit v1.2.3