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-05-18Fix T44553: Dyntopo ignores front-face optionCampbell Barton
When 'Front Faces' brush option was enabled, dyntop would still adjust detail on back-faces.
2015-05-15Cleanup: style, spellingCampbell Barton
2015-05-12Dyntopo PBVH build optimization:Antony Riakiotakis
Optimize the full rebuild case for now (though same code can be adapted to partial redraws) Main changes here: * Calculate bounding centroid for faces only once (instead of every intermediate node) * Faces do not get added to GSets immediately, instead we track a face array which has faces that belong in a node in consecutive order. Nodes just keep accounting of start and length in the array. * Due to faces not being added to GSets, we can skip doing cleanup of GSets and readdition for each intermediate node and instead only add the faces to the final leafs node GSets when those nodes are created. Results: For a 1.9 million face test model, PBVH generation time (roughly measured by undoing) is dropped from 6 seconds to about 4 seconds. Still too high, but still a nice improvement. TODO: Thread some parts. Unfortunately threading the GSet assignment part might not help much since we'd need a lot of locking to avoid collisions with node assignments, especially for unique vertices.
2015-04-26Correct own error in recent sculpt changesCampbell Barton
mixed up squared nonsquared length, also remove invalid verify check.
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-04-19disable verify from last commit (too slow)Campbell Barton
2015-04-19Dyntopo: USE_EDGEQUEUE_TAG broke even subdivCampbell Barton
While adding edges to the queue multiple times is redundant, walking over them is still needed.
2015-04-16Dyntopo: avoid redundant loop collapsing edgesCampbell Barton
2015-04-16Dyntopo: blend vertex normals when collapsingCampbell Barton
2015-04-15BMesh: dyntopo used lopsided normalsCampbell Barton
Normals from subdivided edges were only taken from the edges first vertex. Interpolate between the two to give more even results.
2015-04-15BMesh: avoid ghash lookups splitting the pbvhCampbell Barton
This isn't a bottleneck but may as well avoid the extra ghash overhead.
2015-04-14Dyntopo queue added the same edges multiple timesCampbell Barton
Use tagging to avoid re-evaluating the same edges while sculpting. While gives only minor speedup, it allows for changes to the queue without additional redundant checks.
2015-04-14BMesh: avoid customdata copy for new dyntopo vertsCampbell Barton
2015-04-14BMesh: avoid redundant face-exists check (dyntopo)Campbell Barton
2015-04-13BMesh: resolve skinny face artifacts /w dyntopoCampbell Barton
Dyntopo can currently create skinny faces, especially when the faces are much larger then the resolution. To get the old behavior, set debug value to 1234
2015-04-13error in last commitCampbell Barton
2015-04-13BMesh: diagram for dyntopo edge subdivCampbell Barton
2015-04-12Dyntopo: redundant length check subdividing edgesCampbell Barton
2015-04-12BMesh: minor optimization counting adjacent dataCampbell Barton
add BM_***_count_is_over(), _count_is_equal() Useful if we only want to know if the count is a smaller value.
2014-10-11Sculpt: update dystopia debug verifyCampbell Barton
2014-10-10Sculpt: remove offset args from internal funcsCampbell Barton
Detect this from the element type, also typecheck lookup functions
2014-10-10BLI_buffer: empty macroCampbell Barton
2014-10-07Sculpt: dyntopo, avoid redundant gset remove callsCampbell Barton
2014-10-06Dyntopo: minor speedup collapsing edgesCampbell Barton
2014-10-03Comments: note on bmesh_region_matchCampbell Barton
also correct buffer type
2014-09-14Sculpt: check mask is present before readingCampbell Barton
2014-06-13GSet, GHash: Add BLI_gset_add, since its common to add members to a setCampbell Barton
also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same.
2014-05-05Hidden PBVH nodes:Antony Riakiotakis
Set hidden when rebuilding the PBVH tree if all primitives are hidden.
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-17Make sure we invalidate the node ID layer each time the PBVH is reset.Antony Riakiotakis
It makes code more tidy (avoids having to call invalidation on a myriad places). Also makes sure other invalidation cases (some mesh change, e.g.) work as expected.
2014-04-17Refactor to Dyntopo node customdata commit.Antony Riakiotakis
Don't use a dedicated node layer but use temporary int layer instead. Works like a charm as long as we are careful resetting the layer when needed (after pbvh clearing and always after bmesh has been filled in undo) Tip by Campbell, thanks!
2014-04-16Dyntopo:Antony Riakiotakis
Store PBVH node ID in CustomData. This avoids a number of hash deletions and checks/insertions on big hashes.
2014-04-16Dyntopo: slightly change node invalidation, only vertices can change BBAntony Riakiotakis
recalculation, only faces can change normal invalidation.
2014-04-13Code cleanup: quiet warnings & styleCampbell Barton
2014-04-11Fix redraw and undo issues with hidden parts in dyntopo after recentAntony Riakiotakis
changes.
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-11Dyntopo: use hidden face flags in more placesCampbell Barton
2014-04-10Dyntopo: Minor display optimization.Antony Riakiotakis
While hiding, flush the hidden flags to the faces. This avoids iterating through all the loops while updating the GPU buffers.
2014-04-08Dyntopo: replace GHash with GSet, saves some memoryCampbell Barton
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-07Code cleanup: remove unused functions and convert int -> boolCampbell Barton
2014-04-07Dyntopo: minor speedups with bmesh use.Campbell Barton
2014-04-07Dyntopo: avoid mask layer lookups while adding/removing vertsCampbell Barton
2014-04-05Dyntopo: minor optimizations for edge queueCampbell Barton
2014-04-05Remove redundant call to CustomData_get_offsetCampbell Barton
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2014-04-05Solve issue with dyntopo collapse.Antony Riakiotakis
It was possible to delete a masked vertex during collapsing. Looks like this is one of the causes for hangs during masked flood filling.
2014-04-04Code cleanup: no need to use calloc when memory is initialized afterCampbell Barton
also replace AT with __func__ since AT expands the full pathname
2014-04-02Fix some redrawing and possibly other issues in dyntopo:Antony Riakiotakis
When node face gets deleted, added or exchanged, the nodes should update their draw buffers, normals and bounding boxes. This was not being done before so there were graphical glitches apparent, especially in collapse mode.
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton