Commit graph

2728 commits

Author SHA1 Message Date
Grant Sanderson
8c1e5f3b42 Change use_clip_plane to be a function 2023-01-25 10:31:05 -08:00
Grant Sanderson
3339aad29e Separate CameraFrame into its own file 2023-01-25 10:19:44 -08:00
Grant Sanderson
a9a3ca08cd
Merge pull request #1972 from 3b1b/winding-fill
Winding fill
2023-01-25 10:01:31 -08:00
Grant Sanderson
bc5c78de83 Add winding fill to VMobject args 2023-01-25 09:56:07 -08:00
Grant Sanderson
0ea91f22b2
Merge pull request #1971 from 3b1b/video-work
Video work
2023-01-25 09:54:55 -08:00
Grant Sanderson
7deaf4cb11 Small clean up 2023-01-25 09:51:27 -08:00
Grant Sanderson
93dd9f687b Ensure align_family works well with VMobject fill 2023-01-25 09:50:16 -08:00
Grant Sanderson
4cb9c9c2fc Remove unnecessary normalize 2023-01-25 08:18:10 -08:00
Grant Sanderson
6cf8c8d2e8 Do refresh in pointwise_become_partial 2023-01-24 21:47:12 -08:00
Grant Sanderson
272925fa19 Change winding fill blend_func 2023-01-24 21:46:52 -08:00
Grant Sanderson
0e2d21bed3 Don't necessarily use VGroup with FadeTransform 2023-01-24 21:46:34 -08:00
Grant Sanderson
346d252451 Don't save triangulation, but do orient svg paths positively 2023-01-24 21:33:00 -08:00
Grant Sanderson
088a2f65a3 Misc. clean up 2023-01-24 21:10:57 -08:00
Grant Sanderson
307487e087 Don't pre-normalize joint_products 2023-01-24 21:10:26 -08:00
Grant Sanderson
98eccab977 Ensure background rectangle matches orientation 2023-01-24 20:03:33 -08:00
Grant Sanderson
f0df5c759d Make winding fill optional, and make winding additive rather than toggling 2023-01-24 20:03:23 -08:00
Grant Sanderson
e9c70dbfd9 Ensure vert_indices are always of type int 2023-01-24 16:58:47 -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
516fe9155e Small tweaks 2023-01-24 15:29:35 -08:00
Grant Sanderson
b93e284695 In aligning families, scale inserted submobjects to 0 2023-01-24 15:29:09 -08:00
Grant Sanderson
88ed1a2fdb Have init_fill_fbo take in ctx as an argument 2023-01-24 15:28:09 -08:00
Grant Sanderson
945aa9713f Fix aligned subpaths bug 2023-01-24 15:02:06 -08:00
Grant Sanderson
aa6c321a0a Change InteractiveScene dot config 2023-01-24 14:25:02 -08:00
Grant Sanderson
87afdac6a4 Small clean up 2023-01-24 14:09:41 -08:00
Grant Sanderson
6e56c31d67 Use gl_InstanceID instead of hacking triangle_strip 2023-01-24 13:49:43 -08:00
Grant Sanderson
4774d2bc3b First pass at a winding-based fill approach 2023-01-24 13:29:34 -08:00
Grant Sanderson
d01658bc5b Fix multi-color setting 2023-01-24 13:04:13 -08:00
Grant Sanderson
97789fff35 Swap buffers when resetting to default position 2023-01-24 12:05:39 -08:00
Grant Sanderson
b1f0270316 Change threshold for bevel reduction 2023-01-24 12:05:25 -08:00
Grant Sanderson
b99b88fd25 Update Scene.get_image to resize window if needed 2023-01-24 12:05:08 -08:00
Grant Sanderson
1dda706335 Small cleanup 2023-01-24 12:04:43 -08:00
Grant Sanderson
8a6deb4068 Enable recording during a Scene embed 2023-01-23 17:10:18 -08:00
Grant Sanderson
e2421a650c Don't disable clip plane 2023-01-23 17:06:49 -08:00
Grant Sanderson
b0cca9e4b6 Camera pixel_shape should reflect the drawn fbo 2023-01-23 17:04:44 -08:00
Grant Sanderson
c13495deeb Blit based on window's viewport, when in preview mode 2023-01-23 17:03:46 -08:00
Grant Sanderson
03080a10a7 Small style tweaks 2023-01-23 15:05:10 -08:00
Grant Sanderson
8d729eef5a Rename perspective to view_matrix 2023-01-23 14:41:17 -08:00
Grant Sanderson
e8b75941e0 Get rid of pixel_width and pixel_height attrs on Camera 2023-01-23 14:02:06 -08:00
Grant Sanderson
1d4fcf020b Refer directly to fbo viewports in get_raw_fbo_data 2023-01-23 11:54:01 -08:00
Grant Sanderson
8ce5dc7e84 Add DieFace to drawings.py 2023-01-23 11:53:30 -08:00
Benjamin Bastian
b934ee5f50
Make isinstance check work for python 3.7-3.9 (#1969) 2023-01-23 11:36:51 +08:00
Grant Sanderson
847c27ad23 Remove stray import 2023-01-22 09:45:50 -08:00
Grant Sanderson
8b786311af Rename set_ctx_clip_distance -> set_ctx_clip_plane 2023-01-22 09:45:41 -08:00
Grant Sanderson
39cda62b66 Remove texture_id == 15 hack 2023-01-22 09:07:26 -08:00
Grant Sanderson
24864a3d61 Small tweak 2023-01-21 11:13:22 -08:00
Grant Sanderson
9e02796c9a Fix set_width for variable stroke width 2023-01-20 21:38:48 -08:00
Grant Sanderson
8e1fdd5a79 Change crosshair style 2023-01-20 21:38:36 -08:00
Grant Sanderson
0d66981ac7 Fix issue with variable stroke width 2023-01-20 21:38:28 -08:00
Grant Sanderson
2e2e8dfee2 Fix the fact that Write messes up joint_products 2023-01-20 20:33:47 -08:00
Grant Sanderson
917481cb23 Always refresh in pointwise_become_partial 2023-01-20 20:33:23 -08:00