Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4306 / 8462

July 6, 2016, 09:47 (GMT)
GPU buffer functions for drawing a strand edit BMesh.

Now the object mode and edit mode for strands use the same drawing code.
Derived render strands are not yet supported (they may need re-scattering
during editing) and the tool settings have no effect yet.
July 6, 2016, 09:35 (GMT)
Cycles BVH: Move unaligned threshold to parameters

Suggested by Brecht in review.

Should be no functional changes.
July 6, 2016, 09:28 (GMT)
Cycles BVH: Remove debug-only code

That code would have created too much unaligned nodes.

Spotted by Brecht, thanks!
July 6, 2016, 09:18 (GMT)
Renamed BMesh strand functions to replace deprecated particle term 'keys' by 'vertex'.
July 6, 2016, 09:17 (GMT)
fix correspondence bug and format code

- fix correspondence bug thanks to Sergey. ID pointers are to be
restored using lib pointer map

- move two function with BKE_ prefix to blender kernel

- format code according to blender coding style
July 6, 2016, 09:15 (GMT)
Cleanup: redundant 4th index in sculpt PBVH

Since moving to MLoopTri this is no longer needed.
July 6, 2016, 09:01 (GMT)
Merge branch 'master' into cycles_bvh

This commit also removes NO_EXTENDED_PRECISION from refactored code, solving
merge conflicts and getting rid of this define in new code.
July 6, 2016, 07:12 (GMT)
Do strand and editstrand drawing in the same place, so they are not shown both.
July 6, 2016, 06:43 (GMT)
Dyntopo: optimize edge collapsing

Checking if faces exist was a bottleneck,
use a simpler version of this function for triangles.

Gives approx 1.6x overall speedup (when many edges are being collapsed).
July 6, 2016, 06:32 (GMT)
Cleanup: group dyntopo utility functions
July 6, 2016, 02:24 (GMT)
Cycles: Implement Postprocessing callback

This commit finally uses all the work from the earlier commits to implement
the postprocess callback, which triggers a denoising pass on the current
RenderResult.

Note that this does not work on GPUs yet - they can be used for rendering,
but the Device setting has to be switched to CPU rendering before using the
postprocess button.

One other remaining problem is that the Image editor view isn't updated automatically,
you have to switch to another pass/layer and back to see the change.

Also, the feature should eventually be implemeted as a Job to get a progress bar and a
responding UI during denoising.
July 6, 2016, 02:19 (GMT)
Cycles: Add denoise-only mode the the Session

This mode just creates the Device, generates tiles and runs the denoising kernel
on each tile.
Compared to the regular mode of operation, a lot is missing: No interactivity, no
scene syncing, no progressive rendering etc. However, these features aren't needed
for the denoise-after-render feature, and so this mode saves a lot of code when
calling it from the bindings.

Internally, it uses one single large buffer to hold the image, instead of a small buffer
per tile. That requires some changes to the TileManager and is also the reason for the
earlier region-of-interest commit.
July 6, 2016, 02:14 (GMT)
Cycles: Implement RenderResult -> RenderBuffers import

This commit adds a function that takes an existing RenderResult and copies the passes
to newly created RenderBuffers. That will later be used to copy the rendered image
back for post-processing denoising.
July 6, 2016, 02:09 (GMT)
Cycles: Explicitly pass region of interest to RenderBuffers when exporting pixels to Blender

By itself, that change is pretty useless, but it's important for the upcoming denoise-after-render support.
July 6, 2016, 01:42 (GMT)
Transform Snap: Replace pixel limit w/ 'dist_to_ray_sq'

When snapping to edge/vert, check the distance to the ray
instead of the screen-space pixel projection.

This also corrects the conversion of `dist_to_ray_sq` to `dist_px` which was being done incorrectly.

While this change was planned, it fixes T48791, caused by error in b01a56ee.
July 6, 2016, 01:35 (GMT)
Render API: Fix bugs regarding pass handling when Cycles debugging is enabled

The probem here was that regular passes are stored as (signed) integers.
Therefore, the pass with bit 31 set (the Cycles debug pass) is stored as -1.
On its own, that's fine - however, when that pass type is implicitly cast to uint64_t
in a function call, the compiler apparently first sign-extends it and then reinterprets
it as unsigned, so the result is 0xffffffff80000000 instead of only bit 31.
To get around that issue, the type is now explicitly cast to a unsigned int32 first and
then implicitly extended to uint64_t.
July 6, 2016, 01:32 (GMT)
Cycles: Add additional debugging info to the denoiser
July 5, 2016, 23:36 (GMT)
Merge branch 'master' into alembic_basic_io
July 5, 2016, 23:34 (GMT)
Update CMakeLists.txt for Windows, add default values for building
Alembic in full or lite mode.
July 5, 2016, 22:21 (GMT)
Curves: rewrite the code a bit so it works with external files.

- Pad start and end of knots array with dummy knots.
- Duplicate control points in case of a cyclic curve.

There are still a couple of issues (fringe cases) though which should be
documented in the comments.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021