Commit graph

5392 commits

Author SHA1 Message Date
Grant Sanderson
f5480d02ff Tidy up ShaderWrapper.read_in 2023-01-16 13:26:34 -08:00
Grant Sanderson
3f8c861973 Rename draw_stroke_behind_fill -> stroke_behind 2023-01-16 11:53:07 -08:00
Grant Sanderson
3a09acd28c Update type hint for ShaderWrapper.uniforms 2023-01-16 11:50:48 -08:00
Grant Sanderson
bdcfbc39ec Cleanup VMobject shader wrapper methods
Deleting those which are no longer needed
2023-01-16 11:50:31 -08:00
Grant Sanderson
74b42a6eb5 Small renaming 2023-01-16 08:59:50 -08:00
Grant Sanderson
5a95bfa70f Delete align_stroke_width_data_to_points 2023-01-15 21:28:19 -08:00
Grant Sanderson
eba86be35b Use resize_preserving_order in aligning VMobjects 2023-01-15 21:23:56 -08:00
Grant Sanderson
2ca8848007 Merge branch 'master' of github.com:3b1b/manim into data-arrays 2023-01-15 21:08:55 -08:00
Grant Sanderson
afbc624ac4
Merge pull request #1964 from 3b1b/video-work
Fix index buffer bug
2023-01-15 21:08:25 -08:00
Grant Sanderson
77a3984683 Fix index buffer bug 2023-01-15 21:06:55 -08:00
Grant Sanderson
29f51a7c6a Check if joint_angles are in locked_data_keys before computing 2023-01-15 20:31:27 -08:00
Grant Sanderson
ba9f61b50b Have ShaderWrapper read in data rather than other shader wrappers 2023-01-15 20:27:19 -08:00
Grant Sanderson
f63331eb24 Use Mobject.data in place of shader_data, remove read_data_into_shader 2023-01-15 20:01:37 -08:00
Grant Sanderson
6f9f83fb1b Unify shader_dtype and data_dtype 2023-01-15 19:09:29 -08:00
Grant Sanderson
3f2fd5b142 Update calculation of path ends to not include adjacent pairs 2023-01-15 18:27:08 -08:00
Grant Sanderson
90ac1fc0bf Rename 'points' -> 'point' 2023-01-15 18:23:41 -08:00
Grant Sanderson
3ba5237f9b Account for edge case with end of loop near end 2023-01-15 18:10:38 -08:00
Grant Sanderson
408890e0d9 Update TexturedSurface for using a data array 2023-01-15 18:02:16 -08:00
Grant Sanderson
9704f063c9 Use pointlike_data_keys for interpolation and rotation 2023-01-15 18:01:37 -08:00
Grant Sanderson
d267c00761 Update Surface to have a data array 2023-01-15 17:40:46 -08:00
Grant Sanderson
ca5e119425 Use _data_defaults for DotCloud radius 2023-01-15 17:40:22 -08:00
Grant Sanderson
7e45558c55 Allow Mobject subclasses to specify which parts of data should act like points 2023-01-15 17:40:05 -08:00
Grant Sanderson
e55434925e Fix get_style for null point case 2023-01-15 16:50:00 -08:00
Grant Sanderson
d868f685dc Account for case of setting stroke width with null array 2023-01-15 16:49:48 -08:00
Grant Sanderson
e37b667c8b Modify Mobject.interpolate 2023-01-15 16:49:24 -08:00
Grant Sanderson
2dafcb3e63 Remove check_data_alignment 2023-01-15 16:48:13 -08:00
Grant Sanderson
801f449ca0 Fix lock_matching_data 2023-01-15 16:46:27 -08:00
Grant Sanderson
f4c50f61b8 Change rgbas -> rgba 2023-01-15 16:46:03 -08:00
Grant Sanderson
2815f60616 First pass at changing data to structure numpy array
This doesn't yet tackle Surface
2023-01-15 16:05:18 -08:00
Grant Sanderson
286b8fb6c3 Set the stage for data to be treated as a structure numpy array 2023-01-15 12:34:59 -08:00
Grant Sanderson
f2e91ef66f Use uniform for ValueTracker value instead of data 2023-01-15 12:34:28 -08:00
Grant Sanderson
da15eb4ad2 Remove a few direct references to data["points"] 2023-01-15 10:00:05 -08:00
Grant Sanderson
ea943de557 Store font size in uniforms not data 2023-01-15 09:50:52 -08:00
Grant Sanderson
8e1b23ee98
Merge pull request #1955 from IcedMonk/yearUpdate
update the year
2023-01-15 09:39:56 -08:00
Grant Sanderson
de38b56d0d
Merge pull request #1959 from 3b1b/video-work
Simplify quadratic bezier shaders
2023-01-15 09:39:16 -08:00
Grant Sanderson
51a5086093 Don't default to smoothing for implicit curves 2023-01-15 09:26:56 -08:00
Grant Sanderson
bf726667a8 Don't make TexAndNumbersExample an InteractiveScene by default 2023-01-15 09:26:17 -08:00
Grant Sanderson
4582f5d331 Clean up sort_faces_back_to_front 2023-01-14 16:03:27 -08:00
Grant Sanderson
5b8fb1828f Use ibo for single use render groups 2023-01-14 16:03:16 -08:00
Grant Sanderson
702bb2776c Remove (no-longer needed) filename_to_code_map 2023-01-14 09:41:32 -08:00
Grant Sanderson
c9ba32b568 No need to call tobytes 2023-01-14 08:31:53 -08:00
Grant Sanderson
19a7721661 Fix unit normal issue with bezier fill 2023-01-14 08:00:21 -08:00
Grant Sanderson
c8238f6b39 Consolidate lighting uniforms 2023-01-14 07:57:47 -08:00
Grant Sanderson
d19b244ee1 Move uniform pixel_shape declaration outside of get_gl_Position 2023-01-13 22:11:13 -08:00
Grant Sanderson
a004c88e02 Consolidate functions associated with computing gl_Position 2023-01-13 22:07:28 -08:00
Grant Sanderson
fa81d9f6ea Move comment 2023-01-13 21:43:01 -08:00
Grant Sanderson
3555936c4d Check for valid inputs to arccos 2023-01-13 21:42:54 -08:00
Grant Sanderson
dae51abc17 Allow for a clip plane with Surface 2023-01-13 21:42:34 -08:00
Grant Sanderson
1c1325ff8d More coloring work of Surface to vert shader 2023-01-13 21:04:36 -08:00
Grant Sanderson
28d5baeeff Small stylistic tweaks 2023-01-13 21:04:15 -08:00