diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-19 17:12:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-19 17:12:56 +0300 |
commit | c47fa4d0ecefea3f32448cb89610a4cc28aac2bb (patch) | |
tree | ba3f59c3bfd5415de4480138fd383d651a56f13f /source/blender/render/intern/include/zbuf.h | |
parent | 204f6066a9c9355aea28bd3092a74d12a52c7869 (diff) |
Long waited feature: Render Baking
Here's the full release log with example file.
http://www.blender3d.org/cms/Render_Baking.827.0.html
For people who don't read docs; just press ALT+CTRL+B on a Mesh
with texture faces!
Todos:
- maybe some filter options extra?
- Make normal maps in Tangent space
Diffstat (limited to 'source/blender/render/intern/include/zbuf.h')
-rw-r--r-- | source/blender/render/intern/include/zbuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index cd8ad8626db..993ca711a18 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -95,6 +95,9 @@ typedef struct ZSpan { void zbufclip4(struct ZSpan *zspan, int zvlnr, float *f1, float *f2, float *f3, float *f4, int c1, int c2, int c3, int c4); void zbuf_free_span(struct ZSpan *zspan); +/* to rendercore.c */ +void zspan_scanconvert(struct ZSpan *zpan, void *handle, float *v1, float *v2, float *v3, void (*func)(void *, int, int, float, float) ); + /* exported to edge render... */ void zbufclip(struct ZSpan *zspan, int zvlnr, float *f1, float *f2, float *f3, int c1, int c2, int c3); void zbuf_alloc_span(struct ZSpan *zspan, int rectx, int recty); |