2728 Commits

Author SHA1 Message Date
772ea792d0 Add check for null VMobject in shader init 2023-02-02 21:12:42 -08:00
ee08c552bf Remove ShaderWrapper.get_program_id 2023-02-02 20:49:13 -08:00
c4777015fc FIx Mobject.replace_shader_code 2023-02-02 20:47:55 -08:00
d10745a379 Have CameraFrame.get_view_matrix and and CameraFrame.get_implied_camera_location use _data_has_changed instead of a refresh arg 2023-02-02 20:47:12 -08:00
88959df7a8 Use set_color instead of set_rgba_array in vector_field 2023-02-02 18:24:12 -08:00
3d0fe27c55 Simplify VMobject.set_rgba_array 2023-02-02 18:23:41 -08:00
4629e08769 Ensure joint_products are computed at both the start and end of an animation 2023-02-02 18:17:12 -08:00
009f9dd18b Don't call become at the end of Transform 2023-02-02 18:16:44 -08:00
7f940fbee4 Change how ShaderWrapper uniforms are handled 2023-02-02 17:45:52 -08:00
1dcc678b2f Make sure animating a VGroup uniforms will have an effect 2023-02-02 16:18:09 -08:00
ad2e7144b4 Lock uniform keys, the same way data keys are 2023-02-02 16:17:26 -08:00
e36719a21b Use resize_points in Mobject.set_data 2023-02-02 15:37:10 -08:00
c4d698a169 Have Transform only copy target_mobject if it must 2023-02-02 15:36:58 -08:00
0e60b124eb Only compute const_data_keys for unlocked data 2023-02-02 15:02:55 -08:00
63dbe3b23f More direct check for family_members_with_points 2023-02-02 14:32:55 -08:00
bd89056c8e Only recalculate outer_vert_indices when points are resized 2023-02-02 14:29:37 -08:00
b9d6dcd67d Save _has_fill and _has_stroke to prevent unnecessary recalculation 2023-02-02 14:26:08 -08:00
e5eed7c36a Batch render groups by Mobject type 2023-02-02 13:28:06 -08:00
acb4b1c6b3 Finalize color at the vertex level, rather than the fragment level, for fill 2023-02-02 12:04:23 -08:00
4ec2e8b0c5 Merge branch 'master' of github.com:3b1b/manim into video-work 2023-02-02 11:22:58 -08:00
ab6a7df4af Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
17cef427f1 Update fill shader alpha blending, and simplify the fill canvas 2023-02-02 10:42:24 -08:00
b499caaa45 Have SVG subdivide intersections if winding fill is not a default 2023-02-02 10:40:09 -08:00
9c03a40d68 Account for unnecessary calls to use_winding_fill 2023-02-02 10:39:30 -08:00
47672d3b1e Add checks for setting submobjects with existing list 2023-02-01 22:52:59 -08:00
eeadbe4542 Small reshuffling 2023-02-01 22:52:02 -08:00
8adf2a6e07 Partition render groups based on shader type, fixed_in_frame status, depth_test and whether the mobject is changing 2023-02-01 20:39:16 -08:00
6eafdc63cc Merge branch 'video-work' into render-groups 2023-02-01 20:17:01 -08:00
ebf2ee5849 Update tex patterns 2023-02-01 20:12:06 -08:00
f4a6f99b54 Check _use_winding_fill on the submobject level 2023-02-01 20:11:50 -08:00
8820af65ec Check that scene has a camera frame in pixel_to_point_coords 2023-02-01 20:11:31 -08:00
f83c441210 Make it so that copying a mobject will copy its name, if applicable 2023-02-01 13:35:46 -08:00
f293ccdff4 Add copy_frame_anim_call 2023-02-01 13:35:10 -08:00
40bcb7e0f3 Accept list of Vect3 as an input to Mobject.set_points 2023-02-01 13:02:56 -08:00
979589a156 Change clicking behavior in InteractiveScene 2023-02-01 13:02:34 -08:00
9ef14c7260 Change default h_buff on Matrix 2023-02-01 11:38:54 -08:00
c062592684 Draw border width behind fill 2023-02-01 11:36:54 -08:00
280090a7c9 Small reorganization to VMobject.get_shader_wrapper_list, and default to fill border being drawn up front 2023-02-01 11:24:46 -08:00
04733ac32e Default to fully opaque background rectangle 2023-02-01 11:20:09 -08:00
0c9afb65d9 Small clean up to render calls 2023-02-01 11:19:40 -08:00
b1fb3e1d54 Add render mode and early discard for fill canvas vao 2023-02-01 11:19:22 -08:00
7c087838a3 Change backstroke defaults in OpeningScene 2023-01-31 21:33:36 -08:00
bc38165d44 Allow for matched_pairs arg to TransformMatchingStrings 2023-01-31 20:16:20 -08:00
c8d1ee5c88 No longer any need for specialized invisible_copy 2023-01-31 20:16:05 -08:00
f858a439dd Make alignment between VMobjects conducive to smoother interpolation 2023-01-31 20:15:48 -08:00
d3a4d81a63 Remove commended code 2023-01-31 16:08:43 -08:00
fca5770b9f Fix Camera.blit 2023-01-31 16:06:53 -08:00
d9c85aac46 Add dict_eq 2023-01-31 15:37:30 -08:00
93e65fa3e7 Prevent needless extra copying in Mobject.copy 2023-01-31 15:37:23 -08:00
3b0c958189 Check case of scale = 0 in get_view_matrix 2023-01-31 15:37:03 -08:00