Blender Git Commits

Blender Git "master" branch commits.

Page: 2879 / 5574

Revision 0cd49fd by Thomas Beck
May 3, 2014, 10:51 (GMT)
Make blenderplayer compilable again after recent commit b7f085d9c128f31d576c732c6439b5a71e8922ee by Tamito.

Inserted a stub in stub.c and added the struct keyword to make gcc happy
May 3, 2014, 10:46 (GMT)
install_deps: always specify openexr/ilmbase versions to OIIO and OSL cmake, might help in some cases...
May 3, 2014, 09:54 (GMT)
Patch D246: Texture Marks for freestyle strokes, written and contributed by Paolo Acampora.

Reviewers: brecht, kjym3, #freestyle

Reviewed By: brecht, kjym3

Differential Revision: https://developer.blender.org/D246
May 3, 2014, 09:29 (GMT)
Alternative fix for T39941, this also fixes odd behavior of rendered preview.

The rendered preview didn't show active layer or wasn't updated if the
layer was disabled. Now the viewport always shows an active layer regardless
of whether it's enabled or disabled.
May 3, 2014, 09:08 (GMT)
Comment out scons '-Werror=float-conversion' for Cycles for now.

This option is only available in gcc >= 4.9, and we do not have a fancy helper in scons
to check availability of a flag...
May 3, 2014, 08:54 (GMT)
Fix '-Werror=float-conversion' error with gcc < 4.9, for CMake

Scons is still TODO.
May 3, 2014, 06:52 (GMT)
Fix T40001: Opening a 2.66 blend file in 2.7, a bone appear "rolled but not rolled".

Looks like some sign was lost in that complex matrix algebra (always be wary of squared values!).
Revision 35a9a7d by Joshua Leung
May 3, 2014, 04:50 (GMT)
NLA Editor: Show correct tooltip for "NLA Mute" on datablock expanders
Revision 3faa48c by Joshua Leung
May 3, 2014, 04:50 (GMT)
Spelling fix
May 3, 2014, 00:19 (GMT)
Cycles: CUDA changes for kernel evaluation cancel
May 3, 2014, 00:19 (GMT)
Cycles Bake

Expand Cycles to use the new baking API in Blender.

It works on the selected object, and the panel can be accessed in the Render panel (similar to where it is for the Blender Internal).

It bakes for the active texture of each material of the object. The active texture is currently defined as the active Image Texture node present in the material nodetree. If you don't want the baking to override an existent material, make sure the active Image Texture node is not connected to the nodetree. The active texture is also the texture shown in the viewport in the rendered mode.

Remember to save your images after the baking is complete.

Note: Bake currently only works in the CPU
Note: This is not supported by Cycles standalone because a lot of the work is done in Blender as part of the operator only, not the engine (Cycles).

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Bake

Supported Passes:
-----------------
Data Passes
* Normal
* UV
* Diffuse/Glossy/Transmission/Subsurface/Emit Color

Light Passes
* AO
* Combined
* Shadow
* Diffuse/Glossy/Transmission/Subsurface/Emit Direct/Indirect
* Environment

Review: D421
Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge

Original design by Brecht van Lommel.

The entire commit history can be found on the branch: bake-cycles
May 3, 2014, 00:19 (GMT)
Bake API - bpy.ops.object.bake()

New operator that can calls a bake function to the current render engine when available. This commit provides no feature for the users, but allows external engines to be accessed by the operator and be integrated with the baking api.

The API itself is simple. Blender sends a populated array of BakePixels to the renderer, and gets back an array of floats with the result.

The Blender Internal (and multires) system is still running independent, but we eventually will pipe it through the API as well. Cycles baking will come next as a separated commit

Python Operator:
----------------
The operator can be called with some arguments, or a user interface can be created for it. In that case the arguments can be ommited and the interface can expose the settings from bpy.context.scene.render.bake

bpy.ops.object.bake(type='COMBINED', filepath="", width=512, height=512, margin=16, use_selected_to_active=False, cage_extrusion=0, cage="", normal_space='TANGENT', normal_r='POS_X', normal_g='POS_Y', normal_b='POS_Z', save_mode='INTERNAL', use_clear=False, use_split_materials=False, use_automatic_name=False)
Note: external save mode is currently disabled.

Supported Features:
------------------
* Margin - Baked result is extended this many pixels beyond the border of each UV "island," to soften seams in the texture.

* Selected to Active - bake shading on the surface of selected object to the active object. The rays are cast from the lowpoly object inwards towards the highpoly object. If the highpoly object is not entirely involved by the lowpoly object, you can tweak the rays start point with Cage Extrusion. For even more control of the cage you can use a Cage object.

* Cage Extrusion - distance to use for the inward ray cast when using selected to active

* Custom Cage - object to use as cage (instead of the lowpoly object).

* Normal swizzle - change the axis that gets mapped to RGB

* Normal space - save as tangent or object normal spaces

Supported Passes:
-----------------
Any pass that is supported by Blender renderlayer system. Though it's up to the external engine to provide a valid enum with its supported passes. Normal passes get a special treatment since we post-process them to converted and "swizzled"

Development Notes for External Engines:
---------------------------------------
(read them in bake_api.c)

* For a complete implementation example look at the Cycles Bake commit (next).

Review: D421
Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge

Normal map pipeline "consulting" by Andy Davies (metalliandy)
Original design by Brecht van Lommel.

The entire commit history can be found on the branch: bake-cycles
May 2, 2014, 23:56 (GMT)
IMB buffer functions to take a mask as input

The mask make sure the conversion only happens in a few areas of the
buffer.

New Functions:
* IMB_buffer_byte_from_float_mask
* IMB_buffer_float_from_float_mask

The functions are an adaptation of their maskless counterparts without accepting different profiles for the input and output buffers.

Review: Sergey Sharybin
May 2, 2014, 23:56 (GMT)
BLI_path_suffix() - new path util functon to add a suffix to a filepath (before the extension)

Revision: D465
Reviewd by Campbell Barton
May 2, 2014, 23:18 (GMT)
UI: more changes for large textfields

- no longer set 'but->drawstr' when editing buttons.
- clip text and set cursor based on the 'editstr'.
May 2, 2014, 21:31 (GMT)
Code cleanup: Add -Werror=float-conversion to Cycles
May 2, 2014, 20:06 (GMT)
Fix for paste clamping the string length to UI_MAX_DRAW_STR
May 2, 2014, 19:03 (GMT)
Fix T39924: 400 character limit in text fields
May 2, 2014, 18:17 (GMT)
Fix incorrect sizes used copying panel idname, tabname.
May 2, 2014, 12:54 (GMT)
Fix T39985: crash while rendering a scene with compositing nodes using another scene

The issue was caused by the wrong scene used to acquire render result for.

Now made it so render pipeline reports currently rendering scene to the job
via special callback.

This also solves missing tile highlight issue when rendering multiple scenes
in the compositor.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021