Blender Git Commits

Blender Git "master" branch commits.

Page: 2370 / 5574

May 5, 2016, 19:43 (GMT)
Code refactor: reduce special node types, use generic constant folding.
May 5, 2016, 19:43 (GMT)
Fix Cycles emission node being unnecessarily tagged as spatially varying.
May 5, 2016, 19:43 (GMT)
Fix OS X build error after SSE changes, BLI_math_base.h conflicts with EXR headers.
May 5, 2016, 19:42 (GMT)
Missed last commit
May 5, 2016, 19:40 (GMT)
Correct own mistake int recent transform API edits

Need to return number of enabled elements.
May 5, 2016, 19:17 (GMT)
Fix error not using the cached BVH tree
May 5, 2016, 19:01 (GMT)
Transform/Snap: EditMesh/BKE_bvhutils API improvements

Separate the creation of trees from EditMesh from the creation of trees from DerivedMesh.
This was meant to simplify the API, but didn't work out so well.

`bvhtree_from_mesh_*` actually is working as `bvhtree_from_derivedmesh_*`.
This is inconsistent with the trees created from EditMesh. Since for create them does not use the DerivedMesh.

In such cases the dm is being used only to cache the tree in the struct DerivedMesh. What is immediately released once
bvhtree is being used in functions that change(tag) the DM cleaning the cache.

- Use a filter function so users of SnapObjectContext can define how edit-mesh elements are handled.
- Remove em_evil.
- bvhtree of EditMesh is now really cached in the snap functions.
- Code becomes organized and easier to maintain.

This is an important patch for future improvements in snapping functions.
May 5, 2016, 17:46 (GMT)
Optimize linear<->sRGB conversion for SSE2 processors

Using SSE2 intrinsics when available for this kind of conversions.

It's not totally accurate, but accurate enough for the purposes where
we're using direct colorspace conversion by-passing OCIO.

Partially based on code from Cycles, partially based on other online
articles:

https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent

Makes projection painting on hi-res float textures smoother.

This commit also enables global SSE2 in Blender. It shouldn't
bring any regressions in supported hardware (we require SSE2 since
2.64 now), but should keep an eye on because compilers might have
some bugs with that (unlikely, but possible).
May 5, 2016, 14:45 (GMT)
Docs: scanfill.c purpose
May 5, 2016, 14:15 (GMT)
Fix T48320: Freestyle renders wrong edges of objects which in the other RenderLayer.

FSAA sample files in EXR format are no longer always updated (after some
changes between 2.73 and 2.74 releases), and the reported bug was caused
by old samples from a previous frame that were being merged by mistake.

The present revision addresses the documented issue by entirely skipping
the rendering of auto-generated scenes when there are no Freestyle strokes
to render, which suppresses sample merging of the render layers that were
not rendered.
May 5, 2016, 12:45 (GMT)
Optimize projection painting with big brushes

Multi-threaded partial buffer update, gives about 2x speedup with
big brushes.

Thanks Campbell for testing and benchmarking!
May 5, 2016, 12:18 (GMT)
Optimize threaded scanline processor

Avoid memory allocation for task data.
May 5, 2016, 11:16 (GMT)
Simplify scanline threaded processor used by GPU_verify_image

Just avoid some unneeded initialization functions when the threaded
processor is simple enough to only depend on current chunk start
scanline and number of scanlines.
May 5, 2016, 10:57 (GMT)
Fix project paint using uninitialized edit-region

First stroke always had the minimum rectangle set to 0,0 which could cause a largre region of pixels to be
unnecessarily updated.
May 5, 2016, 10:31 (GMT)
Curve Fitting: avoid clamping fallback handles.
May 5, 2016, 10:04 (GMT)
Optimize Blank and Color Grid generated images

Avoid unnecessary pixels linearization gives nice speedup.
May 5, 2016, 09:58 (GMT)
Correct error in recent smoothview edits
May 5, 2016, 09:33 (GMT)
Fix typo in previous commit

Thanks Julian Eisel (Severin) for the heads up!
May 5, 2016, 09:28 (GMT)
Optimization for initial display of high res textures in viewport

Multi-thread all the color space conversion operations.

Gives speedup from 0.8 to 0.1 seconds on a model with 4k etxture on it.
May 5, 2016, 08:52 (GMT)
Image Paint: fix for calls to GPU_free_image while painting

The width and height of of the region to update are often zero,
skip calling GPU_paint_update_image in this case.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021