Commit Graph

  • 14cda7e908 Don't show progress bar in embed by default Grant Sanderson 2023-01-26 15:28:10 -08:00
  • 37f0bf8c11 Fix winding fill blending Grant Sanderson 2023-01-26 15:27:48 -08:00
  • 3f5df432ce Consider winding_fill alphas pre-multiplied Grant Sanderson 2023-01-26 12:17:21 -08:00
  • a33b24310e Fix non-winding-fill orientation Grant Sanderson 2023-01-26 12:15:30 -08:00
  • c6c23a1fe7 Unnecessary refresh_bounding_box Grant Sanderson 2023-01-26 12:06:13 -08:00
  • f5cb2bfa52 Check for mismatched keys in uniform interpolation Grant Sanderson 2023-01-26 12:06:05 -08:00
  • 05dd399270 Ensure svgs have positive orientation by default Grant Sanderson 2023-01-26 12:04:58 -08:00
  • 72590a8fef Note that using winding fill changes data Grant Sanderson 2023-01-26 12:04:34 -08:00
  • a1595a9e2f Use separate fbo for writing to file when window is active Grant Sanderson 2023-01-25 22:34:11 -08:00
  • a68bc1271b Have FillShaders all share the same texture used for intermediary rendering Grant Sanderson 2023-01-25 19:43:16 -08:00
  • cb36fda6d7 In interpolate, only update data status if some keys are unlocked Grant Sanderson 2023-01-25 19:24:19 -08:00
  • 88590e5a05 Remove serializing deepcopy Grant Sanderson 2023-01-25 19:23:55 -08:00
  • a601384211 Remove stray imports Grant Sanderson 2023-01-25 19:23:22 -08:00
  • f96a697ee3 Use become for interpolating at 0 or 1 Grant Sanderson 2023-01-25 19:21:24 -08:00
  • 3c8e3792e7 Remove references to refresh_static_mobjects Grant Sanderson 2023-01-25 19:20:11 -08:00
  • 2beb55727f Change naming logic for recorded inserts Grant Sanderson 2023-01-25 17:30:12 -08:00
  • 7609b1db78 Set up by-hand anti-aliasing for FillShaderWrapper Grant Sanderson 2023-01-25 17:19:44 -08:00
  • 018b07212f Change how joint_products are updated in pointwise_become_partial Grant Sanderson 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 Grant Sanderson 2023-01-25 16:43:47 -08:00
  • 4dfabc1c28 Make sure FillShaderWrapper works without a window Grant Sanderson 2023-01-25 14:20:36 -08:00
  • 424707d035 Move rendering more fully away from Camera to Mobject and ShaderWrapper Grant Sanderson 2023-01-25 14:13:56 -08:00
  • 2c737ed540 Move most of rendering logic to ShaderWrapper Grant Sanderson 2023-01-25 13:45:18 -08:00
  • c94d8fd3b0 Move Texture handling and vao creation outside of Camera Grant Sanderson 2023-01-25 12:10:39 -08:00
  • 3299741359 Move program code to ShaderWrapper, away from Camera Grant Sanderson 2023-01-25 11:23:31 -08:00
  • 10047773f7 Have ShaderWrapper track OpenGL context Grant Sanderson 2023-01-25 10:49:30 -08:00
  • 16d773f1b3 Remove refresh_shader_data Grant Sanderson 2023-01-25 10:48:59 -08:00
  • 80729c0cb8 Only initialize ShaderWrappers as needed Grant Sanderson 2023-01-25 10:37:12 -08:00
  • 8c1e5f3b42 Change use_clip_plane to be a function Grant Sanderson 2023-01-25 10:31:05 -08:00
  • 3339aad29e Separate CameraFrame into its own file Grant Sanderson 2023-01-25 10:19:44 -08:00
  • a9a3ca08cd Merge pull request #1972 from 3b1b/winding-fill Grant Sanderson 2023-01-25 10:01:31 -08:00
  • bc5c78de83 Add winding fill to VMobject args #1972 Grant Sanderson 2023-01-25 09:56:07 -08:00
  • 0ea91f22b2 Merge pull request #1971 from 3b1b/video-work Grant Sanderson 2023-01-25 09:54:55 -08:00
  • 7deaf4cb11 Small clean up Grant Sanderson 2023-01-25 09:51:27 -08:00
  • 93dd9f687b Ensure align_family works well with VMobject fill Grant Sanderson 2023-01-25 09:50:16 -08:00
  • 4cb9c9c2fc Remove unnecessary normalize Grant Sanderson 2023-01-25 08:18:10 -08:00
  • 6cf8c8d2e8 Do refresh in pointwise_become_partial Grant Sanderson 2023-01-24 21:47:12 -08:00
  • 272925fa19 Change winding fill blend_func Grant Sanderson 2023-01-24 21:46:52 -08:00
  • 0e2d21bed3 Don't necessarily use VGroup with FadeTransform Grant Sanderson 2023-01-24 21:46:34 -08:00
  • 346d252451 Don't save triangulation, but do orient svg paths positively Grant Sanderson 2023-01-24 21:33:00 -08:00
  • 088a2f65a3 Misc. clean up Grant Sanderson 2023-01-24 21:10:57 -08:00
  • 307487e087 Don't pre-normalize joint_products Grant Sanderson 2023-01-24 21:10:26 -08:00
  • 98eccab977 Ensure background rectangle matches orientation Grant Sanderson 2023-01-24 20:03:33 -08:00
  • f0df5c759d Make winding fill optional, and make winding additive rather than toggling Grant Sanderson 2023-01-24 20:03:23 -08:00
  • e9c70dbfd9 Ensure vert_indices are always of type int Grant Sanderson 2023-01-24 16:58:47 -08:00
  • 72da9786a3 Use null array for vert indices in place of None Grant Sanderson 2023-01-24 15:53:43 -08:00
  • 516fe9155e Small tweaks Grant Sanderson 2023-01-24 15:29:35 -08:00
  • b93e284695 In aligning families, scale inserted submobjects to 0 Grant Sanderson 2023-01-24 15:29:09 -08:00
  • 88ed1a2fdb Have init_fill_fbo take in ctx as an argument Grant Sanderson 2023-01-24 15:28:09 -08:00
  • 945aa9713f Fix aligned subpaths bug Grant Sanderson 2023-01-24 15:02:06 -08:00
  • aa6c321a0a Change InteractiveScene dot config #1971 Grant Sanderson 2023-01-24 14:25:02 -08:00
  • 87afdac6a4 Small clean up Grant Sanderson 2023-01-24 14:09:41 -08:00
  • 6e56c31d67 Use gl_InstanceID instead of hacking triangle_strip Grant Sanderson 2023-01-24 13:49:43 -08:00
  • 4774d2bc3b First pass at a winding-based fill approach Grant Sanderson 2023-01-24 13:29:34 -08:00
  • d01658bc5b Fix multi-color setting Grant Sanderson 2023-01-24 13:04:13 -08:00
  • 97789fff35 Swap buffers when resetting to default position Grant Sanderson 2023-01-24 12:05:39 -08:00
  • b1f0270316 Change threshold for bevel reduction Grant Sanderson 2023-01-24 12:05:25 -08:00
  • b99b88fd25 Update Scene.get_image to resize window if needed Grant Sanderson 2023-01-24 12:05:08 -08:00
  • 1dda706335 Small cleanup Grant Sanderson 2023-01-24 12:04:43 -08:00
  • 8a6deb4068 Enable recording during a Scene embed Grant Sanderson 2023-01-23 17:10:18 -08:00
  • e2421a650c Don't disable clip plane Grant Sanderson 2023-01-23 17:06:49 -08:00
  • b0cca9e4b6 Camera pixel_shape should reflect the drawn fbo Grant Sanderson 2023-01-23 17:04:44 -08:00
  • c13495deeb Blit based on window's viewport, when in preview mode Grant Sanderson 2023-01-23 17:03:46 -08:00
  • 03080a10a7 Small style tweaks Grant Sanderson 2023-01-23 15:05:10 -08:00
  • 8d729eef5a Rename perspective to view_matrix Grant Sanderson 2023-01-23 14:41:17 -08:00
  • e8b75941e0 Get rid of pixel_width and pixel_height attrs on Camera Grant Sanderson 2023-01-23 14:02:06 -08:00
  • 1d4fcf020b Refer directly to fbo viewports in get_raw_fbo_data Grant Sanderson 2023-01-23 11:54:01 -08:00
  • 8ce5dc7e84 Add DieFace to drawings.py Grant Sanderson 2023-01-23 11:53:30 -08:00
  • b934ee5f50 Make isinstance check work for python 3.7-3.9 (#1969) Benjamin Bastian 2023-01-22 19:36:51 -08:00
  • ba1b43df1a Merge pull request #1967 from 3b1b/video-work Grant Sanderson 2023-01-22 09:48:50 -08:00
  • 847c27ad23 Remove stray import #1967 Grant Sanderson 2023-01-22 09:45:50 -08:00
  • 8b786311af Rename set_ctx_clip_distance -> set_ctx_clip_plane Grant Sanderson 2023-01-22 09:45:41 -08:00
  • 39cda62b66 Remove texture_id == 15 hack Grant Sanderson 2023-01-22 09:07:26 -08:00
  • 24864a3d61 Small tweak Grant Sanderson 2023-01-21 11:13:22 -08:00
  • 9e02796c9a Fix set_width for variable stroke width Grant Sanderson 2023-01-20 21:38:48 -08:00
  • 8e1fdd5a79 Change crosshair style Grant Sanderson 2023-01-20 21:38:36 -08:00
  • 0d66981ac7 Fix issue with variable stroke width Grant Sanderson 2023-01-20 21:38:28 -08:00
  • 2e2e8dfee2 Fix the fact that Write messes up joint_products Grant Sanderson 2023-01-20 20:33:47 -08:00
  • 917481cb23 Always refresh in pointwise_become_partial Grant Sanderson 2023-01-20 20:33:23 -08:00
  • 8fee4d1a66 Fix straight line fill anti-alias issue Grant Sanderson 2023-01-20 17:35:36 -08:00
  • f2d4313bcf Update SurfaceExample to specify samples at scene level Grant Sanderson 2023-01-20 17:05:59 -08:00
  • d08a16a5fb Make Camera.fbo the entity rendered to, with a separate fbo for emitted frames Grant Sanderson 2023-01-20 16:31:09 -08:00
  • 66d12a1687 Specify number of samples at the scene level, and be sure it works for Window as well Grant Sanderson 2023-01-20 16:30:39 -08:00
  • 9249433144 Don't pass uv_func from SGroup Grant Sanderson 2023-01-20 16:26:06 -08:00
  • 23b4e3e03b Use cubic formula in stroke frag for large stroke width case Grant Sanderson 2023-01-20 13:22:18 -08:00
  • 6c262f63b1 Reduce is_linear threshold Grant Sanderson 2023-01-20 10:10:39 -08:00
  • b7ea24f9ea Tweak stroke frag Grant Sanderson 2023-01-20 10:09:58 -08:00
  • 7df6efb55f Handle edge case of false endpoints in make_smooth Grant Sanderson 2023-01-20 10:08:12 -08:00
  • fe7dc3c459 Tiny cleanup Grant Sanderson 2023-01-20 10:07:28 -08:00
  • 2290f810ca Small tweaks to number_to_point Grant Sanderson 2023-01-19 20:25:29 -08:00
  • debc68a3b4 Just moving some lines around Grant Sanderson 2023-01-19 20:24:59 -08:00
  • 909e515a2f Only compute xyz-to-uv matrix in non-linear case Grant Sanderson 2023-01-19 20:24:32 -08:00
  • 1c2ec03f7d Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) Grant Sanderson 2023-01-19 11:34:13 -08:00
  • 6839de9a31 Remove rotate.glsl Grant Sanderson 2023-01-19 10:52:53 -08:00
  • c873d073e2 Factor out rotation matrix Grant Sanderson 2023-01-19 10:47:21 -08:00
  • 1eae7c06ba Add conditions for resize_with_interpolation Grant Sanderson 2023-01-19 09:56:40 -08:00
  • dbeef42600 In VMobject.set_stroke, Don't use resize_with_interpolation for non-list args Grant Sanderson 2023-01-19 09:56:26 -08:00
  • 93f3c6535f Have DecimalMobject save pre-generated characters Grant Sanderson 2023-01-19 09:55:56 -08:00
  • 763967281f Don't use resize_with_interpolation by default Grant Sanderson 2023-01-19 09:51:19 -08:00
  • 1367e31439 Fix bug with polygon start angle = 0 Grant Sanderson 2023-01-19 09:50:41 -08:00
  • e6abff4299 Speed up bind_graph_to_func Grant Sanderson 2023-01-19 09:50:24 -08:00