419 Commits

Author SHA1 Message Date
b3dec3fd51 Small fixes 2023-01-28 17:53:49 -08:00
c6db74c996 Re-order conditional blocks 2023-01-28 13:06:23 -08:00
8d72340501 Remove some references to triangulation 2023-01-28 12:43:56 -08:00
2a3f927566 Set defaults so that VMobjects will have no antialias width when depth test is turned on 2023-01-28 11:39:31 -08:00
c7ef4eefbc Add getter/setter for anti_alias_width 2023-01-28 11:35:26 -08:00
ce5d0b61f9 Add back accidentally deleted reverse_points code 2023-01-27 16:58:22 -08:00
71ef39ea5b Remove "poor man's anti-aliasing" for Fill and instead render a small border width for fill 2023-01-27 16:15:20 -08:00
1f6363821b Have VMobject inherit children uniforms when rendering 2023-01-27 14:48:57 -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
b21e470e69 In append_vectorized_mobject, append data as well as points 2023-01-26 23:43:21 -08:00
ab57b0acf0 Ensure positive orientation on all SVG, not just PathStrings 2023-01-26 21:00:07 -08:00
3a175c1a4c Note that sorting surface indices affects data 2023-01-26 20:02:28 -08:00
258bc2256a Provide a check that shader uniforms really need updating before setting value 2023-01-26 20:01:59 -08:00
9696827213 Allow for adding null subpath 2023-01-26 16:50:22 -08:00
6d4782506a Account for null fill cases in invinisble_copy 2023-01-26 16:49:36 -08:00
a33b24310e Fix non-winding-fill orientation 2023-01-26 12:15:30 -08:00
72590a8fef Note that using winding fill changes data 2023-01-26 12:04:34 -08:00
018b07212f Change how joint_products are updated in pointwise_become_partial 2023-01-25 16:50:52 -08:00
d2af6a5f4b Keep track of when Mobject data has changed, and used that to determine when ShaderWrapper generates new buffers 2023-01-25 16:43:47 -08:00
2c737ed540 Move most of rendering logic to ShaderWrapper 2023-01-25 13:45:18 -08:00
c94d8fd3b0 Move Texture handling and vao creation outside of Camera 2023-01-25 12:10:39 -08:00
10047773f7 Have ShaderWrapper track OpenGL context 2023-01-25 10:49:30 -08:00
16d773f1b3 Remove refresh_shader_data 2023-01-25 10:48:59 -08:00
80729c0cb8 Only initialize ShaderWrappers as needed 2023-01-25 10:37:12 -08:00
8c1e5f3b42 Change use_clip_plane to be a function 2023-01-25 10:31:05 -08:00
a9a3ca08cd Merge pull request #1972 from 3b1b/winding-fill
Winding fill
2023-01-25 10:01:31 -08:00
bc5c78de83 Add winding fill to VMobject args 2023-01-25 09:56:07 -08:00
93dd9f687b Ensure align_family works well with VMobject fill 2023-01-25 09:50:16 -08:00
6cf8c8d2e8 Do refresh in pointwise_become_partial 2023-01-24 21:47:12 -08:00
307487e087 Don't pre-normalize joint_products 2023-01-24 21:10:26 -08:00
98eccab977 Ensure background rectangle matches orientation 2023-01-24 20:03:33 -08:00
f0df5c759d Make winding fill optional, and make winding additive rather than toggling 2023-01-24 20:03:23 -08:00
945aa9713f Fix aligned subpaths bug 2023-01-24 15:02:06 -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
b934ee5f50 Make isinstance check work for python 3.7-3.9 (#1969) 2023-01-23 11:36:51 +08:00
847c27ad23 Remove stray import 2023-01-22 09:45:50 -08:00
9e02796c9a Fix set_width for variable stroke width 2023-01-20 21:38:48 -08:00
917481cb23 Always refresh in pointwise_become_partial 2023-01-20 20:33:23 -08:00
9249433144 Don't pass uv_func from SGroup 2023-01-20 16:26:06 -08:00
7df6efb55f Handle edge case of false endpoints in make_smooth 2023-01-20 10:08:12 -08:00
1c2ec03f7d Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
dbeef42600 In VMobject.set_stroke, Don't use resize_with_interpolation for non-list args 2023-01-19 09:56:26 -08:00
148898f983 Fix insert_n_curves 2023-01-18 23:43:51 -08:00
22d2819ecf Improvements to make_smooth 2023-01-18 22:39:02 -08:00
8e2cf04b71 Simplify true_dot shaders 2023-01-18 15:36:00 -08:00
e20efda3df Revert away from using curve_to_quadratic 2023-01-18 13:03:23 -08:00
8b3aa8f5c6 Account for edge cases on curve_to_quadratic 2023-01-18 12:52:47 -08:00