Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5302 / 8462

October 3, 2014, 23:29 (GMT)
Cycles: Remove a workaround for Titan GPUs, not needed anymore with the latest CUDA compiler.
October 3, 2014, 20:52 (GMT)
Merge branch 'master' into mesh-transfer-data
October 3, 2014, 20:46 (GMT)
Mesh Transfer Data
**********

WARNING - fully non-functional commit (not even compilable!).

Mesh transfer data (data here being either real CD layers, like e.g. skinning weights, UVs, etc., or 'fake' ones, like e.g. vgroups, shapekeys, but also edge crease, smooth/sharp/seam flags, etc.) is subdivided in several sub-modules:
* Mapping between mesh elements (verts, edges, polys or loops), in BKE's `mesh_mapping`.
* Mapping between data layers (for non-singleton data types), mostly handled in `ED_object` and BKE's `customdata` areas.
* Transfer of single data layer, mostly handled in BKE's `customdata` area.

Additional possibilities (only relevant for a subset of data types) are barely sketched up currently:
* A way to filter which elements of destination we actually want to affect (currently, all, also the possibility to only affect those below a given threshold - could also add e.g. vgroup-based selection, etc.).
* A way to alter destination elements' data in other ways than mere replace (add/sub/mul/div/etc.).

All this is designed to be both easy to setup (code-wise) for simple types, and yet flexible enough to be usable by complex/weird data types like vgroups and shapekeys. For now, it is only expected to work in Object/modifier contexts, not quite sure whether having this in BMesh would be that much useful?

Mesh Elements Mapping
-----
This part is rather independent. Vertices and edges mappings are implemented (but not really tested yet, think will have to write some gtests for that anyway). Polygons are also finished, but not tested at all. Loops are mostly written, but not yet finished nor compilable (the most complex ones, since we have to take islands in consideration here).

Note mapping supports a distance threshold, to prevent geometry to far away from each other to match.

Data Layers Mapping
-----
This is handled by a struct defined in BKE_customdata, but filled in ED_object code. Each instance of DataTransferLayerMapping contains all data needed to execute the data transfer for each element of the mesh mapping.

`object_transfer_data.c` handles the generation of those data layers mapping instance for basic types (usual CDLayers, but also bitflags and simple data like edge crease), complex types like vgroups and shapekeys are handled by dedicated helpers in there own files - trying to keep code well ordered.

Transfer of Single Data Layer
-----
This is a low-level simple func in BKE_customdata, that executes the data transfer itself, including weighted interpolation if needed. It expects pre-computed inputs (mesh elements' and data layers' mappings).

High Level
-----
`ED_data_transfer` is the high-level interface to all this, used by the `OBJECT_OT_data_transfer` operator. Once again, not all features are implemented yet, by far.
October 3, 2014, 19:01 (GMT)
OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the orderwise in sync with finder
October 3, 2014, 18:41 (GMT)
Cycles, some tweaks to scene_intersect_shadow_all()

* Function returns a bool, not an uint.
* Remove GPU ifdefs, this is CPU only due to malloc / qsort.
October 3, 2014, 17:51 (GMT)
Logic for light position operator.
October 3, 2014, 17:41 (GMT)
Fix for tgz script (whitespace broke it)
October 3, 2014, 17:11 (GMT)
WIP, operator to tweak the lamp "focus", driven through widgets.
October 3, 2014, 16:34 (GMT)
Install_deps.sh: missing `--skip-openexr` in arg parser's parameters.

Reported through mail by Jefferson Rausseo, thanks!
October 3, 2014, 16:00 (GMT)
Cleanup: Remove some unused / unreferenced functions for perdiodic perlin noise.
October 3, 2014, 15:51 (GMT)
Cycles / OSL: Make the signed/unsigned Perlin parameter more self explaining.
October 3, 2014, 15:41 (GMT)
Merge remote-tracking branch 'refs/remotes/origin/master' into fracture_modifier_oldsim

Conflicts:
source/blender/modifiers/SConscript
October 3, 2014, 15:32 (GMT)
Use the hair shape keys as goal positions (xconst) in the hair solver.

Note that this does not change the natural bending shape of the hair so
far, but only affects the global goal position for now.
October 3, 2014, 15:23 (GMT)
Cycles: Fix OpenCL compile after new Volume BVH introduction and add some comments.
October 3, 2014, 15:11 (GMT)
Lamp widget:

* Make a lamp widget design for the active lamp.
* Fix some handler errors for widgets + autoupdate for different widget
handles.
October 3, 2014, 15:11 (GMT)
Cycles: Missing volume traversal header in cmake for GPU compilation.
October 3, 2014, 14:46 (GMT)
Guide hair drawing for hair particles.

Without this the particle system only shows the actual non-simulated
hairs ("guide hairs") during edit mode. These hairs are used for goals
as well, so showing them in the regular viewport is pretty important.

Also the usual hair curves are interpolated along the entire length,
which makes it very difficult to see exact vertex positions, unless
using exact powers of 2 for the segment number and match the display
steps.
October 3, 2014, 14:38 (GMT)
forgot copying cluster count when copying modifier settings
October 3, 2014, 14:03 (GMT)
Cycles: Remove Westin closure.

Was hooked up last year for testing purposes, as we already had some code for it, but the closure itself is not really good nor really useful, so let's remove it.
October 3, 2014, 13:58 (GMT)
Point submodules to the 2.72 tag
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021