Blender Git Loki

Blender Git commits from all branches.

Page: 2024 / 2888

June 8, 2016, 15:23 (GMT)
BMesh clnor: Change py API.

After some talking with Campbell, this is now accessible through BMesh's CustomData system:

- clnor data is now exposed in BMesh (same way as for UVs etc.).
- You can now get/set **raw** values (pair of factors) of each loop independently.
This is not so useful in itself (though it allows nice 'relative' normal edition, given what
those two factors represent), getting/setting 'real' normals there is for later.
- You can now set all custom normals at once using the new 'from_array' method of BMLayerItem.
This is supposed to be generic setter, but for now it's only implemented for clnor data.

Some notes/reflections, also for future developments:
- About from_array:
* Do we accept that rather 'flexible' way of handling given array of data? think we do not have much choice
if we want to keep generic BMLayerItem (else we'll have to define sub-classes of this for every type of data :/ ).
* Currently clnor's from_array returns values actually set as a new array, not sure we want to keep this, or instead
add another 'to_array' method (in this case, how do we control type of returned data?).
- About clnors in BMesh in general:
* Think ultimately we'll want to have own struct of clnors in BMesh,
caching clnor spaces, encoded normal, real normal, etc.
* We'll then need to add lots of stuff to handle edition, in particular a system to rebuild clnor spaces
of affected loops each time we add/remove/modify geometry...

Latest point is important, since it means current BMesh py API will **not** be stable for now, and will
most certainly break when full support of custom normals is added to BMesh.
June 8, 2016, 14:57 (GMT)
Fixed locks when opening/closing HMD sessions
Spaces to Tabs
June 8, 2016, 14:22 (GMT)
first customizations for liquid caching - extending the smoke cache
June 8, 2016, 14:19 (GMT)
re-enabled the remaining smoke functions. smoke sim now back to normal state
June 8, 2016, 13:57 (GMT)
Changed the row of bool arguments for construct_param_handle() to an int flag argument

While doing this I added an "all_faces" check to include all faces in parametrizer even if implicit argument is set (needed for shortest path computation).
June 8, 2016, 13:02 (GMT)
Merge branch 'master' into alembic_basic_io
June 8, 2016, 13:01 (GMT)
Slight UI fix.
June 8, 2016, 13:00 (GMT)
Add a data block for easier handling of references to an Alembic
archive.

For now this ID-block only stores the filepath of the archive and it is
referenced by the Mesh Sequence Cache modifier and the Transform Cache
constraint.

The data block itself is called CacheFile for it to stay generic and be
reused for other file types other than Alembic files (similar to images
basically).
June 8, 2016, 12:40 (GMT)
Implement scaling imported/exported objects.
June 8, 2016, 12:09 (GMT)
Merge branch 'HMD_viewport' of git.blender.org:blender into HMD_viewport
June 8, 2016, 10:34 (GMT)
Merge branch 'master' into custom-normals-bmesh
June 8, 2016, 09:31 (GMT)
intermediate result, ready to move into libmv
June 8, 2016, 08:02 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
June 8, 2016, 07:41 (GMT)
Merge branch 'master' into object_nodes
June 8, 2016, 07:27 (GMT)
Revert geometry cache

Reverting the geometry cache for now, there's still a lot of work to be done on
the other parts of the subdivision code and the added complexity of the cache
is slowing down development. Will add it back later after things are more
functional. For now this means scenes will potentially use much more memory, so
care should be taken when using the feature.
June 8, 2016, 07:24 (GMT)
Merge branch 'master' into soc-2016-multiview
June 8, 2016, 07:14 (GMT)
Basic Gabor noise implementation for BLI_noise and blenvm.

This is just the very basic version of the sparse convolution noise
with a Gabor kernel. It does not yet have derivatives or anisotropic
filtering. The only frequency spectrum implemented atm is isotropic
band-limited noise.
June 8, 2016, 06:14 (GMT)
complete new and free multiview reconstruction context, so far so good
June 8, 2016, 00:39 (GMT)
Store array of all layer items in the layer tree

Coexists with LayerTree.items and LayerTreeItem.childs listbases which were used for recursive iterations over the layer tree (using BKE_layertree_iterate or BKE_layeritem_iterate_childs). However, it was a bit annoying having to use this everywhere, especially if many args had to be passed as void *. Also, iterative methods with arrays instead of listbases should give us a bit of speedup.
It's possible LayerTree.items will not be needed anymore, but will leave in for now.

Array is only used on BKE level so far.
June 7, 2016, 22:08 (GMT)
Turn on Decklink by default
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021