210 Commits

Author SHA1 Message Date
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
4774d2bc3b First pass at a winding-based fill approach 2023-01-24 13:29:34 -08:00
b1f0270316 Change threshold for bevel reduction 2023-01-24 12:05:25 -08:00
03080a10a7 Small style tweaks 2023-01-23 15:05:10 -08:00
8d729eef5a Rename perspective to view_matrix 2023-01-23 14:41:17 -08:00
0d66981ac7 Fix issue with variable stroke width 2023-01-20 21:38:28 -08:00
8fee4d1a66 Fix straight line fill anti-alias issue 2023-01-20 17:35:36 -08:00
23b4e3e03b Use cubic formula in stroke frag for large stroke width case 2023-01-20 13:22:18 -08:00
6c262f63b1 Reduce is_linear threshold 2023-01-20 10:10:39 -08:00
b7ea24f9ea Tweak stroke frag 2023-01-20 10:09:58 -08:00
fe7dc3c459 Tiny cleanup 2023-01-20 10:07:28 -08:00
debc68a3b4 Just moving some lines around 2023-01-19 20:24:59 -08:00
909e515a2f Only compute xyz-to-uv matrix in non-linear case 2023-01-19 20:24:32 -08:00
6839de9a31 Remove rotate.glsl 2023-01-19 10:52:53 -08:00
c873d073e2 Factor out rotation matrix 2023-01-19 10:47:21 -08:00
981fe009e5 Fix radius on dots 2023-01-18 23:43:36 -08:00