1461 Commits

Author SHA1 Message Date
05a80f53a7 Make sure depth test calls map to the whole family 2023-01-28 10:37:34 -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
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
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
746b52cda5 Okay, actually fix Arrow 2023-01-26 23:51:05 -08:00
86fb1d82f5 Typo fix 2023-01-26 23:44:33 -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
eab8edd51d Remove needless list(...) 2023-01-26 22:41:36 -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
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
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
a33b24310e Fix non-winding-fill orientation 2023-01-26 12:15:30 -08:00
c6c23a1fe7 Unnecessary refresh_bounding_box 2023-01-26 12:06:13 -08:00
f5cb2bfa52 Check for mismatched keys in uniform interpolation 2023-01-26 12:06:05 -08:00
05dd399270 Ensure svgs have positive orientation by default 2023-01-26 12:04:58 -08:00
72590a8fef Note that using winding fill changes data 2023-01-26 12:04:34 -08:00
cb36fda6d7 In interpolate, only update data status if some keys are unlocked 2023-01-25 19:24:19 -08:00
88590e5a05 Remove serializing deepcopy 2023-01-25 19:23:55 -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
424707d035 Move rendering more fully away from Camera to Mobject and ShaderWrapper 2023-01-25 14:13:56 -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
0ea91f22b2 Merge pull request #1971 from 3b1b/video-work
Video work
2023-01-25 09:54:55 -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
346d252451 Don't save triangulation, but do orient svg paths positively 2023-01-24 21:33:00 -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