Blender Git Loki

Blender Git commits from all branches.

Page: 991 / 2888

January 18, 2020, 19:10 (GMT)
replace Vector.index with Vector.index_try
January 18, 2020, 19:03 (GMT)
implement initial Remove Duplicates optimization
January 18, 2020, 19:00 (GMT)
set operation hash for some functions
January 18, 2020, 18:59 (GMT)
support for storing operation hash per function
January 18, 2020, 18:59 (GMT)
add utilities to MFNetworkBuilder
January 18, 2020, 18:58 (GMT)
fix Vector.remove_first_occurrence_and_reorder
January 18, 2020, 18:58 (GMT)
new Optional.set_new methods
January 18, 2020, 17:20 (GMT)
simplify constant folding
January 18, 2020, 16:54 (GMT)
improve naming
January 18, 2020, 16:24 (GMT)
Merge branch 'functions' into network-builder-refactor
January 18, 2020, 16:23 (GMT)
Merge branch 'master' into functions
January 18, 2020, 15:31 (GMT)
GPencil: Fix slow calculation in Edit transformations

Now the triangulation is only calculated once by stroke, not for each point.
January 18, 2020, 14:55 (GMT)
GPencil: Fix color modifiers

With new draw engine implementation the old system did not work.
January 18, 2020, 10:54 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
January 18, 2020, 10:52 (GMT)
Merge branch 'master' into greasepencil-object
January 18, 2020, 10:51 (GMT)
GPencil: New evaluation of derived frames and Filling calculation

As grease pencil was created before depgraph, it was using a custom solution to create derived data to apply modifiers on top. With the new refactor of the drawing engine, we need to have the runtime data at datablock (bGPdata) level to share between instances, but also we neeed to have separated eval data because different objects can use different modifiers (equals to actual mesh_eval logic). The old derived frame array solution is not valid anymore.

The initial idea was to make a full copy of the datablock in a separated eval copy, but testing this solution, it was very slow, so now, the full copy is only done once, and later, only the active frame data is updated (see note below).

In a future development, the ideal solution would calculate all frames at the same time and only copy again if something changes, but now this change is out of scope. I have been performing tests and with this "only active frame" copy,

Also, this solution simplifies several areas of the code, because now it's not necessary to deal with derived frame array, and just use datablock as is.

This update also includes the following:

* How the filling information is managed. Before, the triangulation data was created only during drawing process, and it was not saved. With the new engine, this information must be available always, so instead to calculate in drawing time, now the information is saved and generated or updated each time the stroke is modified. To have the filling information calculated improves FPS and simplify drawing and modifier evaluation code.

* Remove unused parameters related to old Filling calculation logic. This also simplifies the UI panels.

* Added simplify modifier options. This was removed, but after last changes it's good to have as before.

Differential Revision: https://developer.blender.org/D6597
January 17, 2020, 23:42 (GMT)
GPencil: Refactor: Speedup: Add drawcall merging of consecutive strokes

This reduces driver & DRW overhead when a lot of strokes are drawn with
the same material pool.
January 17, 2020, 21:14 (GMT)
Merge branch 'greasepencil-refactor' into temp-gpencil-eval
January 17, 2020, 21:14 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
January 17, 2020, 21:13 (GMT)
Merge branch 'master' into greasepencil-object
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021