Blender Git Commit Log

All Blender Git commits.

Page: 5525 / 8462

April 25, 2014, 17:11 (GMT)
Cycles-Bake: bugfix for when no material is present

reported by Thomas Dinges in https://developer.blender.org/D421
April 25, 2014, 17:06 (GMT)
Outliner: avoid using bitshift when hashing (which could use negative numbers)
April 25, 2014, 16:06 (GMT)
Fix for transform local-axis calculation with zero length normals
April 25, 2014, 15:55 (GMT)
Always init pointcache frame step to 1.

Note it was already the case for many simulations (cloth, rigidbody, etc.), just doing this
systematically in BKE_ptcache_add() now, will avoid us some recurring bug reports.
Advanced users will know when they can/have to raise this parameter!
April 25, 2014, 15:31 (GMT)
Merge remote-tracking branch 'upstream/master' into bake-cycles

(this should fix windows building hopefully)

Conflicts:
source/blender/blenloader/intern/versioning_270.c
April 25, 2014, 15:22 (GMT)
Fix T39895: Displaying the armature layers popup in edit mode always fails.

In fact, armature layers operators (set layers, and show all) were kind of messy and broken
in Edit mode (Select layers had two different operators for Pose and Edit modes, both
using the same funcs that could only work in Pose mode, Show All was supposed to be
used in both modes but again, its exec code could only work in Pose one).

Fixed that by:
* Using only one op for each task, for both modes (with adapted poll func).
* Replacing 'object from context' access by an helper that returns the right Armature
object in both Edit and Pose modes.
April 25, 2014, 14:32 (GMT)
Compositor squashed patch reapplied

Started with the MemoryBufferValue
still a lot needs to be done
stopped at testing the dilate/erode

TILES: did some fixed for value buffer

Determine image format of OpenCL device

TILES: TextureNode fix

TILES: moved buffer sizes to constants for easy access.

TILES: fixed some nodes.
still working on the defocus node

TILES: fixed glare, keying, defocus, normalize, vector curves
April 25, 2014, 14:25 (GMT)
BoxPack: replace macros with functions

also correct error merging vertices
April 25, 2014, 13:30 (GMT)
Fix T39843: cycles memory leak rendering with high transparent depth.
April 25, 2014, 13:02 (GMT)
Support edge evaluation for triangles and ngons

Still gives issues for NGons and also it's something
strange going on when applying modifier on the triangle.

Triangles seems to be looking all fine for until the
modifier is applied on the mesh, but ngons still needs
some investigation.

Also, just understood that old SS code did something
special with triangles, it didn't handle triangles in
the same way as NGons. The thing is, treating triangles
as ngons makes them looking as if some crease is being
applied on the corners.

Would need to write some special case for this in
opensubdiv case.
April 25, 2014, 12:05 (GMT)
Add message for constraint poll

Was confusing for Python devs when these fail silently
April 25, 2014, 11:37 (GMT)
Moving towards support of NGons and triangles

It's done by creating a per-corner faces in OpenSubdiv
and interpolating them directly into CCG.

Grids interpolation by itself is done, but no edges are
being interpolated at this moment.

Also current way of creating "fake" per-corner faces
subdivides edges for every original face, which means
mesh would loose manifold when having two adjacent
tris or ngons.

At least nothing crashes at this point so don't see
a reason why not to consider this is a milestone.
April 25, 2014, 11:37 (GMT)
Code cleanup: reshuffle some code into helper functions

Makes it overall code flow easier to follow.
April 25, 2014, 11:37 (GMT)
Made quads fully working now

Still a bit hackish and unclean, but that's rather good starting point
before moving to tris/n-gons support.

- Fixed face-to-corner u/v mapping which was wrong for some cases.
- Made it so edges are getting nicely evaluated.
April 25, 2014, 11:37 (GMT)
Major refactor of the current state of the patch

- Using new OpenSubdiv C-API from the Dirk's patch D132
- Split ccgSubSurf__syncOpenSubdiv into set of smaller functions.
- Drop intern/opensubdiv, it needs to be ported to current
OpenSubdiv code anyway and currently not really needed.
- Use smarter detection of OpenSubdiv libraries since now we're
not only using osdCPU library.
April 25, 2014, 11:37 (GMT)
Fix compilation error with the current OpenSubdiv repository
April 25, 2014, 11:37 (GMT)
Initial integration of OpenSubdiv into Subsurf modifier

Summary:
This commit is an initial implementation of subsurf
modifier using OpenSubdiv instead of our older CC.

This doesn't change data layout and only uses OpsnSubdiv
evaluation API to get coordinates and values for grid
elements.

Main changes:

- Tweaked build systems to add flag to build with OSD.
- Added C-API for opensubdiv, so it might be used from
blender kernel.
- Subsurf evaluation is hacked in into CCGSubSurf.

TODO:
- Clean up all the WIP code, make it more clear
separation between legacy CCGSubSurf code and new
one based on OSD evaluation.
- Edges are not evaluating currently at all.
- UVs subdivision currently would lead to incorrect
memory usage.
- Subdivision happens in a single thread.
- Loose edges are not supported.
- Only quads does work now, need to support
triangles and N-gons.

Only committing this to share via developer.b.o with
other developers who are interested.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D56
April 25, 2014, 11:16 (GMT)
Revert previous change after discussion with Campbell

Let's just be really verbose and it some compiler gives
issues tell him NOT to do this.

We shouldn't really workaround compiles' idiocy..
April 25, 2014, 11:02 (GMT)
Fix strict flags compilation error in box pack

No need to check q >= 0 in quad_flag() since q is
an unsigned int argument.
April 25, 2014, 10:05 (GMT)
Fix T39799: Backdrop (compositor) ignores alpha.

This issue is because of a somewhat "special" behavior in old code, which got lost during rB09874df:

There was a variant of the `relinkConnections` function which would leave the socket completely unconnected. This is not a valid state really (given that each unconnected input must otherwise connected to a constant `Set` type node), but was used as a way to distinguish connected alpha/depth sockets in composite and viewer output nodes.
https://developer.blender.org/diffusion/B/browse/master/source/blender/compositor/intern/COM_InputSocket.cpp;28a829893c702918afc5ac1945a06eaefa611594$69

After the large cleanup patch ({D309}) every socket is now automatically connected to a constant, such that `getInputSocketReader` will never return a NULL pointer. This breaks the previous test method, which needs to be replaced by more explicit flags. Luckily this was done only for very few output nodes (Composite, Viewer, Output-File). These now use the regular SetValueOperation default in case "use alpha" is disabled, but set this to an explicit 1.0 value instead of mapping to the node socket.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021