5637 Commits

Author SHA1 Message Date
a58327657c Provide an epsilon of room to Sphere at poles 2023-01-30 20:50:42 -08:00
55da5d5d03 Remove use of dv_points and du_points, pass unit normals to shader instead 2023-01-30 20:49:32 -08:00
c469c6b009 Prevent NumberPlane from double drawing axes 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 2023-01-30 20:38:13 -08:00
33116f8af1 Remove stray import 2023-01-30 20:37:27 -08:00
0de914fd01 No need for du_points, and dv_points in SurfaceMesh 2023-01-30 20:37:15 -08:00
e950286fa4 Replace get_gl_Position -> emit_gl_Position 2023-01-30 18:43:28 -08:00
215c21babf Small renaming 2023-01-30 15:24:10 -08:00
7e00660e47 Whoops, re-instate pre_render 2023-01-30 15:16:08 -08:00
daaaba0a67 Use frame_scale uniform instead of frame_shape 2023-01-30 15:10:41 -08:00
9628adc957 Ensure scroll zooming works better in 3d 2023-01-30 15:03:05 -08:00
af69cf9c7d Track field of view instead of focal_dist_to_height 2023-01-30 15:02:33 -08:00
71bd3edb09 Fix frame scaling 2023-01-30 15:02:04 -08:00
277c471c90 Refactor so that view matrix incorporates frame scaling 2023-01-30 14:15:39 -08:00
b85c3bd478 Remove stray import 2023-01-30 11:57:09 -08:00
285953b44d Add FRAME_SHAPE constant 2023-01-30 11:57:01 -08:00
15d8ebb572 Add Mobject.set_shape 2023-01-30 11:53:15 -08:00
abdcb64461 Fix panning for off-center frame 2023-01-28 23:05:52 -08:00
e58aea9e2f Change to a default where scrolling zooms, and dragging pans 2023-01-28 22:59:54 -08:00
2705ba3afa Fix CameraFrame.to_fixed_frame_point 2023-01-28 22:58:05 -08:00
901d40ba11 Fix scroll zooming 2023-01-28 22:53:56 -08:00
0d9bb71d3c Increase scroll sensitivity 2023-01-28 22:42:33 -08:00
0fe5922253 Clean up scrolling 2023-01-28 22:40:57 -08:00
09900456f7 Clean up pixel_coords_to_space_coords to work better in 3d 2023-01-28 22:30:46 -08:00
91f69be3e0 Add CameraFrame.to_fixed_frame_point 2023-01-28 22:30:00 -08:00
da9610b9f9 Remove redundancy 2023-01-28 17:54:00 -08:00
b3dec3fd51 Small fixes 2023-01-28 17:53:49 -08:00
68255b1c9a Remove references to no-longer-need path_string_config 2023-01-28 17:53:40 -08:00
28c4921a1a Specify ctx type 2023-01-28 15:40:58 -08:00
0d36f17f9c Remove unused line 2023-01-28 15:40:10 -08:00
c08e111911 Default to applying depth test for non-fixed objects added to a 3d scene 2023-01-28 15:02:00 -08:00
368f48f8dd Make use of some glsl built-ins 2023-01-28 15:01:32 -08:00
474a6c27e3 Counteract alpha scaling from fill frag 2023-01-28 15:00:15 -08:00
31b937a7f1 Remove no-longer necessary PathString configuration 2023-01-28 13:19:06 -08:00
c6db74c996 Re-order conditional blocks 2023-01-28 13:06:23 -08:00
fbde9e8bba Check for null orientation in getting euler angles 2023-01-28 13:06:08 -08:00
8d72340501 Remove some references to triangulation 2023-01-28 12:43:56 -08:00
144e512952 Use active camera config, not default 2023-01-28 12:19:49 -08:00
dec5089777 Update SurfaceExample to use ThreeDScene 2023-01-28 12:04:15 -08:00
5deef1c249 Allow for setting a default frame orientation 2023-01-28 12:02:19 -08:00
a1449def95 Move SampleSpaceScene to videos repo 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 2023-01-28 11:39:31 -08:00
c7ef4eefbc Add getter/setter for anti_alias_width 2023-01-28 11:35:26 -08:00
ab03a0cfba Add Mobject.set_uniform 2023-01-28 11:35:15 -08:00
05a80f53a7 Make sure depth test calls map to the whole family 2023-01-28 10:37:34 -08:00
60a27f52f1 Add depth sampling for fill 2023-01-28 10:36:41 -08:00
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
f296dd8df5 Merge pull request #1974 from 3b1b/video-work
Miscellaneous bug fixes
2023-01-27 19:28:40 -08:00
047128a663 Make sure shader_wrapper inherits depth test 2023-01-27 19:27:42 -08:00
38abef8871 Fix ShaderWrapper.init_textures 2023-01-27 19:27:23 -08:00