Blender Git Commit Log

All Blender Git commits.

Page: 4246 / 8462

August 11, 2016, 13:22 (GMT)
hooked up viewport viewing mode switch
August 11, 2016, 11:35 (GMT)
Merge branch 'master' into soc-2016-multiview
August 11, 2016, 10:54 (GMT)
Half Floats: Fix CUDA rendering

The issue was not in the kernel, but in the bindless mapping instead:
it was allocating space for 4096 slots only, causing writes past the
array boundaries to begin with and making kernel unable to fetch proper
bindless texture object to end with.

Using allocations based on the slot index plus some padding to avoid
too much re-allocations now. A bit weak and maybe allocating all slots
at once is the better alternative, but should let us to work fine for
the time being.
August 11, 2016, 10:36 (GMT)
Fix T49004 and motion blur of cloth, softbody, etc past the end frame.

Point cache read code contains checks designed to prevent it reading
stale data when the relevant simulation code should instead compute
the next frame from the previous one. However in some situations like
motion blur subframes the simulation can't possibly do it and just
exits. This causes completely incorrect motion blur at or after the
last cached frame.

To fix, add a parameter that tells the cache code whether it should
apply the checks and exit, or read what it can even if stale (true
means exactly same as old behavior).

Doing this in cache rather than clamping the frame number better in
the caller lets it handle the case of incomplete cache that stops
before the official last frame.

Reviewed By: mont29, lukastoenne

Maniphest Tasks: T49004

Differential Revision: https://developer.blender.org/D2144
August 11, 2016, 10:04 (GMT)
WIP packing: continuing implementation of concave hull support
August 11, 2016, 08:12 (GMT)
Cycles: Use static assert to control structures alignment
August 11, 2016, 08:08 (GMT)
Revert "Cycles Tests: Add test for correct 16 byte alignment of KernelData structs"

Using unit tests is a wrong way to control static behavior of the
application. They should only be used for checking dynamic behavior,
all the rest is easily controllable at compile time.

Doing tests at ocmpile time are actually more robust approach since
we don't have strict policy of runnign unit tests before accepting
any change.

Proper alignment control is coming shortly.

This reverts commit 7c3a06c34918567e6b0ab67bded60725ff63073b.
August 11, 2016, 07:38 (GMT)
Merge remote-tracking branch 'origin/master' into soc-2016-uv_tools
Revision 4565f3d by Mike Erwin (master)
August 11, 2016, 05:06 (GMT)
use new immediate mode for UI_draw_box_shadow

This serves as a good example of the Gawain API. (I?ve thought of a
better way to draw drop shadows, but that can wait!)

Part of T49043.

This is what I had in mind for D1753.
Revision 7664d94 by Mike Erwin (master)
August 11, 2016, 04:11 (GMT)
Gawain: allow partial vertex specification

If you don?t specify a vertex?s color, it will use the color of the
previous vertex. Similar for all other attributes.

This matches the legacy behavior of glColor, glNormal, etc. *except* in
Gawain the first vertex of each immBegin must be fully specified. There
is no ?current? color in the new system.
August 11, 2016, 02:52 (GMT)
Added initial PBVH creation for weight painting on toggle. PBVH is visible using gui debug number 14.

Copied PBVH painting from dm->drawFacesSolid to draw_mesh_paint.

Added PBVH & drawing to vertex paint. Now free'ing when vertex/weight paint is toggled off.

Changed PBVH material to match sculpt mode.

Merge branch 'master' into soc-2016-pbvh-painting

Remove call to BKE_pbvh_draw from draw_mesh_paint, add pbvh BB drawing to dm's mappedfaces drawing callbacks.

Reading BKE_draw_pbvh code, this function actually handles the whole drawing,
seems like it does a partial update of only modified geometry (optimized drawing
in solid shadding case), don?t think we need that for v/wpaint, at least for now.

So rather just added a call to BKE_pbvh_draw_BB (in case debug value is set)
in dm's mappedfaces drawing callbacks, should do for now.

Moved StrokeCache to sculpt_intern.h and included sculpt_intern.h in paint_vertex.c similar to how sculpt.c includes paint_intern.h.

Alloc'd/free'd a stroke cache in both vertex and weight paint toggles.

separated sculpt and vwpaint init stroke cache variants and invariants. Now creating a stroke cache in weight paint.

Quick bug fix causing sculptcache to crash sculpt.

Added PBVH leaf painting to vertex paint. Weight painting not implemented, but wont take long at all to do.

Merge branch 'master' into soc-2016-pbvh-painting

Preliminary PBVH painting on vertex paint. Should have weight painting at a similar stage relatively soon. Still need to select all leaves within brush region.

Merge branch 'master' into soc-2016-pbvh-painting

Added support for painting multiple leaves at the same time. Also added brush strength and curve fade support. I need to optimize how maps for vert->loops are generated and destroyed.

Now free'ing maps. Removed unused function.

