Blender Git Loki

Git Commits -> Revision 042d612

Revision 042d612 by Ton Roosendaal (master)
January 23, 2006, 22:05 (GMT)
Giant commit!
A full detailed description of this will be done later... is several days
of work. Here's a summary:

Render:
- Full cleanup of render code, removing *all* globals and bad level calls
all over blender. Render module is now not called abusive anymore
- API-fied calls to rendering
- Full recode of internal render pipeline. Is now rendering tiles by
default, prepared for much smarter 'bucket' render later.
- Each thread now can render a full part
- Renders were tested with 4 threads, goes fine, apart from some lookup
tables in softshadow and AO still
- Rendering is prepared to do multiple layers and passes
- No single 32 bits trick in render code anymore, all 100% floats now.

Writing images/movies
- moved writing images to blender kernel (bye bye 'schrijfplaatje'!)
- made a new Movie handle system, also in kernel. This will enable much
easier use of movies in Blender

PreviewRender:
- Using new render API, previewrender (in buttons) now uses regular render
code to generate images.
- new datafile 'preview.blend.c' has the preview scenes in it
- previews get rendered in exact displayed size (1 pixel = 1 pixel)

3D Preview render
- new; press Pkey in 3d window, for a panel that continuously renders
(pkey is for games, i know... but we dont do that in orange now!)
- this render works nearly identical to buttons-preview render, so it stops
rendering on any event (mouse, keyboard, etc)
- on moving/scaling the panel, the render code doesn't recreate all geometry
- same for shifting/panning view
- all other operations (now) regenerate the full render database still.
- this is WIP... but big fun, especially for simple scenes!

Compositor
- Using same node system as now in use for shaders, you can composit images
- works pretty straightforward... needs much more options/tools and integration
with rendering still
- is not threaded yet, nor is so smart to only recalculate changes... will be
done soon!
- the "Render Result" node will get all layers/passes as output sockets
- The "Output" node renders to a builtin image, which you can view in the Image
window. (yes, output nodes to render-result, and to files, is on the list!)

The Bad News
- "Unified Render" is removed. It might come back in some stage, but this
system should be built from scratch. I can't really understand this code...
I expect it is not much needed, especially with advanced layer/passes
control
- Panorama render, Field render, Motion blur, is not coded yet... (I had to
recode every single feature in render, so...!)
- Lens Flare is also not back... needs total revision, might become composit
effect though (using zbuffer for visibility)
- Part render is gone! (well, thats obvious, its default now).
- The render window is only restored with limited functionality... I am going
to check first the option to render to a Image window, so Blender can become
a true single-window application. :)
For example, the 'Spare render buffer' (jkey) doesnt work.
- Render with border, now default creates a smaller image
- No zbuffers are written yet... on the todo!
- Scons files and MSVC will need work to get compiling again

OK... thats what I can quickly recall. Now go compiling!

Commit Details:

Full Hash: 042d612df219c8f6a29afa235537380f227b5684
SVN Revision: 6527
Parent Commit: 5668480
Lines Changed: +16547, -14296

12 Added Paths:

/source/blender/blenkernel/intern/node_composit.c (+1372, -0) (View)
/source/blender/blenlib/BLI_jitter.h (+40, -0) (View)
/source/blender/blenlib/intern/jitter.c (+178, -0) (View)
/source/blender/render/extern/include/RE_pipeline.h (+161, -0) (View)
/source/blender/render/extern/include/RE_render_ext.h (+49, -0) (View)
/source/blender/render/extern/include/RE_shader_ext.h (+107, -0) (View)
/source/blender/render/intern/include/renderdatabase.h (+69, -0) (View)
/source/blender/render/intern/include/renderpipeline.h (+41, -0) (View)
/source/blender/render/intern/include/render_types.h (+347, -0) (View)
/source/blender/render/intern/source/convertblender.c (+3108, -0) (View)
/source/blender/render/intern/source/pipeline.c (+954, -0) (View)
/source/blender/src/preview.blend.c (+4634, -0) (View)

22 Deleted Paths:

/source/blender/render/extern/include/render.h (+0, -304)
/source/blender/render/extern/include/render_types.h (+0, -356)
/source/blender/render/intern/include/errorHandler.h (+0, -69)
/source/blender/render/intern/include/jitter.h (+0, -52)
/source/blender/render/intern/include/outerRenderLoop.h (+0, -44)
/source/blender/render/intern/include/renderHelp.h (+0, -64)
/source/blender/render/intern/include/renderPreAndPost.h (+0, -43)
/source/blender/render/intern/include/RE_callbacks.h (+0, -85)
/source/blender/render/intern/include/vanillaRenderPipe.h (+0, -59)
/source/blender/render/intern/include/vanillaRenderPipe_types.h (+0, -87)
/source/blender/render/intern/include/zblur.h (+0, -48)
/source/blender/render/intern/include/zbufferdatastruct.h (+0, -98)
/source/blender/render/intern/include/zbufferdatastruct_types.h (+0, -80)
/source/blender/render/intern/include/zbuf_types.h (+0, -75)
/source/blender/render/intern/source/errorHandler.c (+0, -102)
/source/blender/render/intern/source/jitter.c (+0, -198)
/source/blender/render/intern/source/renderHelp.c (+0, -306)
/source/blender/render/intern/source/renderPreAndPost.c (+0, -103)
/source/blender/render/intern/source/RE_callbacks.c (+0, -168)
/source/blender/render/intern/source/vanillaRenderPipe.c (+0, -1641)
/source/blender/render/intern/source/zblur.c (+0, -818)
/source/blender/render/intern/source/zbufferdatastruct.c (+0, -310)

