Commit Graph

  • f8cfcfbc64 Fix EventListener typo Grant Sanderson 2023-01-31 09:08:24 -08:00
  • 76ee97adfa Possible fix for a type error #1978 Grant Sanderson 2023-01-31 08:48:57 -08:00
  • e7734ca84c Fix TexturedSurface Grant Sanderson 2023-01-30 20:57:21 -08:00
  • 5ff44f5850 Divide by epsilon prior to normalizing Grant Sanderson 2023-01-30 20:51:04 -08:00
  • a58327657c Provide an epsilon of room to Sphere at poles Grant Sanderson 2023-01-30 20:50:42 -08:00
  • 55da5d5d03 Remove use of dv_points and du_points, pass unit normals to shader instead Grant Sanderson 2023-01-30 20:49:32 -08:00
  • c469c6b009 Prevent NumberPlane from double drawing axes Grant Sanderson 2023-01-30 20:38:23 -08:00
  • 9017df847d Add Camera.blit, and use it when there's a window, but the used fbo is not the window's Grant Sanderson 2023-01-30 20:38:13 -08:00
  • 33116f8af1 Remove stray import Grant Sanderson 2023-01-30 20:37:27 -08:00
  • 0de914fd01 No need for du_points, and dv_points in SurfaceMesh Grant Sanderson 2023-01-30 20:37:15 -08:00
  • e950286fa4 Replace get_gl_Position -> emit_gl_Position Grant Sanderson 2023-01-30 18:43:28 -08:00
  • 5490b3be19 Merge pull request #1977 from 3b1b/video-work Grant Sanderson 2023-01-30 16:27:53 -08:00
  • 215c21babf Small renaming #1977 Grant Sanderson 2023-01-30 15:24:10 -08:00
  • 7e00660e47 Whoops, re-instate pre_render Grant Sanderson 2023-01-30 15:16:08 -08:00
  • daaaba0a67 Use frame_scale uniform instead of frame_shape Grant Sanderson 2023-01-30 15:10:41 -08:00
  • 9628adc957 Ensure scroll zooming works better in 3d Grant Sanderson 2023-01-30 15:03:05 -08:00
  • af69cf9c7d Track field of view instead of focal_dist_to_height Grant Sanderson 2023-01-30 15:02:33 -08:00
  • 71bd3edb09 Fix frame scaling Grant Sanderson 2023-01-30 15:02:04 -08:00
  • 277c471c90 Refactor so that view matrix incorporates frame scaling Grant Sanderson 2023-01-30 14:15:39 -08:00
  • b85c3bd478 Remove stray import Grant Sanderson 2023-01-30 11:57:09 -08:00
  • 285953b44d Add FRAME_SHAPE constant Grant Sanderson 2023-01-30 11:57:01 -08:00
  • 15d8ebb572 Add Mobject.set_shape Grant Sanderson 2023-01-30 11:53:15 -08:00
  • abdcb64461 Fix panning for off-center frame Grant Sanderson 2023-01-28 23:05:52 -08:00
  • e58aea9e2f Change to a default where scrolling zooms, and dragging pans Grant Sanderson 2023-01-28 22:59:54 -08:00
  • 2705ba3afa Fix CameraFrame.to_fixed_frame_point Grant Sanderson 2023-01-28 22:58:05 -08:00
  • 901d40ba11 Fix scroll zooming Grant Sanderson 2023-01-28 22:53:56 -08:00
  • 0d9bb71d3c Increase scroll sensitivity Grant Sanderson 2023-01-28 22:42:33 -08:00
  • 0fe5922253 Clean up scrolling Grant Sanderson 2023-01-28 22:40:57 -08:00
  • 09900456f7 Clean up pixel_coords_to_space_coords to work better in 3d Grant Sanderson 2023-01-28 22:30:46 -08:00
  • 91f69be3e0 Add CameraFrame.to_fixed_frame_point Grant Sanderson 2023-01-28 22:30:00 -08:00
  • da9610b9f9 Remove redundancy Grant Sanderson 2023-01-28 17:54:00 -08:00
  • b3dec3fd51 Small fixes Grant Sanderson 2023-01-28 17:53:49 -08:00
  • 68255b1c9a Remove references to no-longer-need path_string_config Grant Sanderson 2023-01-28 17:53:40 -08:00
  • 28c4921a1a Specify ctx type Grant Sanderson 2023-01-28 15:40:58 -08:00
  • 0d36f17f9c Remove unused line Grant Sanderson 2023-01-28 15:40:10 -08:00
  • c08e111911 Default to applying depth test for non-fixed objects added to a 3d scene Grant Sanderson 2023-01-28 15:02:00 -08:00
  • 368f48f8dd Make use of some glsl built-ins Grant Sanderson 2023-01-28 15:01:32 -08:00
  • 474a6c27e3 Counteract alpha scaling from fill frag Grant Sanderson 2023-01-28 15:00:15 -08:00
  • 31b937a7f1 Remove no-longer necessary PathString configuration Grant Sanderson 2023-01-28 13:19:06 -08:00
  • c6db74c996 Re-order conditional blocks Grant Sanderson 2023-01-28 13:06:23 -08:00
  • fbde9e8bba Check for null orientation in getting euler angles Grant Sanderson 2023-01-28 13:06:08 -08:00
  • 8d72340501 Remove some references to triangulation Grant Sanderson 2023-01-28 12:43:56 -08:00
  • 144e512952 Use active camera config, not default Grant Sanderson 2023-01-28 12:19:49 -08:00
  • dec5089777 Update SurfaceExample to use ThreeDScene Grant Sanderson 2023-01-28 12:04:15 -08:00
  • 5deef1c249 Allow for setting a default frame orientation Grant Sanderson 2023-01-28 12:02:19 -08:00
  • a1449def95 Move SampleSpaceScene to videos repo Grant Sanderson 2023-01-28 11:45:31 -08:00
  • 2a3f927566 Set defaults so that VMobjects will have no antialias width when depth test is turned on Grant Sanderson 2023-01-28 11:39:31 -08:00
  • c7ef4eefbc Add getter/setter for anti_alias_width Grant Sanderson 2023-01-28 11:35:26 -08:00
  • ab03a0cfba Add Mobject.set_uniform Grant Sanderson 2023-01-28 11:35:15 -08:00
  • 05a80f53a7 Make sure depth test calls map to the whole family Grant Sanderson 2023-01-28 10:37:34 -08:00
  • 60a27f52f1 Add depth sampling for fill Grant Sanderson 2023-01-28 10:36:41 -08:00
  • 1a62314719 Add a "clear" option for Mobjects Grant Sanderson 2023-01-28 10:10:51 -08:00
  • 8a18967ea4 Initial implementation of render groups in Scene Grant Sanderson 2023-01-28 10:11:10 -08:00
  • fc379dab18 Add a "clear" option for Mobjects Grant Sanderson 2023-01-28 10:10:51 -08:00
  • f296dd8df5 Merge pull request #1974 from 3b1b/video-work Grant Sanderson 2023-01-27 19:28:40 -08:00
  • 047128a663 Make sure shader_wrapper inherits depth test #1974 Grant Sanderson 2023-01-27 19:27:42 -08:00
  • 38abef8871 Fix ShaderWrapper.init_textures Grant Sanderson 2023-01-27 19:27:23 -08:00
  • 8ecfc2b2cf add shaders to universal imports Grant Sanderson 2023-01-27 17:08:22 -08:00
  • ce5d0b61f9 Add back accidentally deleted reverse_points code Grant Sanderson 2023-01-27 16:57:22 -08:00
  • 71ef39ea5b Remove "poor man's anti-aliasing" for Fill and instead render a small border width for fill Grant Sanderson 2023-01-27 16:15:20 -08:00
  • 3a01eb31bd Remove group_type arg Grant Sanderson 2023-01-27 16:02:47 -08:00
  • d5b1a1725d Allow Mobject.remove to remove any family member, not just immediate submobjects Grant Sanderson 2023-01-27 15:15:16 -08:00
  • 1f6363821b Have VMobject inherit children uniforms when rendering Grant Sanderson 2023-01-27 14:48:57 -08:00
  • 35c19fe8a7 Edit is_fixed_in_frame Grant Sanderson 2023-01-27 14:48:31 -08:00
  • e57ca4e1ee Track orientation for non-winding fill Grant Sanderson 2023-01-27 12:43:21 -08:00
  • 86fb69c5bb Track unit normal for fill Grant Sanderson 2023-01-27 12:35:43 -08:00
  • 1c432dd6dc Small refactor to stroke geom shader Grant Sanderson 2023-01-27 10:48:06 -08:00
  • 3a0916fe3a Reorganize fbo initialization Grant Sanderson 2023-01-27 10:12:53 -08:00
  • 40ae481979 Marginally better vbo/ibo tracking Grant Sanderson 2023-01-27 10:01:37 -08:00
  • 97e4c25453 Add comment Grant Sanderson 2023-01-27 08:29:41 -08:00
  • 1707958e0f Clean up fill shader a bit Grant Sanderson 2023-01-27 08:26:54 -08:00
  • 746b52cda5 Okay, actually fix Arrow Grant Sanderson 2023-01-26 23:51:05 -08:00
  • 86fb1d82f5 Typo fix Grant Sanderson 2023-01-26 23:44:33 -08:00
  • de7545e5fa Tiny tweak to array_is_constant Grant Sanderson 2023-01-26 23:43:34 -08:00
  • b21e470e69 In append_vectorized_mobject, append data as well as points Grant Sanderson 2023-01-26 23:43:21 -08:00
  • 79039bde61 Fix Arrow Grant Sanderson 2023-01-26 23:42:03 -08:00
  • 2863672740 Small clean up Grant Sanderson 2023-01-26 23:05:09 -08:00
  • 422c9cebd2 Only trigger triangulation for non-winding fill Grant Sanderson 2023-01-26 23:05:01 -08:00
  • 6388647860 Change to using glBlendFuncSeparate Grant Sanderson 2023-01-26 22:51:14 -08:00
  • eab8edd51d Remove needless list(...) Grant Sanderson 2023-01-26 22:41:36 -08:00
  • 8f6c14ad5f Increase threshold for discarding fill fragments Grant Sanderson 2023-01-26 22:41:23 -08:00
  • 7a59cc2f03 Use gl.MAX to blend alphas in fill Grant Sanderson 2023-01-26 22:40:29 -08:00
  • 0f89349bb8 Small clean up Grant Sanderson 2023-01-26 21:00:20 -08:00
  • ab57b0acf0 Ensure positive orientation on all SVG, not just PathStrings Grant Sanderson 2023-01-26 21:00:07 -08:00
  • 1bd6a77151 Don't use @stash_mobject_pointers on copy, be more explicit Grant Sanderson 2023-01-26 20:59:36 -08:00
  • bf2a609246 Have animation group collect parts as a VGroup if it can Grant Sanderson 2023-01-26 20:39:05 -08:00
  • e9333a908c Move camera.clear call into 'capture' Grant Sanderson 2023-01-26 20:38:38 -08:00
  • 5803a00598 Use smaller fill_texture, adjusting winding-fill blending hack as is necessary Grant Sanderson 2023-01-26 20:14:22 -08:00
  • 9ee9e1946a Use non-window fbo in scene.get_image Grant Sanderson 2023-01-26 20:02:50 -08:00
  • 3a175c1a4c Note that sorting surface indices affects data Grant Sanderson 2023-01-26 20:02:28 -08:00
  • 258bc2256a Provide a check that shader uniforms really need updating before setting value Grant Sanderson 2023-01-26 20:01:59 -08:00
  • adfef48418 Merge pull request #1973 from 3b1b/video-work Grant Sanderson 2023-01-26 16:54:44 -08:00
  • acdc2654d3 Account for 'target_mobject is None' case #1973 Grant Sanderson 2023-01-26 16:52:25 -08:00
  • 9696827213 Allow for adding null subpath Grant Sanderson 2023-01-26 16:50:22 -08:00
  • 6d4782506a Account for null fill cases in invinisble_copy Grant Sanderson 2023-01-26 16:49:36 -08:00
  • 28c875c2c3 Finish Transforms with a call to Mobject.become Grant Sanderson 2023-01-26 16:49:13 -08:00
  • 164c9ba754 Use copy in set_data Grant Sanderson 2023-01-26 16:46:05 -08:00
  • 8ef71bb930 Don't use 'become' for interpolate at alpha = 0 or 1 Grant Sanderson 2023-01-26 16:43:40 -08:00
  • a8da171adb Make sure a group inherits the fixed_in_frame status of its parts Grant Sanderson 2023-01-26 15:58:56 -08:00
  • 65afed1bd1 Move shading from fill geom to fill frag shader Grant Sanderson 2023-01-26 15:50:27 -08:00