Blender Git Commit Log

Git Commits -> Revision ae58968

Revision ae58968 by Ton Roosendaal (master)
April 16, 2013, 17:39 (GMT)
Blender Internal Render in viewport

Because of our release soon, feature has been added behind the Debug Menu.
CTRL+ALT+D and set it to -1. Or commandline --debug-value -1.

When debug set to -1, you can put the viewport to 'render' mode, just like
for Cycles. Notes for testers: (and please no bugs in tracker for this :)

- It renders without AA, MBlur, Panorama, Sequence, Composite
- Only active render layer gets rendered. Select another layer will re-render.
- But yes: it works for FreeStyle renders!
- Also does great for local view.
- BI is not well suited for incremental renders on view changes. This only
works for non-raytrace scenes, or zoom in ortho or camera mode, or for
Material changes. In most cases a full re-render is being done.
- ESC works to stop the preview render.
- Borders render as well. (CTRL+B)
- Force a refresh with arrow key left/right. A lot of settings don't trigger
re-render yet.

Tech notes:

- FreeStyle is adding a lot of temp objects/meshes in the Main database. This
caused DepsGraph to trigger changes (and redraws). I've prepended the names
for these temp objects with char number 27 (ESC), and made these names be
ignored for tag update checking.

- Fixed some bugs that were noticable with such excessive re-renders, like
for opening file window, quit during renders.


Commit Details:

Full Hash: ae58968e0a610d1b2551bdb5e4d489a8105fd812
SVN Revision: 56099
Parent Commit: 6dcee05
Lines Changed: +565, -51

23 Modified Paths:

/source/blender/blenkernel/intern/depsgraph.c (+2, -1) (Diff)
/source/blender/blenlib/BLI_math_matrix.h (+2, -0) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+10, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/editors/include/ED_render.h (+4, -0) (Diff)
/source/blender/editors/render/render_intern.h (+2, -0) (Diff)
/source/blender/editors/render/render_internal.c (+361, -1) (Diff)
/source/blender/editors/render/render_preview.c (+0, -1) (Diff)
/source/blender/editors/render/render_update.c (+40, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+2, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+5, -3) (Diff)
/source/blender/render/extern/include/RE_engine.h (+5, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+6, -0) (Diff)
/source/blender/render/intern/include/envmap.h (+1, -0) (Diff)
/source/blender/render/intern/include/initrender.h (+1, -1) (Diff)
/source/blender/render/intern/include/render_types.h (+1, -0) (Diff)
/source/blender/render/intern/source/convertblender.c (+29, -5) (Diff)
/source/blender/render/intern/source/envmap.c (+21, -20) (Diff)
/source/blender/render/intern/source/external_engine.c (+12, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+52, -12) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+4, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021