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
AgeCommit message (Collapse)Author
2015-07-30Cleanup: safe-free macro for collision modifierCampbell Barton
2015-07-27Use loop data instead of face dataCampbell Barton
Replace checks in various places
2015-07-27Replace MFace with MLoopTri in laplacian_deformMartin Felke
2015-07-23Use looptri for BVH raycast (simple cases)Campbell Barton
2015-07-20OpenSubdiv: Commit of OpenSubdiv integration into BlenderSergey Sharybin
This commit contains all the remained parts needed for initial integration of OpenSubdiv into Blender's subdivision surface code. Includes both GPU and CPU backends which works in the following way: - When SubSurf modifier is the last in the modifiers stack then GPU pipeline of OpenSubdiv is used, making viewport performance as fast as possible. This also requires graphscard with GLSL 1.5 support. If this requirement is not met, then no GPU pipeline is used at all. - If SubSurf is not a last modifier or if DerivesMesh is being evaluated for rendering then CPU limit evaluation API from OpenSubdiv is used. This only replaces the legacy evaluation code from CCGSubSurf_legacy, but keeps CCG structures exactly the same as they used to be for ages now. This integration is fully covered with ifdef and not enabled by default because there are several TODOs to be solved first: - Face varying data interpolation is not really cleanly implemented for GPU in OpenSubdiv 3.0. It is also not implemented for limit evaluation API. This basically means we'll have really hard time supporting UVs. - Limit evaluation only works with adaptivly subdivided meshes so far, which basically means all the points of CCG are pushed to the limit. This gives different result from old code. - There are some serious optimizations possible on the topology refiner creation, which would speed up initial OpenSubdiv mesh creation. - There are some hardcoded asumptions in the GPU and DerivedMesh areas which could be generalized. That's something where Antony and Campbell can help, making it so the code is structured in a way which is reusable by all planned viewport projects. - There are also some workarounds in the dependency graph to make sure OpenGL buffers are only freed from the main thread. Those who'll be wanting to make experiments with this code should grab dev branch (NOT master) from https://github.com/Nazg-Gul/OpenSubdiv/tree/dev There are some patches applied in there which we're working on on getting into upstream.
2015-07-20Fix (unreported) broken MixWeight modifier in debug builds.Bastien Montagne
defvert_find_index() & co now assert when '-1' invalid vgroup index is passed. We used to rely on NULL value returned in this case, but with the assert... The assert completely stalls blender actually (repeated for every vertex!). So much better to not call that func when vgroup index is invalid.
2015-07-20Replace MFace use by MLoopTri w/ remash modifierCampbell Barton
D1419 by @lichtwerk
2015-07-13Data Transfer: Add an option to 'auto-transform' destination mesh so that it ↵Bastien Montagne
matches best the source one. This allows to match and transfer data between two meshes with similar shape but complete arbitrary different transform. Note that the result will be best if the meshes (more precisely, their vertices) are exact copies of each other. Otherwise, method used can only perform an approximated best match, which means you'll likely get better results if you 'visually' make them match in 3D space (and use 'Object Transform') instead.
2015-07-10REmove stupid apple check on OMP in weightvg modifier.Bastien Montagne
This is handled in build files...
2015-07-05Change default for bevel to match previous behavior.Howard Trickey
Have reconsidered and feel it best to try matching previous behavior (doing "loop slides" where possible) as default. This will avoid the need to change regression tests, among other things.
2015-07-05Add 'loop slide' option to bevel. See T45260Howard Trickey
Current behavior of bevel is to 'loop slide' along unbeveled edges when possible, but this produces uneven bevel widths sometimes, so this option lets user choose between having the loop slide effect or having more even bevel widths. Trying it out with default being 'no loop slide', so different from current behavior. May reverse this choice later, depending on user reactions.
2015-07-02DerivedMesh: cleanup & minor edirsCampbell Barton
- place return args last position - move crazyspace function out of DerivedMesh header - use bool for args - flow control on own lines to ease debugging
2015-06-30Fix T45238: New depsgraph flickers with the lattice modifierSergey Sharybin
2015-06-30Fix T45241: New depsgraph was lacking update of python drivers on time changeSergey Sharybin
It's quite tricky to see if the driver actually depends on time or not, so currently used approach when we'll be doing some extra updates. This seems to correspond to how old depsgraph was dealing with this.
2015-06-05BMesh: decimator, allow vgroup factor over 1Campbell Barton
Can be useful to apply more extreme weighting
2015-06-04BMesh decimate, improve behavior with weightsCampbell Barton
Add slider to adjust the influence of weights relative to geometry distortion. This allows subtle influences to be applied - without drastic changes in behavior.
2015-06-04Cleanup: redundant checksCampbell Barton
2015-06-04Cleanup: clarify order of precedence: &/?Campbell Barton
2015-05-29Fix T44879, data transfer modifier was missing a copy functionAntony Riakiotakis
2015-05-24Fix rare crash duplicating fluidsimCampbell Barton
2015-05-13Fix T39775: Skin modifier crashCampbell Barton
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-05-12Fix T44677: Normal Edit Modifier Radial Mode broken with target object.Bastien Montagne
Very stupid mistake, odd nobody hit this earlier... :/
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-05-04Separate scene simplification into viewport and renderSergey Sharybin
This way it is possible to have viewport simplification bumped all the way up, making viewport really responsive but still have final render to use highest subdivision possible. Reviewers: lukastoenne, campbellbarton, dingto Reviewed By: campbellbarton, dingto Subscribers: dingto, nutel, eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1273
2015-05-04Skin Modifier: remove redundant edge-calculationCampbell Barton
2015-05-04Fix T42893: Skin Modifier, changes randomly toggling editmodeCampbell Barton
Own regression, previously it would do a full mesh normal calculation for each isolated shape (could hang on meshes with many loose parts). However the normals are needed, instead of doing a full calculation, just set normals on new faces. Thanks to Brecht for finding cause!
2015-05-04Skin Modifier: Add missing operator stack popBrecht Van Lommel
2015-05-02BMesh: BM_mesh_edgesplitCampbell Barton
Did quite a few checks not to tag bad splits (which wasn't working perfectly) Instead rely on BM_vert_separate not to create invalid geometry.
2015-04-30Fix T44484: Edge-split corrupts meshCampbell Barton
Splitting non-manifold edges could produce duplicate edges.
2015-04-22Fix T44475: Merge option of Mirror Modifier behavior reversed.Bastien Montagne
Glitch in rB57d9badc.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-14Cleanup: warningsCampbell Barton
2015-04-13Fix T44361: array modifier "fit curve" mode not working properlyBastien Montagne
'tot_length / step_length' gives the number of 'segments', not the number of copies - we have to add 1 here.
2015-04-13Fix T44364: Remove shape key crashes BlenderCampbell Barton
2015-04-06Use BKE_ghash_ensure_p where possibleCampbell Barton
2015-04-04Cleanup: use BKE_ocean_* prefixCampbell Barton
2015-03-31Corrective Smooth Modifier (aka delta-mush)Campbell Barton
This modifier can be used to correct bad deformations, Original patch D1183 by @sazerac, with own modifications
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-21Cleanup: constify scene/modifiersCampbell Barton
2015-03-17Fix T44027: Normal Edit Mod : Radial from object normals affected by target ↵Bastien Montagne
object scale. The way we were getting diff to apply to vcos from target object was just bad! Also, fixed another related issue - negated scale would be clamped to nearly zero, now only consider absolute version of size (we do not care about its sign here anyway). This should be backported to 2.74 (with previous commit too).
2015-03-17Fix T44020: Crash exporting fluid sim to fbxSergey Sharybin
The issue is coming from wrong fluid modifier copy callback, which might have left some pointers shared across original and target fluid modifiers.
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-03-13Fix T43803: Crash playing smoke animation, when linked as group instanceSergey Sharybin
The issue was caused by missing relations between smoke domain and flow/source objects. This happened because smoke's modifier only iterated base objects and ignored cases when flow/source could be linked to scene via dupli-group and does not have real base. The same seems to be still needed for fluid and dynamic paint modifiers, will do it as a separate commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1172
2015-03-11Cleanup: styleCampbell Barton
2015-03-09Fix T43891: Skin modifier inverts some facesCampbell Barton
2015-02-26Fix T43643: Solidify crashes with 'only-rim'Campbell Barton
When verts were shared by 2+ face-islands, the number of allocated edges was wrong. Cleanup the logic for new verts/edges.
2015-02-24Modifier: no need to calloc (immediately filled)Campbell Barton
2015-02-18Fix T43716 regression in mask modifier - edges could access out ofAntony Riakiotakis
bounds indices of vertices. Issue here is that if we copy edge customdata the MEdge data that were previously written get overwritten, solution is to write indices and flags last (probably writing flags is superfluous here).
2015-02-15Fix T43671: Playing with Mix Factor of Data Transfer Modifier Is ↵Bastien Montagne
Overwritting Data of Base Mesh The issue was actually affecting all data types that are not regular CDLayer ones, since by default DerivedMesh references mesh data (verts, edges, etc. - modifying custom normals often implies modifying edges' sarpness too). Modfying edge/face sharpness etc. could directly affect the mesh in this case, **bad**! So we detect whether we are copying data types that may affect non-CDlayers data, and whether verts array of org dm is same as mesh one - in which case we copy the DM. This avoids useless copying in most cases. Note Edit Normals was quite obviously suffering the same issue.