Commit graph

5576 commits

Author SHA1 Message Date
Grant Sanderson
3a0916fe3a Reorganize fbo initialization 2023-01-27 10:12:53 -08:00
Grant Sanderson
40ae481979 Marginally better vbo/ibo tracking 2023-01-27 10:01:37 -08:00
Grant Sanderson
97e4c25453 Add comment 2023-01-27 08:29:41 -08:00
Grant Sanderson
1707958e0f Clean up fill shader a bit 2023-01-27 08:26:54 -08:00
Grant Sanderson
746b52cda5 Okay, actually fix Arrow 2023-01-26 23:51:05 -08:00
Grant Sanderson
86fb1d82f5 Typo fix 2023-01-26 23:44:33 -08:00
Grant Sanderson
de7545e5fa Tiny tweak to array_is_constant 2023-01-26 23:43:34 -08:00
Grant Sanderson
b21e470e69 In append_vectorized_mobject, append data as well as points 2023-01-26 23:43:21 -08:00
Grant Sanderson
79039bde61 Fix Arrow 2023-01-26 23:42:03 -08:00
Grant Sanderson
2863672740 Small clean up 2023-01-26 23:05:09 -08:00
Grant Sanderson
422c9cebd2 Only trigger triangulation for non-winding fill 2023-01-26 23:05:01 -08:00
Grant Sanderson
6388647860 Change to using glBlendFuncSeparate
To please type checkers
2023-01-26 22:51:14 -08:00
Grant Sanderson
eab8edd51d Remove needless list(...) 2023-01-26 22:41:36 -08:00
Grant Sanderson
8f6c14ad5f Increase threshold for discarding fill fragments 2023-01-26 22:41:23 -08:00
Grant Sanderson
7a59cc2f03 Use gl.MAX to blend alphas in fill 2023-01-26 22:40:29 -08:00
Grant Sanderson
0f89349bb8 Small clean up 2023-01-26 21:00:20 -08:00
Grant Sanderson
ab57b0acf0 Ensure positive orientation on all SVG, not just PathStrings 2023-01-26 21:00:07 -08:00
Grant Sanderson
1bd6a77151 Don't use @stash_mobject_pointers on copy, be more explicit 2023-01-26 20:59:36 -08:00
Grant Sanderson
bf2a609246 Have animation group collect parts as a VGroup if it can 2023-01-26 20:39:05 -08:00
Grant Sanderson
e9333a908c Move camera.clear call into 'capture' 2023-01-26 20:38:38 -08:00
Grant Sanderson
5803a00598 Use smaller fill_texture, adjusting winding-fill blending hack as is necessary 2023-01-26 20:14:22 -08:00
Grant Sanderson
9ee9e1946a Use non-window fbo in scene.get_image 2023-01-26 20:02:50 -08:00
Grant Sanderson
3a175c1a4c Note that sorting surface indices affects data 2023-01-26 20:02:28 -08:00
Grant Sanderson
258bc2256a Provide a check that shader uniforms really need updating before setting value 2023-01-26 20:01:59 -08:00
Grant Sanderson
acdc2654d3 Account for 'target_mobject is None' case 2023-01-26 16:52:25 -08:00
Grant Sanderson
9696827213 Allow for adding null subpath 2023-01-26 16:50:22 -08:00
Grant Sanderson
6d4782506a Account for null fill cases in invinisble_copy 2023-01-26 16:49:36 -08:00
Grant Sanderson
28c875c2c3 Finish Transforms with a call to Mobject.become 2023-01-26 16:49:13 -08:00
Grant Sanderson
164c9ba754 Use copy in set_data 2023-01-26 16:46:05 -08:00
Grant Sanderson
8ef71bb930 Don't use 'become' for interpolate at alpha = 0 or 1 2023-01-26 16:43:40 -08:00
Grant Sanderson
a8da171adb Make sure a group inherits the fixed_in_frame status of its parts 2023-01-26 15:58:56 -08:00
Grant Sanderson
65afed1bd1 Move shading from fill geom to fill frag shader 2023-01-26 15:50:27 -08:00
Grant Sanderson
14cda7e908 Don't show progress bar in embed by default 2023-01-26 15:28:10 -08:00
Grant Sanderson
37f0bf8c11 Fix winding fill blending
(Using somewhat of a hack)
2023-01-26 15:27:48 -08:00
Grant Sanderson
3f5df432ce Consider winding_fill alphas pre-multiplied 2023-01-26 12:17:21 -08:00
Grant Sanderson
a33b24310e Fix non-winding-fill orientation 2023-01-26 12:15:30 -08:00
Grant Sanderson
c6c23a1fe7 Unnecessary refresh_bounding_box 2023-01-26 12:06:13 -08:00
Grant Sanderson
f5cb2bfa52 Check for mismatched keys in uniform interpolation 2023-01-26 12:06:05 -08:00
Grant Sanderson
05dd399270 Ensure svgs have positive orientation by default 2023-01-26 12:04:58 -08:00
Grant Sanderson
72590a8fef Note that using winding fill changes data 2023-01-26 12:04:34 -08:00
Grant Sanderson
a1595a9e2f Use separate fbo for writing to file when window is active 2023-01-25 22:34:11 -08:00
Grant Sanderson
a68bc1271b Have FillShaders all share the same texture used for intermediary rendering 2023-01-25 19:43:16 -08:00
Grant Sanderson
cb36fda6d7 In interpolate, only update data status if some keys are unlocked 2023-01-25 19:24:19 -08:00
Grant Sanderson
88590e5a05 Remove serializing deepcopy 2023-01-25 19:23:55 -08:00
Grant Sanderson
a601384211 Remove stray imports 2023-01-25 19:23:22 -08:00
Grant Sanderson
f96a697ee3 Use become for interpolating at 0 or 1 2023-01-25 19:21:24 -08:00
Grant Sanderson
3c8e3792e7 Remove references to refresh_static_mobjects 2023-01-25 19:20:11 -08:00
Grant Sanderson
2beb55727f Change naming logic for recorded inserts 2023-01-25 17:30:12 -08:00
Grant Sanderson
7609b1db78 Set up by-hand anti-aliasing for FillShaderWrapper 2023-01-25 17:19:44 -08:00
Grant Sanderson
018b07212f Change how joint_products are updated in pointwise_become_partial 2023-01-25 16:50:52 -08:00