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>2007-07-26 17:38:24 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-07-26 17:38:24 +0400
commitd63da45ca8483d8a977a68533eafe51ea0b7dbf3 (patch)
tree7076cbde8ca18c8dabe38d0a59a6f2fb837017da /source/blender/render/intern/include/render_types.h
parent534ba14d2bb6e7f413399982587f6496db3082be (diff)
Refactor the raytracing code to split the tracing and shading parts into
two separate files, raytrace.c and rayshade.c. The tracing code can now be used separately from the renderer (will be used in a later commit), and the raytracing acceleration structure can now also be easily replaced, if someone wants to experiment with that.
Diffstat (limited to 'source/blender/render/intern/include/render_types.h')
-rw-r--r--source/blender/render/intern/include/render_types.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/render/intern/include/render_types.h b/source/blender/render/intern/include/render_types.h
index 45aff8e8b60..5c2e788ce44 100644
--- a/source/blender/render/intern/include/render_types.h
+++ b/source/blender/render/intern/include/render_types.h
@@ -46,7 +46,6 @@ struct Object;
struct MemArena;
struct VertTableNode;
struct VlakTableNode;
-struct Octree;
struct GHash;
#define TABLEINITSIZE 1024
@@ -84,16 +83,6 @@ typedef struct RenderPart
char *clipflag; /* clipflags for part zbuffering */
} RenderPart;
-typedef struct Octree {
- struct Branch **adrbranch;
- struct Node **adrnode;
- float ocsize; /* ocsize: mult factor, max size octree */
- float ocfacx,ocfacy,ocfacz;
- float min[3], max[3];
- int ocres;
- int branchcount, nodecount;
-} Octree;
-
/* controls state of render, everything that's read-only during render stage */
struct Render
{
@@ -150,7 +139,7 @@ struct Render
ListBase parts;
/* octree tables and variables for raytrace */
- Octree oc;
+ void *raytree;
/* use this instead of R.r.cfra */
float cfra;