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/intern
AgeCommit message (Collapse)Author
2020-07-02fixed mcgsover0219
2020-06-24several bugfixes but I think I'm going to need to change the way I handle ↵over0219
constrained solve
2020-06-23working on nearest-face traversalover0219
2020-06-23working on collisionover0219
2020-06-23 more interface changesover0219
2020-06-23changed up interface for lattice a bitover0219
2020-06-22fixed issue with rand causing mem errorover0219
2020-06-16lattice gen better but some bug on monkey, sometimes. probably a ptr error ↵over0219
somewhere
2020-06-16lattice appears working but will want to remove lattice cubes that do not ↵over0219
contain mesh volume
2020-06-16debugging uniform latticeover0219
2020-06-16improved API for less for-all-verts loopsover0219
2020-06-12reported mem leak in tetgen remesher but was just an malloc/free API call ↵over0219
mistake, not a memleak. fixed.
2020-06-10update api a bitover0219
2020-06-10cache working but lots of copiesover0219
2020-06-10working on interfaceover0219
2020-06-09added tetgenover0219
2020-06-08added tetgenover0219
2020-06-03still pretty buggy. The solver should be working, but lattice is too lousy ↵over0219
to see. The interface between blender and solver needs work too, doesn't seem to reset as often as I think it should be?
2020-06-03first commit. interfaced to very basic admmpd solver, but requires restart ↵over0219
to begin sim as caching not working for velocity. lattice is simply a packed 5-tet cube around mesh.
2020-05-28Merge branch 'blender-v2.83-release'Clément Foucault
2020-05-27Fix T77109: Cycles viewport render crash after object add and undoBrecht Van Lommel
2020-05-27Merge branch 'blender-v2.83-release'Patrick Mours
2020-05-27Fix T76947: Optix realtime denoiser progressively reduces brightness of very ↵Patrick Mours
bright objects The input data to the OptiX denoiser was clamped to 0..10000 as required, but it could easily exceed that range with a high number of samples (since the data contains the overall sum). To fix that, divide by the number of samples first and multiply it back in after the denoiser ran.
2020-05-27OpenSubdiv: Only store edges topology for non-smooth edgesSergey Sharybin
This change makes it so vertices of edge are only stored when edge has non-zero crease. This allows to lower memory footprint of 1.5M faces from 78 MiB to 54 MiB in the case all creases are zero. Meshes with crease are more hard to predict due to array-based storage, so it all depends on index of edge with crease. Worst case (all edges are creased) still stays at 78 MiB.
2020-05-27OpenSubdiv: Allow any order of edge topology/sharpness assignmentSergey Sharybin
Makes it possible to set adjacent vertices after edge sharpness. Initially it seemed like useful sanity check, but with time it became rather a burden.
2020-05-27OpenSubdiv: Optimize faces storage in mesh topologySergey Sharybin
Avoid per-face pointer and allocation: store everything as continuous arrays. Memory footprint for 1.5M faces: - Theoretical worst case (all vertices and edges have crease) memory goes down from 114 MiB to 96 MiB (15% improvement). This case is not currently achievable since Blender does not expose vertex crease yet. - Current real life worst case (all edges have crease) memory goes down from 108 MiB to 90 MiB (17% improvement). - Best case (no creases at all) memory goes down from 96 MiB to 78 MiB (19% improvement).
2020-05-27OpenSubdiv: Add regression tests for mesh topologySergey Sharybin
While this looks trivial it already allowed to catch issues in one of previous attempt to optimize memory usage. It will totally be useful for an upcoming refactor of face topology storage.
2020-05-27OpenSubdiv: Hide individual topology elementsSergey Sharybin
Move all API to happen via MeshTopology. This is a preparation for an upcoming memory optimization.
2020-05-27OpenSubdiv: Cleanup, remove unused codeSergey Sharybin
There is no need in edge map anymore.
2020-05-27OpenSubdiv: Add TODO avoid checking face-varying topology for equalitySergey Sharybin
2020-05-27OpenSubdiv: Move preliminary geometry counters check to mesh topologySergey Sharybin
2020-05-27OpenSubdiv: Keep explicit storage of base mesh facesSergey Sharybin
Allows to perform comparison by doing linear comparison of indices. Before cyclic match was used to deal with possibly changed winding from OpenSubdiv side. Speeds up comparison (and hence improves FPS), makes code more reliable nut uses more memory.
2020-05-27OpenSubdiv: Compare edge topologySergey Sharybin
This change makes it so topology refiner comparison will check vertices of all existing/provided edges. The initial claim that due to manifold nature of mesh there is no need in "deep" edges check was wrong: some areas might only provide edges with non-zero creases. So if crease of one edge goes changes from 1.0 to 0.0 and crease of other edge goes from 0.0 to 1.0 the old comparison code would not have caught it.
2020-05-27OpenSubdiv: Refactor, move mesh topology comparison to own fileSergey Sharybin
Makes it easier to follow and extend.
2020-05-27OpenSubdiv: Use explicit storage for edge sharpnessSergey Sharybin
Similar to previous change in vertex sharpness, explicitly store value provided by the converter. Allows to avoid rather fragile check for boundary edges. Also allows to avoid need in constructing edge map. This lowers memory footprint of the comparison process and avoids memory allocations during the comparison (which is an extra benefit from the performance point of view).
2020-05-27OpenSubdiv: Allow use of regular ordered mapSergey Sharybin
2020-05-27OpenSubdiv: Refactor, move comparison to own fileSergey Sharybin
2020-05-27OpenSubdiv: Compare sharpness based on converterSergey Sharybin
This change starts the transition of topology refiner comparison to compare actual values given by the converter, which will not be affected by the refinement or face winding synchronization steps. Currently is only implemented for vertex sharpness, but will be extended further as followup development. Fixes T71908: Subdiv: Incorrect topology comparison, leading to poor performance
2020-05-27OpenSubdiv: Add explicit storage for mesh topologySergey Sharybin
The idea is to use this explicit storage for topology comparison rather than using base level. While this will have memory overhead it allows to simplify comparison of such things as: - Vertex sharpness (where base level from topology refiner will have it refined, meaning it will be different from what application requested for non-manifold and corner vertices). - It will allow to simplify face-vertices comparison, where currently O(N^2) algorithm is used due to possible difference in face winding. - It will also allow to avoid comparison-time allocation of edge map. Currently no functional changes, just preparing for development which will happen next.
2020-05-27OpenSubdiv: Add move semantic to the namespaceSergey Sharybin
2020-05-27OpenSubdiv: Refactor, pass higher level object through comparisonSergey Sharybin
2020-05-27OpenSubdiv: Refactor, move utils to baseSergey Sharybin
Also split them across utilities and types.
2020-05-27OpenSubdiv: Refactor, move base C-API file to base folderSergey Sharybin
2020-05-27OpenSubdiv: Cleanup, use C++ range based loopSergey Sharybin
Avoid indirection via define.
2020-05-27OpenSubdiv: Cleanup, move utility function to base type conversionSergey Sharybin
2020-05-27OpenSubdiv: Refactor, move type conversion to base fodlerSergey Sharybin
2020-05-27OpenSubdiv: Refactor, move evaluator to own folderSergey Sharybin
2020-05-27OpenSubdiv: Completely disable topology verificationSergey Sharybin
Previously it was enabled for debug builds, now it is to be enabled explicitly. The reason for this is to reduce overhead when debugging other areas which might involve subdivision surface. When conversion is to be debugged set this manually in the code.
2020-05-27OpenSubdiv: Refactor, move edge map to base folderSergey Sharybin
2020-05-27OpenSubdiv: Refactor creation of topology refinerSergey Sharybin
Consolidate it inside of the topology refiner implementation class, which would allow to store extra data acquired during construction of the OpenSubdiv's object.