Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-01-29 15:20:42 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-01-29 15:20:42 +0300
commit8e94028ed57861595e959d30476a74c48868a991 (patch)
tree6e773858db822dba27b314f76356650a67418462 /source/blender/render/intern/include/renderdatabase.h
parent5bf5b030e5dd87d4ff80fc44a5b5fb242ad385c2 (diff)
Bounding box clipping in the render engine.
Now bounding boxes are computed per object, and checked first before zbuffering objects. For strands, bounding boxes are computed per original face in the mesh. Overall the speed improvement from this is quite small (zbuffering is rarely the bottleneck), but it seems a sensible thing to do anyway.
Diffstat (limited to 'source/blender/render/intern/include/renderdatabase.h')
-rw-r--r--source/blender/render/intern/include/renderdatabase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/renderdatabase.h b/source/blender/render/intern/include/renderdatabase.h
index cfcbb4e7775..a204aa7876b 100644
--- a/source/blender/render/intern/include/renderdatabase.h
+++ b/source/blender/render/intern/include/renderdatabase.h
@@ -85,6 +85,7 @@ void free_renderdata_vlaknodes(struct VlakTableNode *vlaknodes);
void set_normalflags(struct Render *re, struct ObjectRen *obr);
void project_renderdata(struct Render *re, void (*projectfunc)(float *, float mat[][4], float *), int do_pano, float xoffs, int do_buckets);
+int clip_render_object(float boundbox[][3], float *bounds, float mat[][4]);
/* functions are not exported... so wrong names */