diff options
author | Ton Roosendaal <ton@blender.org> | 2004-12-27 22:28:52 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-12-27 22:28:52 +0300 |
commit | 610cec55c7134c3dada168530ee833276677bae7 (patch) | |
tree | 428e061d0d42b79b9332688951baa3f189a3a985 /source/blender/src/toets.c | |
parent | c43c38140d59e9204d55a62c87e0b701f50f2538 (diff) |
Biiig commit! Thanks to 2-3 weeks of cvs freeze...
Render:
- New; support for dual CPU render (SDL thread)
Currently only works with alternating scanlines, but gives excellent
performance. For both normal render as unified implemented.
Note the "mutex" locks on z-transp buffer render and imbuf loads.
- This has been made possible by major cleanups in render code, especially
getting rid of globals (example Tin Tr Tg Tb Ta for textures) or struct
OSA or using Materials or Texture data to write to.
- Made normal render fully 4x32 floats too, and removed all old optimizes
with chars or shorts.
- Made normal render and unified render use same code for sky and halo
render, giving equal (and better) results for halo render. Old render
now also uses PostProcess options (brightness, mul, gamma)
- Added option ("FBuf") in F10 Output Panel, this keeps a 4x32 bits buffer
after render. Using PostProcess menu you will note an immediate re-
display of image too (32 bits RGBA)
- Added "Hue" and "Saturation" sliders to PostProcess options
- Render module is still not having a "nice" API, but amount of dependencies
went down a lot. Next todo: remove abusive "previewrender" code.
The last main global in Render (struct Render) now can be re-used for fully
controlling a render, to allow multiple "instances" of render to open.
- Renderwindow now displays a smal bar on top with the stats, and keeps the
stats after render too. Including "spare" page support.
Not only easier visible that way, but also to remove the awkward code that
was drawing stats in the Info header (extreme slow on some ATIs too)
- Cleaned up blendef.h and BKE_utildefines.h, these two had overlapping
defines.
- I might have forgotten stuff... and will write a nice doc on the architecture!
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index dcef102e54c..fd9a35df17a 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -97,7 +97,7 @@ #include "BSE_headerbuttons.h" #include "blendef.h" -#include "render.h" +#include "render.h" // darn schrijfplaatje() (ton) #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" @@ -106,7 +106,7 @@ #include "BIF_poseobject.h" -/* only used in toets.c */ +/* only used in toets.c and initrender.c */ /* this function doesn't really belong here */ /* ripped from render module */ void schrijfplaatje(char *name); |