Updated map to be more efficient. Fixed bug with brush radius. Next, looking into getting the nearest ray trace location.

Merge branch 'master' into soc-2016-pbvh-painting

Did a little cleanup. Noticed I

Merge branch 'master' into soc-2016-pbvh-painting

Fixed a bug that was preventing me from implementing the blur functionality. Should have blur working in 24 hours.

Added blur, although I might rename this tool as smudge and make a seperate blur tool.

Forgot to free stroke cache. Something isn't quite right with vert to loop freeing...

Merge branch 'master' into soc-2016-pbvh-painting

Fixed memory leak on map.

Merge branch 'master' into soc-2016-pbvh-painting

Fixed a bug where some vertices under the brush wouldn't paint.

Moved some code around. Got brush strength working.

Moved map creation into the toggle.

Commented out some old code which made the average brush slow. Created a vert to poly map for the blur brush.

Brought back traditional blur, renamed new blur to average, and added an average mode.

Moved maps out of strokecache and into sculptsession.

Merge branch 'soc-2016-pbvh-painting' of git.blender.org:blender into soc-2016-pbvh-painting

Fixed undo bug.

Added mirror painting and radial symmetry.

Merge branch 'master' into soc-2016-pbvh-painting

merged master, but something in the merge broke my windows build, so I had to change something. Also fixed a bug in mirrored painting.

merged master

Added mirror buttons to weight paint, and added pbvh leaf selection and mirrored symmetry code. Still need to create callbacks for pbvh leaf selection.

Rough weight painting working. Fade coming soon.

weight paint is now fading out according to the curve settings. Doing a partial redraw instead of a full screen redraw.

Got the mirror button working. Got multipaint working again.

Changed weight paint to recycle current colors as previous colors instead of copying every weight every click. Also set openMP flags to true, although I still need to add a checkbox in options to enable multiple threads. Added blur support, but...

...still need to add blur support for multi-paint mode.

Copying old wpaints every click is slow in wpaint test start, and only is used to prevent paint overlap. I'm working on doing the same logic using a flag buffer instead, which should speed up the test start. Still need to add blur for multipaint.

...nt. I accidentally removed the accumulate option, but my blur code does essentially the same thing. Will add average brush, since it's been requested a lot.

Working on speeding up wpaint somemore. Added average brush. Average brush is now a default tool option for weight and vertex paint.

Merged master into branch

Merge branch 'master' into soc-2016-pbvh-painting

Forgot to commit modified toolbar.

Merge branch 'soc-2016-pbvh-painting' of git.blender.org:blender into soc-2016-pbvh-painting

Disregard last commit.

Merge branch 'master' into soc-2016-pbvh-painting

Calculating surface normal and direction for smudge, splash prevention, and cone painting

Added smudge tool to vertex paint. WPaint implementation coming soon. Fixed blend to use physically accurate blending model.

added smudge to wpaint. Fixed some strength issues with wpaint. Still need to add spray support.

Merge branch 'master' into soc-2016-pbvh-painting

Merge branch 'master' into soc-2016-pbvh-painting

implemented brush normal based splash prevention

added spray support to weight paint. Vertex paint spray support is giving me grief...

Fixed bug where radial mirror would not work without normal mirror being enabled.

Merge branch 'master' into soc-2016-pbvh-painting

Differential Revision: https://developer.blender.org/D2150
August 11, 2016, 02:35 (GMT)
Merge branch 'master' into soc-2016-layer_manager
August 11, 2016, 02:33 (GMT)
Work towards deprecating Scene.base

Disabled depsgraph base sorting for now, need to check how this will be handled in future.
Realize base iterators definitely need to be improved to work for corner cases :S
August 11, 2016, 01:33 (GMT)
Fixed bug where radial mirror would not work without normal mirror being enabled.
Revision 4aadf73 by Mike Erwin (master)
August 10, 2016, 22:01 (GMT)
Gawain: tweak immediate mode API

Should be simpler to use now.

Made vertex format structure private. New immVertexFormat() function
clears and returns the format. Devs can start with add_attrib(format...)
and not have to clear it first.

immBindProgram automatically packs the vertex format if needed.

Updated 3D cursor drawing to use new API.
August 10, 2016, 21:36 (GMT)
fix for manta liquid inflow and some general code cleanup in liquid script
August 10, 2016, 20:10 (GMT)
UI changes: renamed modifier label and some preparations for liquid high res mode
Revision f537d96 by Mike Erwin (master)
August 10, 2016, 20:09 (GMT)
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
Revision adbbcefe by Mike Erwin (master)
August 10, 2016, 20:08 (GMT)
Gawain: fewer glEnable/DisableVertexAttribArray calls

Track previously enabled attrib locations so we can call OpenGL only
when needed.

Same result, fewer GL calls.
August 10, 2016, 20:06 (GMT)
Merge branch 'master' into asset-engine
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021