Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2015-01-20Partial response force for hair collisions.Lukas Tönne
This implements a penalty force as well as a repulsion force to avoid further penetration, as suggested in "Simulating Complex Hair with Robust Collision Handling" (http://graphics.snu.ac.kr/publications/2005-choe-HairSim/Choe_2005_SCA.pdf) Friction forces are still missing. More problematic is handling of moving colliders, when face swap places with the hair vertex and a collision is missed, putting the vertex inside the mesh volume. Larger margins might help, but ultimately using Bullet collision detection is probably more reliable and failsafe.
2015-01-20Debug drawing for simulations, to aid in visualizing abstract data suchLukas Tönne
as forces, velocities, contact points etc. This uses a hash table to store debug elements (dots, lines, vectors at this point). The hash table allows continuous display of elements that are generated only in certain time steps, e.g. contact points, while avoiding massive memory allocation. In any case, this system is really a development feature, but very helpful in finding issues with the internal solver data.
2015-01-20Some initial collision code, without actual response forces still.Lukas Tönne
This is still using the old BVH tree collision methods to generate contact points, similar to what cloth does. This should be replaced by a Bullet collision check, but generating contacts in this way is easier for now, and lets us test responses and stability (although in more complex collision cases the BVH method fails utterly, beside being terribly inefficient with many colliders).
2015-01-20Implemented internal hair pressure to prevent hair from collapsing inLukas Tönne
on itself. This uses the same voxel structure as the hair smoothing algorithm. A slightly different method was suggested in the original paper (Volumetric Methods for Simulation and Rendering of Hair), but this is based on directing hair based on a target density, which is another way of implementing global goals. Our own approach is to define a pressure threshold above which the hair is repelled in the density gradient direction to simulate internal pressure from collisions.
2015-01-20Fixed hair velocity smoothing.Lukas Tönne
This is an important hair interaction feature that simulates friction between hairs in an efficient way. The method is based on the paper "Volumetric Methods for Simulation and Rendering of Hair" ( http://graphics.pixar.com/library/Hair/paper.pdf ) It was partially implemented already, but didn't work in this simplified version. The same voxel structure can be used for implemeting repelling forces on hair based on density, which can help a hair system maintain volume instead of collapsing in on itself.
2015-01-20Support for various data properties of the hair grid in the voxelLukas Tönne
texture.
2015-01-20Fixed voxel grid initialization from hair points and colliders by usingLukas Tönne
the suggested tent function from the original paper. Plain float->int conversion for the grid location otherwise leads to skewed data and unnecessary loss of information.
2015-01-20New voxel texture mode "Hair", for displaying the internal hair volumeLukas Tönne
structure as a texture. This is mostly a debugging feature that may be removed again later.
2015-01-20Code cleanup: Use a variable-sized array for the hair volume velocityLukas Tönne
smoothing and collision code, split into multiple functions.
2015-01-20Fix for Trusted option, loading new fileCampbell Barton
Would use the setting of the previously loaded file, now re-initialize from preferences.
2015-01-20Fix glitch in view-axis (order of drawing)Campbell Barton
2015-01-20Fix UI glitches drawing text at different sizesCampbell Barton
Font height was ignoring DPI in some cases (camera-name & eyedropper).
2015-01-20UI: cleanup UI_fontstyle_string_width, UI_draw_stringCampbell Barton
Both were maked as temp, but used often. Now pass uiFontStyle to both, rename UI_draw_string to UI_fontstyle_draw_simple, since its a variant of UI_fontstyle_draw that skips shadow, align... etc.
2015-01-20BLF: remove paranoid checks for unset default fontCampbell Barton
2015-01-19D627: Memory usage optimization for the compositor.Jeroen Bakker
The compostor used a fixed size of 4 floats to hold pixel data. this patch will select size of a pixel based on its type. It uses 1 float for Value, 3 float for vector and 4 floats for color data types. When benchmarking on shots (opening shot of caminandes) we get a reduction of memory of 30% and a tiny speedup as less data transformations needs to take place (but these are negligable. More information of the patch can be found on https://developer.blender.org/D627 and http://wiki.blender.org/index.php/Dev:Ref/Proposals/Compositor2014_p1.1_TD Developers: jbakker & mdewanchand Thanks for Sergey for his indept review.
2015-01-19Fix two potential bugs reported by latest coverity scan.Bastien Montagne
2015-01-19Fix a crasher in recent own mesh remap code ('island' area... :/ ).Bastien Montagne
2015-01-19Make use/computation of lnors consistant.Bastien Montagne
Issue was, when requesting (building) lnors for a mesh that has autosmooth disabled, one would expect to simply get vnors as lnors. Until now, it wasn't the case, which was bad e.g. for normal projections of loops in recent remap code (projecting along split loop normals when you would expect projection along vertex normals...). Also, removed the 'angle' parameter from RNA's `mesh.calc_normals_split`. This should *always* use mesh settings (both autosmooth and smoothresh), otherwise once again we'd get inconsistencies in some cases. Will update fbx and obj addons too.
2015-01-19Cleanup: unused Global flags.Campbell Barton
2015-01-19Fix for security issue loading blend'sCampbell Barton
Auto-Execute option could be overridden by opening a startup.blend
2015-01-19Fix: ActionGroups.new() UI description copy-paste errorSybren A. Stüvel
2015-01-19Bugfix T43293: Crash when editing shared GPencil datablock in VSEJoshua Leung
The problem here was that when a Grease Pencil datablock is shared between the 3D view and another one of the editors, all the strokes were getting handled by the editing operators, even if those strokes could not be displayed/used in that context. As a result, the coordinate conversion methods would fail, as some of the needed data would not be set. The fix here involves not including any offending strokes in such cases...
2015-01-19GPencil: Added asserts for checking when trying to convert coordinates for ↵Joshua Leung
invalid stroke types (for current editor) Added for checking on the cause of T43293, and to aid in setting up a fix to remedy the situation.
2015-01-19Viewport: Add adjustable safe areas, 3d-view & VSECampbell Barton
Also adds safe-area presets. D325 by Diego Gangl with own edits.
2015-01-19WM: add a notifier for camera/viewport optionsCampbell Barton
Added so viewport options only used in a camera view wont cause all 3d-views to redraw.
2015-01-19RNA/API: name outliner sort option like UIListCampbell Barton
2015-01-19Fix own error in freestyle apiCampbell Barton
2015-01-19Outliner: Make alphabetical sorting optionaljulianeisel
A new option to the Outliner's View menu is added to enable/disable sorting of items.
2015-01-18Fix `mathutils.barycentric_transform()`Bastien Montagne
Dummy typo, we need a 3D vector here...
2015-01-18Fix T43301: Three of the 'mirror keyframes' tools were mirroring along wrong ↵Bastien Montagne
axis. Names are rather confusing here... :/
2015-01-17Fix T43283: Crash on undo/redo/ and save/reload after (new) weight transfer.Bastien Montagne
Mesh stores its dvert in a specific pointer too, in addition of regular CD layer... That whole vgroup handling is really breaking apart the 'universality' of CD system. :( Also added some DAG and WM updates in operators...
2015-01-17Fix T43090: Cycles + Freestyle + border render = black render.Tamito Kajiyama
The reported problem was due to a special case where there are no strokes to be rendered. Since rendering an empty scene is a waste of time, the issue was addressed here by skipping the stroke rendering process entirely.
2015-01-17Fix T43273: vector math cross product inconsistentKévin Dietrich
GLSL missed the normalization step. Reviewers: psy-fi, sergey, mont29 Reviewed By: mont29, sergey Subscribers: mont29 Maniphest Tasks: T43273 Differential Revision: https://developer.blender.org/D1000
2015-01-17Fix T23942: Add "Delete Hierarchy" to outliner context menu.Torsten Rupp
Patch by rupp (Torsten Rupp), review and minor style edits by mont29 (Bastien Montagne).
2015-01-16Fix compilation error with strict compiler rulesSergey Sharybin
2015-01-16Fix T43275: Crash on Render when using 'save buffer' and render layer name ↵Bastien Montagne
contains a '/' Added a new BLI_path_utils func, `BLI_filename_make_safe()`, which for now simply replaces unsafe chars for paths (like '\' or '/') by an underscore...
2015-01-16FCurve RNA API: add funcs to convert to samples/to keyframes.Bastien Montagne
So far, we had an operator to 'bake' keyframe curves into samples, but no way to make the fcurve editable again (i.e. to convert it back into a keyframes one). Needed to fix mocap addon (see T43259). Also, fixed a glitch in `fcurve_store_samples()`, since given end frame is included in range, it is valid to give same start and end frame (in case you want a single point in samples, not much practical cases, but...).
2015-01-16Fix T43271: Sequencer: RNA's 'add_effect' was not updating effect strip len ↵Bastien Montagne
correctly.
2015-01-15Nodes: Put Blended Box Mapping properties next to each other.Thomas Dinges
2015-01-15BGE physics: get/set linear and angular dampingSybren A. Stüvel
This patch adds the following R/W properties and method to `KX_GameObject`: - `linearDamping` -- get/set linear damping - `angluarDamping` -- get/set angular damping - `setDamping(linear, angular)` -- set both simultaneously These allow runtime changes to the same properties that are accessible at design time in Blender's UI via `game.damping` and `game.rotation_damping`. The names of the properties were chosen to mirror the internal names of the BGE physics engine, as these are (AFAIK) also the commonly used names in physics literature. Reviewers: campbellbarton Projects: #game_physics Differential Revision: https://developer.blender.org/D936
2015-01-15Sequencer: Allow generating proxies from script without having sequencer ↵Sergey Sharybin
space active
2015-01-15Sequencer: Don't crash when trying to rebuild proxy without having sequence ↵Sergey Sharybin
edits
2015-01-15Bugfix: Wrong flags used in Spline IK eval for bounds limitsJoshua Leung
2015-01-15Prevent waveform drawing from continually retrying bad filesNicholas Bishop
If sound_read_waveform() cannot read the file (i.e. info.length is zero), set the sound's waveform to a valid waveform of zero length. This indicates that reading the waveform is done so that it doesn't get tried over and over again. Reviewed By: sergey Differential Revision: https://developer.blender.org/D988
2015-01-15Remove 'locked' parameter from sound_read_waveform()Nicholas Bishop
This parameter was confusing in three ways: 1. It should have been named "lock" because it was used to take and release the sound mutex, not to indicate whether it was locked. 2. In the one place this function gets called the locked argument was set to "true", so not much point in having it optional. 3. I can't imagine that it would ever be a good idea to skip taking and releasing the mutex. Reviewed By: sergey Differential Revision: https://developer.blender.org/D988
2015-01-15Revert "Make version_update() callback being invoked when linking/appending ↵Sergey Sharybin
datablocks" This reverts commit fbc2909cef83bce722fab8c68e49c878603b4ee8. The reason for revert is that the commit made it so bpy.data is not set to any of the new main (on both file open and file link/append) which basically totally broke versioning code. Needs some smarter solution there.
2015-01-14Fix operator tooltip MBALL_OT_duplicate_moveSybren A. Stüvel
2015-01-14cleanup: minor editsCampbell Barton
2015-01-14Fix T43201: Update the "in use" flags of sockets before drawing,Lukas Tönne
so value buttons are displayed when the link is not used.
2015-01-14Ignore "unavailable" links in the compositor, where one or both socketsLukas Tönne
are unavailable (hidden).