225 Commits

Author SHA1 Message Date
099aaaee43 Increase polyline factor 2024-08-07 14:46:26 -05:00
70862a068f Don't buff out stroke width by antialias width 2024-08-07 14:46:17 -05:00
f677a02036 Allow for manually setting miter or bevel joints 2024-08-07 14:45:55 -05:00
0a43a3ff9a Remove unnecessary stroke vert input 2024-08-07 14:10:50 -05:00
61a2b4d0da Improve flat stroke for sharp corners with a smooth transition to miter joints 2024-08-07 10:34:47 -05:00
edb438e5e2 Further clean up to stroke shader 2024-08-06 15:45:21 -05:00
ec88673e92 Fix kink issue in flat stroke 2024-08-06 10:41:31 -05:00
a5926195ee Clean up stroke shader 2024-08-05 15:01:02 -05:00
557819ad03 Remove pre-computation of curve points and joint products 2024-08-05 14:25:15 -05:00
f363eaa2fd Add stand in for a ribboning effect 2024-08-05 13:37:34 -05:00
c61c18486c Don't bevel corners on inner joints of quadratic bezier curves 2024-08-05 13:37:17 -05:00
26249c34bb Have non-flat stroke operate based on projecting tangents 2024-08-05 09:15:06 -05:00
b3bbc31ea9 Small clean up to stroke shaders 2024-08-03 08:12:00 -05:00
aea747b6d3 Final refinements on polyline stroke implementations 2024-08-01 07:41:32 -05:00
361817b506 Pass fewer values to frag shader 2024-08-01 07:17:26 -05:00
a3469c236e Simpler compute_subdivisions 2024-08-01 06:32:04 -05:00
c6a6503544 Cleaning up first pass implementation 2024-07-31 16:27:37 -04:00
3ea8393e9a First pass at a polyline implementation for stroke 2024-07-31 15:51:06 -04:00
a105216a47 Small clean up 2024-07-31 15:31:26 +02:00
d3dee240c3 Allow for smooth transitions between mobjects fixed and unfixed from the frame 2024-01-19 17:42:12 -06:00
60b762ca43 Remove redundant and unused get_gl_Position.glsl file 2024-01-19 17:41:46 -06:00
3f2d15986a Make TrueDot shading in 3d work 2023-02-16 16:47:59 -08:00
acb4b1c6b3 Finalize color at the vertex level, rather than the fragment level, for fill 2023-02-02 12:04:23 -08:00
17cef427f1 Update fill shader alpha blending, and simplify the fill canvas 2023-02-02 10:42:24 -08:00
7c087838a3 Change backstroke defaults in OpeningScene 2023-01-31 21:33:36 -08:00
2cbad30f45 Change VMobject rendering mode to TRIANGLES
And set indices appropriately when reading in to the ShaderWrapper
2023-01-31 11:45:53 -08:00
e7734ca84c Fix TexturedSurface 2023-01-30 20:57:21 -08:00
55da5d5d03 Remove use of dv_points and du_points, pass unit normals to shader instead 2023-01-30 20:49:32 -08:00
e950286fa4 Replace get_gl_Position -> emit_gl_Position 2023-01-30 18:43:28 -08:00
daaaba0a67 Use frame_scale uniform instead of frame_shape 2023-01-30 15:10:41 -08:00
277c471c90 Refactor so that view matrix incorporates frame scaling 2023-01-30 14:15:39 -08:00
0d36f17f9c Remove unused line 2023-01-28 15:40:10 -08:00
368f48f8dd Make use of some glsl built-ins 2023-01-28 15:01:32 -08:00
e57ca4e1ee Track orientation for non-winding fill 2023-01-27 12:43:21 -08:00
86fb69c5bb Track unit normal for fill 2023-01-27 12:35:43 -08:00
1c432dd6dc Small refactor to stroke geom shader 2023-01-27 10:48:06 -08:00
1707958e0f Clean up fill shader a bit 2023-01-27 08:26:54 -08:00
79039bde61 Fix Arrow 2023-01-26 23:42:03 -08:00
5803a00598 Use smaller fill_texture, adjusting winding-fill blending hack as is necessary 2023-01-26 20:14:22 -08:00
65afed1bd1 Move shading from fill geom to fill frag shader 2023-01-26 15:50:27 -08:00
37f0bf8c11 Fix winding fill blending
(Using somewhat of a hack)
2023-01-26 15:27:48 -08:00
3f5df432ce Consider winding_fill alphas pre-multiplied 2023-01-26 12:17:21 -08:00
a33b24310e Fix non-winding-fill orientation 2023-01-26 12:15:30 -08:00
4cb9c9c2fc Remove unnecessary normalize 2023-01-25 08:18:10 -08:00
088a2f65a3 Misc. clean up 2023-01-24 21:10:57 -08:00
307487e087 Don't pre-normalize joint_products 2023-01-24 21:10:26 -08:00
f0df5c759d Make winding fill optional, and make winding additive rather than toggling 2023-01-24 20:03:23 -08:00
516fe9155e Small tweaks 2023-01-24 15:29:35 -08:00
87afdac6a4 Small clean up 2023-01-24 14:09:41 -08:00
6e56c31d67 Use gl_InstanceID instead of hacking triangle_strip 2023-01-24 13:49:43 -08:00