January 19, 2020, 16:21 (GMT) |
Merge branch 'greasepencil-object' into greasepencil-refactor |
January 19, 2020, 16:21 (GMT) |
Merge branch 'master' into greasepencil-object |
January 19, 2020, 16:20 (GMT) |
GPencil: Test modifiers Tint and Hue/Saturation to use material if the Vertex color is not active. |
January 19, 2020, 16:19 (GMT) |
GPencil: Fix error in convert to Vertex Color It was not checking if the alpha of tha material was > 0 to detect if Fill and/or Stroke material. |
January 19, 2020, 15:46 (GMT) |
GPencil: Fix Color properties using sRGB The colors were wrong because now all is Linear. |
January 19, 2020, 15:35 (GMT) |
GPencil: Move opacity factor to stroke from runtime If the modifier is applied, need to be in the stroke. Note: Maybe we need to active this value in some sculpt brush to define the opacity of the Fill, because when you apply the modiifer, you can only replace the value using the modifier again. Other solution would be a reset opacity operator. |
January 19, 2020, 15:21 (GMT) |
GPencil: Fix Opacity modifier for Fill Now the modifier is able to apply opacity to the Fill area as it was in previous versions. |
January 19, 2020, 01:12 (GMT) |
GPencil: Refactor: Reuse GPENCIL_MaterialPool across multiple objects This minimize the number of UBO we create and the number of UBO switching we have to do to render each objects. |
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 |
January 17, 2020, 16:43 (GMT) |
Cleanup: Fix comment |
January 17, 2020, 15:38 (GMT) |
Merge branch 'greasepencil-refactor' into temp-gpencil-eval |
January 17, 2020, 15:38 (GMT) |
GPencil: Fix subversion patch number |
|