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-10-14Fix T46487: OpenSubdiv objects are invisible in Blender Internal "Rendered" ↵Sergey Sharybin
viewport mode
2015-10-12Add functions to compute normals (verts, polys and loops ones) for a given ↵Bastien Montagne
shapekey. Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and loop normals of a given shapekey. This will be used e.g. in FBX exporter (shapekeys need normal data too). Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1510
2015-10-08Modifiers: add 'cd_flag' parameter to their ID looping callbacks, neededBastien Montagne
since some IDs (objects) are not 'refcounted' while others (textures) are... Partial merge from id-remap branch.
2015-10-08Cleanup: typosCampbell Barton
2015-10-05Cleanup: use proper `ObjectWalkFunc` typedef in modifiers' object callback func.Bastien Montagne
Also, fix own stupidity, no need to define ID callback in case we only have objects, calling code knows to fallback to `foreachObjectLink()` when `foreachIDLink()` is missing...
2015-10-05Fix T46354: Curve Modifier does not update (new Dependency graph)Sergey Sharybin
Result of curve modifier depends on transform of the object which should be reflected by the depsgraph relations.
2015-09-23Fix T46215: Explode modifier looses texturesCampbell Barton
2015-09-16Fix T46130: Vertex/wire no visible with OpenSubdiv in edit modeSergey Sharybin
For now simply show warning in the interface and fallback to regular subsurf code. Supporting OpenSubdiv in edit mode in possible but not high priority currently.
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-08-27Fix T45921: Screw modifier flips vertex normalsCampbell Barton
2015-08-25Avoid include header from previous commit when building without OpenSubdivSergey Sharybin
2015-08-25OpenSubdiv: Make it more obvious that None compute type actually disables ↵Sergey Sharybin
OpenSubdiv
2015-08-12Displace Modifier: add an option to displace along (averaged) custom ↵Bastien Montagne
normals, instead of vertex normals. User suggestion/request from 'boby'.
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-08-05OpenSubdiv: Make sure normals passed to OSD are all up to dateSergey Sharybin
Solves shading artifacts with animated characters.
2015-08-05OpenSubdiv: Edit mode was not checking for Use OpenSubdiv flagSergey Sharybin
2015-08-05Mirror modifier: Fix for wrong dependency relationsSergey Sharybin
Mirror modifier was reporting that it depends on geometry of the object used for mirror center which is incorrect -- only object matrix is needed for modifier evaluation.
2015-08-05OpenSubdiv: Make subsurf behavior closer to original one when built with ↵Sergey Sharybin
OpenSubdiv but without enabling option
2015-08-04OpenSubdiv: Modifiers module missed WITH_OPENSUBDIV defineSergey Sharybin
2015-08-04Remove alloc checks in laplaciansmoothCampbell Barton
These arrays aren't especially big or likely to fail.
2015-08-04Remesh modifier has unnecessary MFace calculationCampbell Barton
2015-08-04Missed from last commitCampbell Barton
2015-08-04Remove MFace use w/ laplacian smoothCampbell Barton
Use polygons for calculation
2015-08-04OpenSubdiv: Report when OSD can't be enabled due to dependenciesSergey Sharybin
Should be useful for debugging cases when enabling the option doesn't cause any performance improvements.
2015-08-03OpenSubdiv: Made it a modifier option to enable OSD for viewportSergey Sharybin
The idea of this commit is to make it so we can enable OpenSubdiv by default for the release builds but keep it limited to the viewport only for a specific meshes. This is a temporary solution for until all the needed features are supported on the OpenSubdiv side. Flag itself is done as a dedicated field in modifier DNA so we can easily remove it in the future without ending up with some temporary flag hanging around forever.
2015-08-03OpenSubdiv: Resolve crashes when other object depends on subsurf-ed objectSergey Sharybin
Cases like using subsurfed object as a boolean operand can't be evaluated on GPU and needs to have all the CCG on CPU. This commit resolves existing configuration to survive, but new configurations would need to have some sort of forced object update so all the data is being moved on CPU if it was previously on GPU.
2015-08-01Replace checks for tessface w/ polygonsCampbell Barton
In these cases we're only checking the mesh has faces.
2015-08-01Remove MFace use w/ clothCampbell Barton
2015-07-31Replace MFace w/ vert-tri's for collision modifierCampbell Barton
Note that the collision modifier doesn't have any use for Loop indices, so to avoid duplicating the loop array too, MVertTri has been added which simply stores vertex indices (runtime only).
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