Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5071 / 8462

February 5, 2015, 14:06 (GMT)
Change movie cache to use vectors instead of lists.

Runtime costs were horrible. On gooseberry in some sequencer edits using
proxies of small size, a cache with about 2000 elements would slow to
about 6 fps once cache was full and system tried to find smallest
element available.

There are still improvements to be done here, like requesting a number
of good candidates to avoid rerunnung through the list, or even using
some heap or ring buffer scheme to sort data, but nothing suits all
needs so for now that should bring the cache back to usable state (25fps
here at the studio)
Revision 31edec6 by Lukas Toenne
February 5, 2015, 14:05 (GMT)
Merge branch 'gooseberry' into strand_editmode
February 5, 2015, 13:59 (GMT)
Custom Loop Normals: Add NormalEdit modifier

Nothing much to say here, basic tool to make normals point toward a target,
or to make them point 'outward' as if object was a spheroid (useful for game bushes etc.).

Also, forgot a big thank you to Campbell for the extensive review work he has done on this project!
February 5, 2015, 13:46 (GMT)
Merge branch 'master' into temp_custom_loop_normals
February 5, 2015, 13:38 (GMT)
Add Custom Loop Normals to Data Transfer.

Titles says everything, just two notes:
* We have to actually transfer plain *normals*, not 'compressed' clnors,
so had to add pre/post process to transfer to make the conversions.
* Also added interpolation and advanced copy/mixing to CD_NORMAL, for same reasons.
February 5, 2015, 13:35 (GMT)
Merge branch 'master' into temp_custom_loop_normals
February 5, 2015, 13:32 (GMT)
Add Custom Loop Normals.

This is the core code for it, tools (datatransfer and modifier) will come in next commits).
RNA api is already there, though.

See the code for details, but basically, we define, for each 'smooth fan'
(which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal),
a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store
custom normal as two angular factors inside that space. This allows to have custom normals
'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer.

Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals,
and be converted back into storage format at the end.

Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can
be rather heavy with high poly meshes.

Also, bumping subversion, and fix mess in 2.70 versioning code.
February 5, 2015, 13:09 (GMT)
Merge branch 'master' into temp_custom_loop_normals
February 5, 2015, 13:08 (GMT)
Depsgraph: Traversal for layer flush should be aware of cyclic dependencies

Quite straoghtforward, should have think of it earlier.

Also made transitive relations disabled by default now. They're killing some
relations which keeps thread safety.

So now koro is kinda finally working. There still some issues caused by
dependency cycles which are solved differently from master. Plus threaded
nature of armatures updates also affects in this case..
February 5, 2015, 13:03 (GMT)
Mesh validate: add an option to not clean temp/cache CDLayers.

This is mandatory for incoming custom normal imports from io scripts, because
often geometry here is corrupted, so we need to call mesh.validate() to clean it up.

Issue is, we cannot set custom normals before geometry is clean, so we need to store
temporary plain loop normals in a CD_NORMAL layer, validate, and then set custom normals.
So we need a way to prevent 'temp' lnors to be freed by validate.
February 5, 2015, 13:00 (GMT)
BLI_math vectors: add minmax_v3v3_v3_array to get min and max values on each components of an array of 3D vectors.
February 5, 2015, 12:43 (GMT)
Merge branch 'master' into temp_custom_loop_normals
February 5, 2015, 12:16 (GMT)
Merge branch 'master' into depsgraph_refactor
February 5, 2015, 11:38 (GMT)
Merge branch 'wiggly-widgets' into gooseberry

Conflicts:
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesrna/intern/rna_object.c
February 5, 2015, 11:29 (GMT)
Move priority of widget handler back for node editor. Still not very
clean but should allow gooseberrians to work a little better
February 5, 2015, 11:15 (GMT)
Initialize dropboxes and widgets together before opening the homefile,
makes sure areas get their proper handlers registered
February 5, 2015, 11:10 (GMT)
Fix T43562: Cycles gets stuck with camera in volume in certain setup

The issue was caused by the way how we shoot the ray to see which rays we're
inside which might start bouncing back-n-forth between two close to parallel
intersecting faces.

Real solution would be to record all the intersections when shooting the ray,
but it's kinda tricky on GPU because of needed sorting and uncertainty of
how huge intersection array should be.

For now we'll just limit number of steps in the check so in worst case we'll
have some samples not being correct which will be compensated with further
sampling. Shouldn't be an issue since probability of such a lock is quite
small actually.
February 5, 2015, 11:08 (GMT)
Merge branch 'master' into wiggly-widgets

Conflicts:
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesdna/DNA_customdata_types.h
source/blender/makesrna/intern/rna_object.c
February 5, 2015, 10:54 (GMT)
Fix T43566: Missing update event for VSE

VSE was missing NC_ANIMATION | ND_KEYFRAME events.
Also need to invalidate cache on those, else keyframe editing do not get reflected in VSE preview!
February 5, 2015, 10:20 (GMT)
Use MAX_CUSTOMDATA_LAYER_NAME for size of GPUInput.attribname array

Before this was hardcoded to 32, which I think was incorrect because
this is used to store a customdata layer name.

Reviewers: psy-fi, campbellbarton, sergey

Reviewed By: campbellbarton, sergey

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