Grant Sanderson
|
ab6a7df4af
|
Use typing_extensions to import Self for python versions <3.11
|
2023-02-02 10:54:47 -08:00 |
|
Grant Sanderson
|
04733ac32e
|
Default to fully opaque background rectangle
|
2023-02-01 11:20:09 -08:00 |
|
Grant Sanderson
|
93e65fa3e7
|
Prevent needless extra copying in Mobject.copy
|
2023-01-31 15:37:23 -08:00 |
|
Grant Sanderson
|
077f264890
|
In Mobject.become, match needs_new_bounding_box status
|
2023-01-31 14:48:26 -08:00 |
|
Grant Sanderson
|
1e46847a69
|
Use Iterator type for Mobject.__iter__
|
2023-01-31 14:32:32 -08:00 |
|
Grant Sanderson
|
4c327cd5d2
|
Merge branch 'add-self-type' into video-work
|
2023-01-31 14:26:31 -08:00 |
|
Grant Sanderson
|
b58224f6c8
|
Add Self type to vectorized_mobject.py
|
2023-01-31 13:43:54 -08:00 |
|
Grant Sanderson
|
50343e9629
|
Add Self type to mobject.py
|
2023-01-31 13:31:48 -08:00 |
|
Grant Sanderson
|
a4d9b101de
|
Whoops, make sure deepcopy actually returns
|
2023-01-31 12:53:25 -08:00 |
|
Grant Sanderson
|
5952f9ea74
|
Make sure rgbas will be resized if bigger than Mobject.data
|
2023-01-31 09:48:23 -08:00 |
|
Grant Sanderson
|
57deab6617
|
Fix ControlsExample
|
2023-01-31 09:08:38 -08:00 |
|
Grant Sanderson
|
f8cfcfbc64
|
Fix EventListener typo
|
2023-01-31 09:08:24 -08:00 |
|
Grant Sanderson
|
15d8ebb572
|
Add Mobject.set_shape
|
2023-01-30 11:53:15 -08:00 |
|
Grant Sanderson
|
ab03a0cfba
|
Add Mobject.set_uniform
|
2023-01-28 11:35:15 -08:00 |
|
Grant Sanderson
|
05a80f53a7
|
Make sure depth test calls map to the whole family
|
2023-01-28 10:37:34 -08:00 |
|
Grant Sanderson
|
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 |
|
Grant Sanderson
|
047128a663
|
Make sure shader_wrapper inherits depth test
|
2023-01-27 19:27:42 -08:00 |
|
Grant Sanderson
|
d5b1a1725d
|
Allow Mobject.remove to remove any family member, not just immediate submobjects
|
2023-01-27 15:15:16 -08:00 |
|
Grant Sanderson
|
35c19fe8a7
|
Edit is_fixed_in_frame
|
2023-01-27 14:48:31 -08:00 |
|
Grant Sanderson
|
86fb1d82f5
|
Typo fix
|
2023-01-26 23:44:33 -08:00 |
|
Grant Sanderson
|
2863672740
|
Small clean up
|
2023-01-26 23:05:09 -08:00 |
|
Grant Sanderson
|
eab8edd51d
|
Remove needless list(...)
|
2023-01-26 22:41:36 -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
|
258bc2256a
|
Provide a check that shader uniforms really need updating before setting value
|
2023-01-26 20:01:59 -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
|
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
|
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
|
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 |
|
Grant Sanderson
|
424707d035
|
Move rendering more fully away from Camera to Mobject and ShaderWrapper
|
2023-01-25 14:13:56 -08:00 |
|
Grant Sanderson
|
2c737ed540
|
Move most of rendering logic to ShaderWrapper
|
2023-01-25 13:45:18 -08:00 |
|
Grant Sanderson
|
c94d8fd3b0
|
Move Texture handling and vao creation outside of Camera
|
2023-01-25 12:10:39 -08:00 |
|
Grant Sanderson
|
10047773f7
|
Have ShaderWrapper track OpenGL context
|
2023-01-25 10:49:30 -08:00 |
|
Grant Sanderson
|
16d773f1b3
|
Remove refresh_shader_data
|
2023-01-25 10:48:59 -08:00 |
|
Grant Sanderson
|
80729c0cb8
|
Only initialize ShaderWrappers as needed
|
2023-01-25 10:37:12 -08:00 |
|
Grant Sanderson
|
93dd9f687b
|
Ensure align_family works well with VMobject fill
|
2023-01-25 09:50:16 -08:00 |
|
Grant Sanderson
|
72da9786a3
|
Use null array for vert indices in place of None
|
2023-01-24 15:53:43 -08:00 |
|
Grant Sanderson
|
b93e284695
|
In aligning families, scale inserted submobjects to 0
|
2023-01-24 15:29:09 -08:00 |
|
Grant Sanderson
|
d01658bc5b
|
Fix multi-color setting
|
2023-01-24 13:04:13 -08:00 |
|
Grant Sanderson
|
763967281f
|
Don't use resize_with_interpolation by default
|
2023-01-19 09:51:19 -08:00 |
|
Grant Sanderson
|
c3cd64f68c
|
Package reflectiveness, gloss and shadow into a single uniform "shading"
|
2023-01-16 19:33:57 -08:00 |
|
Grant Sanderson
|
20222bc7e9
|
Update imports
|
2023-01-16 14:18:49 -08:00 |
|
Grant Sanderson
|
1a15756330
|
Make sure Mobject.become works with bounding_box
|
2023-01-16 13:55:53 -08:00 |
|
Grant Sanderson
|
3b40ccc987
|
In Mobject.append_points, have most data default to the last value
|
2023-01-16 13:29:35 -08:00 |
|
Grant Sanderson
|
ae50748717
|
Default to resizing_preserving_order in set_points
|
2023-01-16 13:28:09 -08:00 |
|
Grant Sanderson
|
c23f020d9a
|
Add Mobject.const_data_keys so that interpolations can be faster
|
2023-01-16 13:27:20 -08:00 |
|