2604 Commits

Author SHA1 Message Date
c7ef4eefbc Add getter/setter for anti_alias_width 2023-01-28 11:35:26 -08:00
ab03a0cfba Add Mobject.set_uniform 2023-01-28 11:35:15 -08:00
05a80f53a7 Make sure depth test calls map to the whole family 2023-01-28 10:37:34 -08:00
60a27f52f1 Add depth sampling for fill 2023-01-28 10:36:41 -08:00
1a62314719 Add a "clear" option for Mobjects
This not only sets the submobject list to 0, but removes self from the parent lists
2023-01-28 10:11:22 -08:00
047128a663 Make sure shader_wrapper inherits depth test 2023-01-27 19:27:42 -08:00
38abef8871 Fix ShaderWrapper.init_textures 2023-01-27 19:27:23 -08:00
8ecfc2b2cf add shaders to universal imports 2023-01-27 17:08:22 -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
3a01eb31bd Remove group_type arg 2023-01-27 16:02:47 -08:00
d5b1a1725d Allow Mobject.remove to remove any family member, not just immediate submobjects 2023-01-27 15:15:16 -08:00
1f6363821b Have VMobject inherit children uniforms when rendering 2023-01-27 14:48:57 -08:00
35c19fe8a7 Edit is_fixed_in_frame 2023-01-27 14:48:31 -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
3a0916fe3a Reorganize fbo initialization 2023-01-27 10:12:53 -08:00
40ae481979 Marginally better vbo/ibo tracking 2023-01-27 10:01:37 -08:00
97e4c25453 Add comment 2023-01-27 08:29:41 -08:00
1707958e0f Clean up fill shader a bit 2023-01-27 08:26:54 -08:00
746b52cda5 Okay, actually fix Arrow 2023-01-26 23:51:05 -08:00
86fb1d82f5 Typo fix 2023-01-26 23:44:33 -08:00
de7545e5fa Tiny tweak to array_is_constant 2023-01-26 23:43:34 -08:00
b21e470e69 In append_vectorized_mobject, append data as well as points 2023-01-26 23:43:21 -08:00
79039bde61 Fix Arrow 2023-01-26 23:42:03 -08:00
2863672740 Small clean up 2023-01-26 23:05:09 -08:00
422c9cebd2 Only trigger triangulation for non-winding fill 2023-01-26 23:05:01 -08:00
6388647860 Change to using glBlendFuncSeparate
To please type checkers
2023-01-26 22:51:14 -08:00
eab8edd51d Remove needless list(...) 2023-01-26 22:41:36 -08:00
8f6c14ad5f Increase threshold for discarding fill fragments 2023-01-26 22:41:23 -08:00
7a59cc2f03 Use gl.MAX to blend alphas in fill 2023-01-26 22:40:29 -08:00
0f89349bb8 Small clean up 2023-01-26 21:00:20 -08:00
ab57b0acf0 Ensure positive orientation on all SVG, not just PathStrings 2023-01-26 21:00:07 -08:00
1bd6a77151 Don't use @stash_mobject_pointers on copy, be more explicit 2023-01-26 20:59:36 -08:00
bf2a609246 Have animation group collect parts as a VGroup if it can 2023-01-26 20:39:05 -08:00
e9333a908c Move camera.clear call into 'capture' 2023-01-26 20:38:38 -08:00
5803a00598 Use smaller fill_texture, adjusting winding-fill blending hack as is necessary 2023-01-26 20:14:22 -08:00
9ee9e1946a Use non-window fbo in scene.get_image 2023-01-26 20:02:50 -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
acdc2654d3 Account for 'target_mobject is None' case 2023-01-26 16:52:25 -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
28c875c2c3 Finish Transforms with a call to Mobject.become 2023-01-26 16:49:13 -08:00
164c9ba754 Use copy in set_data 2023-01-26 16:46:05 -08:00
8ef71bb930 Don't use 'become' for interpolate at alpha = 0 or 1 2023-01-26 16:43:40 -08:00
a8da171adb Make sure a group inherits the fixed_in_frame status of its parts 2023-01-26 15:58:56 -08:00
65afed1bd1 Move shading from fill geom to fill frag shader 2023-01-26 15:50:27 -08:00
14cda7e908 Don't show progress bar in embed by default 2023-01-26 15:28:10 -08:00