Blender Git Commits

Blender Git "master" branch commits.

Page: 2284 / 5574

Revision 1df115d by Julian Eisel
September 16, 2016, 13:05 (GMT)
UI: Allow showing why button is disabled in tooltip

Uses red alert color. Operators that failed poll check already did this.
September 16, 2016, 10:28 (GMT)
OpenSubdiv: Remove redundant section define from shader compilation
September 16, 2016, 10:28 (GMT)
OpenSubdiv: Split shader source files

Was a bit annoying to do tweaks in a file which contained all
vertex, geometry and fragment shaders.
September 16, 2016, 09:58 (GMT)
GPencil: Remove toggle option for pop-up specials menu

According UI rules, no toggle options in pop-ups menus, so remove it.
September 16, 2016, 09:50 (GMT)
Fix T49349: Baking action doesnt bake multiple objects.

Tooltip was wrong here, it can only bake a single (active) object, 'only selected' option
is for pose bones only...
September 16, 2016, 09:49 (GMT)
GPencil: Add a new special menu for editing and replace subdivision shortcut

Replace the W shortcut for subdivision by a new menu for edit specials
in order to keep consistency in UI.

Subdivision is not used all the time, so it's better assign this
shortcut to menu.
September 16, 2016, 09:48 (GMT)
Fix T49372: Fresnel node: difference between 2.76 and 2.78 GLSL output
September 16, 2016, 08:32 (GMT)
GPencil: New subdivide stroke operator

In some situations the artist needs to subdivide a stroke created with
few points before, specially for sculpting.

The subdivision is done for any pair of continuous selected points in
the same stroke.

The operator can be activated in edit mode with W key and has a
parameter for number of cuts.
September 16, 2016, 08:31 (GMT)
OpenGL render: Move file writing to a separate thread

The idea is to have a dedicated thread which is responsive for all the
file writing to a separate thread, so slow disk will not slow down
OpenGL itself.

Gives really nice speedup around 1.5x when exporting barber shop layout
file to h264 video.
September 16, 2016, 07:27 (GMT)
Fix T49369: Blender crashes/closes down application at alembic export of
any object

There were a couple of crashes caused by stupid typos in
rB631af9f930d2fd2c76751204ff22239aa95f761d and
rB78ea06fea4a74181c25254ed72d50d8a743b6954, as well as a shamefull lack
of 'testing before committing' which only affect exporting.

One crash was due to using RNA_boolean_get instead of RNA_enum_get, the
other one was a tricky case of order of deletion happening in the
destructors of AbcExporter and ArchiveWriter.

Should not affect RC or release.
Revision 76c99f3 by Mike Erwin
September 15, 2016, 19:45 (GMT)
Gawain improvements

Fixed compile error in debug build (thanks mont29)

Renamed some functions for consistency.

New features:

Create a Batch with immediate mode! Just use immBeginBatch instead of immBegin. You can keep the result and draw it as many times as you like. This partially replaces the need for display lists.

Copy a VertexFormat, and create a VertexBuffer using an existing format.

Resize a VertexBuffer to a different number of vertices. (can only resize BEFORE using it to draw)
Revision 5eddb80 by Mike Erwin
September 15, 2016, 16:41 (GMT)
Extend Gawain to use Blender's built-in shaders

Was already done for immediate mode, but rearranged code to make a clean separation. Cleaned up #includes for code that uses this feature.

Added same for batched rendering.
Revision 39f7a81 by Mike Erwin
September 15, 2016, 14:51 (GMT)
Gawain: batch rendering API

Follow-up to rBddb1d5648dbd

API is nearly complete but untested.

1) create batch with vertex buffer & optional index buffer
2) choose shader program
3) draw!
September 15, 2016, 14:46 (GMT)
Cleanup: Redundant forward declaration
September 15, 2016, 14:34 (GMT)
Fix mistake in previous commit

Was copying things in other way around and was not performing
proper color space conversion.
September 15, 2016, 13:56 (GMT)
OpenGL render: Avoid byte-float-byte roundtrip

It was annoyingly slow to do roundtrip from byte OpenGL render to
float render result and back to byte image format (which is used
in 99% of cases for the OpenGL previews),

Now we use render result's rect32 to store render result which is
already supposed to be in the display space.

Gives about 30% speed improvement for OpenGL previews here.
September 15, 2016, 13:56 (GMT)
OpenCOlorIO: Add explicit linearSRGB -> sRGB lookup table

Previously converting from linear space to SRGB was doing rather
slow inverted 1D lookup. Adding explicit inverse LUT gives 20%
speedup of OpenGL render.

Next question is: why do we even bother with sRGB conversion here,
OpenGL is already in the proper space so in theory we can avoid
quite some color space conversions. In any case, having this case
optimized in nice anyway.
September 15, 2016, 13:56 (GMT)
OpenGL render: Add developer option to easily enable time information
September 15, 2016, 12:34 (GMT)
Bring blender_release.cmake uptodate with the changes from D2227
September 15, 2016, 12:27 (GMT)
[windows] add some helpers to make.bat to facilitate making release builds.

New features:
1) Release target that checks for both cuda 7.5 and 8 with WITH_CYCLES_CUDA_BINARIES=ON and CYCLES_CUDA_BINARIES_ARCH=sm_20;sm_21;sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61 options set.
2) Option to switch between x86 and x64 builds, the default remains (auto detect the architecture) but can be overridden.
3) Option to switch between vs12(2013) and vs14(2015) default is 2013.

Reviewers: juicyfruit, sergey

Reviewed By: sergey

Tags: #platform:_windows

Differential Revision: https://developer.blender.org/D2180
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021