diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-19 17:12:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-19 17:12:56 +0300 |
commit | c47fa4d0ecefea3f32448cb89610a4cc28aac2bb (patch) | |
tree | ba3f59c3bfd5415de4480138fd383d651a56f13f /source/blender/src/header_info.c | |
parent | 204f6066a9c9355aea28bd3092a74d12a52c7869 (diff) |
Long waited feature: Render Baking
Here's the full release log with example file.
http://www.blender3d.org/cms/Render_Baking.827.0.html
For people who don't read docs; just press ALT+CTRL+B on a Mesh
with texture faces!
Todos:
- maybe some filter options extra?
- Make normal maps in Tangent space
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r-- | source/blender/src/header_info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index d062423e7e1..57b35174acd 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -68,6 +68,7 @@ #include "BIF_interface.h" #include "BIF_language.h" #include "BIF_mainqueue.h" +#include "BIF_meshtools.h" #include "BIF_previewrender.h" #include "BIF_renderwin.h" #include "BIF_resources.h" @@ -1672,6 +1673,9 @@ static void do_info_rendermenu(void *arg, int event) case 7: extern_set_butspace(F10KEY, 0); break; + case 8: + objects_bake_render(); + break; } allqueue(REDRAWINFO, 0); } @@ -1688,6 +1692,7 @@ static uiBlock *info_rendermenu(void *arg_unused) uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Render Current Frame|F12", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 0, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Render Animation|Ctrl F12", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 1, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Bake-Render Meshes|ALT+Ctrl B", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 8, ""); uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); |