Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2545 / 5574

July 23, 2015, 01:30 (GMT)
Mesh Deform: support for ngons when binding

Weights were calculated using tessellation data, giving slightly uneven weighting.
Now only use tessellation for ray-cast but weight the influences from the original polygons.

Also cache arrays from derived-mesh, they we're called each intersection.
July 22, 2015, 14:58 (GMT)
Fix weight painting + mask not drawing in latest master.

Same issue as vertex painting - though one might wonder if we really
need to set material on such occasions.
July 22, 2015, 11:57 (GMT)
GPU debug: Only flush stderr if needed.
July 22, 2015, 11:40 (GMT)
Use looptri for MeshDeform modifier
July 22, 2015, 11:40 (GMT)
Add bvhtree_from_mesh_looptri utility function
July 22, 2015, 11:40 (GMT)
Add DM_get_looptri_array utility function
July 22, 2015, 11:32 (GMT)
Use doxy sections in bvhutils
July 22, 2015, 11:32 (GMT)
Use const for BVH mesh arrays
July 22, 2015, 11:32 (GMT)
Cleanup: use struct for storing callback data
July 22, 2015, 10:51 (GMT)
OpenSubdiv: Optimize speed of topology refiner construction

Now the conversion code uses mesh element mapping to speed up lookups.
Gives really nice speed improvement here, but the cost is higher memory
usage during refiner construction.

On the dragon scene here topology refiner construction time goes down
from 5 seconds to around 0.01.

It's possible to reduce the memory footprint by allocating mapping in
stages (don't allocate all of them at once, but do it on demand only
and free them after they're not needed anymore).
July 22, 2015, 10:01 (GMT)
OpenSubdiv: Resolve crash when trying to do weight mcol
July 22, 2015, 09:58 (GMT)
Fix crash with recent refactor of customdata writing.

Caused by own rBff3d535bc2a6309 - since we now only write the exact amount of layers
needed to store saved customdata, we have to adjust CustomData->maxlayer too.

Otherwise, on next read, customdata code believes it has more layers allocated than
actual number.

Issue reported by Campbell over IRC, thanks.
July 22, 2015, 09:51 (GMT)
Don't make Python classes of StructRNA on startup

This gives small start time speedup, classes are lazy loaded instead.

Keep existing behavior in debug builds to catch any errors early.
July 22, 2015, 09:25 (GMT)
Render preview: Make preview render database lazily loaded

Gives about 5-10% of startup time improvement here.
July 22, 2015, 08:31 (GMT)
Fix: solved issue with "make doc_py"

The error was "ValueError: Function <function normal_at_I0D at 0x7f2aad1feb70>
has keyword-only arguments or annotations, use getfullargspec() API which can
support them", and was first seen in eeeb845d33e81afbc8ed127e6ab4ae7b18472a54
July 21, 2015, 20:13 (GMT)
Fix T43779: Cycles texture interpolation issues

That was basically not an issue with interpolation, but rather missing wrapping
options and periodic wrapping was always used.

It's still a bit questionable why certain graphics cards were doing clamping in
the file from the report, that's not something what is expected to happen from
the settings of textures being passed to GPU. In any case this issue i still
didn't manage to reproduce on any of the available GPUs, might be something
related on driver glitch or so.

In any case CPU now should behave just fine, rest of the issues we'll need to be
able to reproduce first.
July 21, 2015, 19:58 (GMT)
Cycles: Expose image image extension mapping to the image manager

Currently only two mappings are supported by API, which is Repeat (old behavior)
and new Clip behavior. Internally this extension is being converted to periodic
flag which was already supported but wasn't exposed.

There's no support for OpenCL yet because of the way how we pack images into a
single texture.

Those settings are not exposed to UI or anywhere else and there should be no
functional changes so far.
July 21, 2015, 15:40 (GMT)
Cycles: Implement camera zoom motion blur

Works totally similar to camera motion blur and majority of the changes are
related on just passing extra arguments to sync() functions.

Couple of things still to look into:

- Motion pass will not include motion caused by the zoom.
- Only perspective cameras are supported currently.
- Motion is being interpolated on projected coordinates, which might give
different results from constructing projection matrix from interpolated
field of view.

This could be good enough for us, but we need to consider improving this
at some point.

Reviewers: juicyfruit, dingto

Reviewed By: dingto

Differential Revision: https://developer.blender.org/D1383
July 21, 2015, 14:41 (GMT)
Try to remap buffer before rejecting.

I suspect code here can be cleaned up but for now try this.
Alternatively we can check for errors around buffer allocation
but this needs bigger changes.
July 21, 2015, 14:01 (GMT)
Added Action.fcurves.find(data_path, array_index=0)

Finding a specific F-Curve is often needed in Python, and usually
consists of a construct like:

```
[fcurve
for fcurve in ob.animation_data.action.fcurves
if fcurve.data_path == "location"][1]
```

This can now be written as
`ob.animation_data.action.fcurves.find('location', 1)`

This new function `Action.fcurves.find()` is still O(N) in the number
of FCurves in the Action, but at least it allows us to remove
boiler-plate code. It is also faster than the Python equivalent, as
only the found F-Curve is converted to Python.

Reviewers: campbellbarton, aligorith

Reviewed By: aligorith

Differential Revision: https://developer.blender.org/D1427
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021