144 Modified Paths:

/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+0, -40) (Diff)
/source/blender/blenkernel/BKE_bad_level_calls.h (+5, -42) (Diff)
/source/blender/blenkernel/BKE_colortools.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_material.h (+6, -2) (Diff)
/source/blender/blenkernel/BKE_node.h (+41, -4) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_texture.h (+8, -0) (Diff)
/source/blender/blenkernel/BKE_world.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_writeavi.h (+19, -3) (Diff)
/source/blender/blenkernel/intern/action.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -10) (Diff)
/source/blender/blenkernel/intern/colortools.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/displist.c (+3, -682) (Diff)
/source/blender/blenkernel/intern/effect.c (+8, -7) (Diff)
/source/blender/blenkernel/intern/image.c (+114, -50) (Diff)
/source/blender/blenkernel/intern/ipo.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/Makefile (+4, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+111, -48) (Diff)
/source/blender/blenkernel/intern/mball.c (+2, -5) (Diff)
/source/blender/blenkernel/intern/node.c (+84, -43) (Diff)
/source/blender/blenkernel/intern/node_shaders.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/object.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+3, -8) (Diff)
/source/blender/blenkernel/intern/scene.c (+8, -2) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+73, -2) (Diff)
/source/blender/blenkernel/intern/world.c (+0, -35) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+70, -31) (Diff)
/source/blender/blenkernel/SConscript (+2, -0) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+7, -3) (Diff)
/source/blender/blenlib/intern/rct.c (+52, -0) (Diff)
/source/blender/blenlib/intern/util.c (+33, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+24, -12) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -4) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+15, -6) (Diff)
/source/blender/imbuf/intern/scaling.c (+28, -17) (Diff)
/source/blender/imbuf/intern/writeimage.c (+14, -0) (Diff)
/source/blender/include/BIF_glutil.h (+1, -1) (Diff)
/source/blender/include/BIF_interface.h (+2, -1) (Diff)
/source/blender/include/BIF_previewrender.h (+25, -6) (Diff)
/source/blender/include/BIF_renderwin.h (+1, -1) (Diff)
/source/blender/include/BIF_screen.h (+1, -1) (Diff)
/source/blender/include/BIF_space.h (+2, -1) (Diff)
/source/blender/include/BIF_toets.h (+0, -3) (Diff)
/source/blender/include/BIF_writeimage.h (+3, -1) (Diff)
/source/blender/include/blendef.h (+1, -0) (Diff)
/source/blender/include/BSE_drawview.h (+1, -2) (Diff)
/source/blender/include/BSE_node.h (+4, -1) (Diff)
/source/blender/include/BSE_sequence.h (+5, -2) (Diff)
/source/blender/include/BSE_view.h (+4, -1) (Diff)
/source/blender/include/butspace.h (+2, -1) (Diff)
/source/blender/include/interface.h (+6, -0) (Diff)
/source/blender/Makefile (+1, -1) (Diff)
/source/blender/makesdna/DNA_image_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_material_types.h (+5, -22) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+11, -4) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/python/api2_2x/sceneRender.c (+25, -18) (Diff)
/source/blender/python/api2_2x/Texture.c (+5, -3) (Diff)
/source/blender/quicktime/apple/quicktime_export.c (+28, -22) (Diff)
/source/blender/quicktime/quicktime_export.h (+3, -2) (Diff)
/source/blender/radiosity/extern/include/radio.h (+2, -1) (Diff)
/source/blender/radiosity/extern/include/radio_types.h (+3, -0) (Diff)
/source/blender/radiosity/intern/source/Makefile (+1, -0) (Diff)
/source/blender/radiosity/intern/source/radfactors.c (+2, -6) (Diff)
/source/blender/radiosity/intern/source/radio.c (+2, -0) (Diff)
/source/blender/radiosity/intern/source/radrender.c (+52, -48) (Diff)
/source/blender/radiosity/SConscript (+2, -1) (Diff)
/source/blender/render/intern/include/envmap.h (+3, -2) (Diff)
/source/blender/render/intern/include/gammaCorrectionTables.h (+0, -19) (Diff)
/source/blender/render/intern/include/initrender.h (+12, -10) (Diff)
/source/blender/render/intern/include/pixelblending.h (+10, -97) (Diff)
/source/blender/render/intern/include/pixelshading.h (+12, -30) (Diff)
/source/blender/render/intern/include/rendercore.h (+23, -24) (Diff)
/source/blender/render/intern/include/shadbuf.h (+1, -1) (Diff)
/source/blender/render/intern/include/texture.h (+5, -0) (Diff)
/source/blender/render/intern/include/zbuf.h (+49, -147) (Diff)
/source/blender/render/intern/source/edgeRender.c (+69, -81) (Diff)
/source/blender/render/intern/source/envmap.c (+145, -213) (Diff)
/source/blender/render/intern/source/gammaCorrectionTables.c (+3, -11) (Diff)
/source/blender/render/intern/source/imagetexture.c (+10, -9) (Diff)
/source/blender/render/intern/source/initrender.c (+377, -1365) (Diff)
/source/blender/render/intern/source/pixelblending.c (+146, -435) (Diff)
/source/blender/render/intern/source/pixelshading.c (+30, -265) (Diff)
/source/blender/render/intern/source/ray.c (+203, -202) (Diff)
/source/blender/render/intern/source/rendercore.c (+504, -915) (Diff)
/source/blender/render/intern/source/renderdatabase.c (+339, -107) (Diff)
/source/blender/render/intern/source/shadbuf.c (+46, -134) (Diff)
/source/blender/render/intern/source/texture.c (+16, -53) (Diff)
/source/blender/render/intern/source/zbuf.c (+650, -1338) (Diff)
/source/blender/SConscript (+0, -1) (Diff)
/source/blender/src/butspace.c (+18, -0) (Diff)
/source/blender/src/buttons_editing.c (+1, -1) (Diff)
/source/blender/src/buttons_scene.c (+32, -31) (Diff)
/source/blender/src/buttons_shading.c (+24, -45) (Diff)
/source/blender/src/drawimage.c (+13, -9) (Diff)
/source/blender/src/drawnode.c (+266, -97) (Diff)
/source/blender/src/drawseq.c (+7, -4) (Diff)
/source/blender/src/drawview.c (+49, -56) (Diff)
/source/blender/src/editmesh_mods.c (+2, -1) (Diff)
/source/blender/src/editnode.c (+149, -75) (Diff)
/source/blender/src/editobject.c (+2, -17) (Diff)
/source/blender/src/editscreen.c (+5, -5) (Diff)
/source/blender/src/fluidsim.c (+2, -3) (Diff)
/source/blender/src/glutil.c (+6, -6) (Diff)
/source/blender/src/headerbuttons.c (+2, -6) (Diff)
/source/blender/src/header_buttonswin.c (+4, -11) (Diff)
/source/blender/src/header_image.c (+16, -4) (Diff)
/source/blender/src/header_info.c (+5, -1) (Diff)
/source/blender/src/header_node.c (+24, -10) (Diff)
/source/blender/src/interface.c (+36, -10) (Diff)
/source/blender/src/interface_icons.c (+5, -5) (Diff)
/source/blender/src/interface_panel.c (+80, -15) (Diff)
/source/blender/src/Makefile (+0, -1) (Diff)
/source/blender/src/previewrender.c (+435, -1223) (Diff)
/source/blender/src/renderwin.c (+270, -403) (Diff)
/source/blender/src/SConscript (+0, -1) (Diff)
/source/blender/src/screendump.c (+1, -0) (Diff)
/source/blender/src/seqaudio.c (+1, -2) (Diff)
/source/blender/src/sequence.c (+77, -43) (Diff)
/source/blender/src/space.c (+22, -6) (Diff)
/source/blender/src/toets.c (+20, -225) (Diff)
/source/blender/src/toolbox.c (+1, -2) (Diff)
/source/blender/src/transform_conversions.c (+3, -0) (Diff)
/source/blender/src/transform_manipulator.c (+2, -2) (Diff)
/source/blender/src/usiblender.c (+9, -3) (Diff)
/source/blender/src/view.c (+70, -56) (Diff)
/source/blender/src/writeavicodec.c (+8, -3) (Diff)
/source/blender/src/writeimage.c (+124, -56) (Diff)
/source/blender/src/writemovie.c (+1, -1) (Diff)
/source/blender/yafray/intern/export_File.cpp (+7, -4) (Diff)
/source/blender/yafray/intern/export_Plugin.cpp (+31, -29) (Diff)
/source/blender/yafray/intern/yafray_Render.h (+4, -1) (Diff)
/source/creator/creator.c (+12, -14) (Diff)
/source/creator/SConscript (+0, -1) (Diff)
/source/Makefile (+0, -1) (Diff)
/source/nan_compile.mk (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021