Grant Sanderson
|
d60ec48591
|
Track/interpolate uniforms the same way data is
|
2021-01-12 12:15:32 -10:00 |
|
Grant Sanderson
|
ba8fb4a6b7
|
check_data_alignment by default
|
2021-01-12 11:21:57 -10:00 |
|
Grant Sanderson
|
0d238417cb
|
Allow locking data to speed up some animations
|
2021-01-12 11:09:53 -10:00 |
|
Grant Sanderson
|
ddfc3a6567
|
Replace lingering .points references
|
2021-01-12 07:27:32 -10:00 |
|
Grant Sanderson
|
6b29691e0e
|
Allow setting of multiple colors/opacities/stroke_widths
|
2021-01-11 17:52:48 -10:00 |
|
Grant Sanderson
|
6b451dcc22
|
Allow Mobject.get_family(recurse) for common recursive methods
|
2021-01-11 17:03:12 -10:00 |
|
Grant Sanderson
|
4d9498322e
|
Push more color functionality to Mobject
|
2021-01-11 16:37:51 -10:00 |
|
Grant Sanderson
|
96fbac85ad
|
Setup Image/Surface for new data formatting
|
2021-01-11 12:39:14 -10:00 |
|
Grant Sanderson
|
9314dfd933
|
Reframe Mobject, VMobject and SurfaceMobject with a data map
|
2021-01-11 10:57:23 -10:00 |
|
Grant Sanderson
|
b3335c65fb
|
Partial progress
|
2021-01-10 18:51:47 -08:00 |
|
Grant Sanderson
|
fb0de62ef4
|
Slight change to colormap
|
2021-01-10 14:12:15 -08:00 |
|
Grant Sanderson
|
92b0953081
|
Move around where colormap code lives
|
2021-01-10 08:35:06 -08:00 |
|
Grant Sanderson
|
fdcc8d4257
|
Add ability to manipulate a mobjects shader code from python, and in particular to give it a coloring function, e.g. with Mobject.set_color_by_xyz_func
|
2021-01-09 18:52:54 -08:00 |
|
Grant Sanderson
|
a7af5e72c6
|
Added Mobject.get_grid
|
2021-01-09 10:48:45 -08:00 |
|
Grant Sanderson
|
cb87912203
|
Remove import
|
2021-01-08 22:27:15 -08:00 |
|
Grant Sanderson
|
c2b5595fae
|
If replacing a null mobject, just scale by 0
|
2021-01-07 11:49:03 -08:00 |
|
Grant Sanderson
|
065df65cf1
|
Reorganize how shader files sit in the shaders folder
|
2021-01-05 23:14:16 -08:00 |
|
Grant Sanderson
|
5b454a3ff7
|
Remove rotate_in_place and scale_in_place methods, as they had the same functionality as rotate and scale
|
2021-01-05 22:05:15 -08:00 |
|
Grant Sanderson
|
f07bd23235
|
Rename apply_points_function_about_point -> apply_points_function
|
2021-01-05 21:58:43 -08:00 |
|
Grant Sanderson
|
556ffb192f
|
In add_n_more_submobjects, for the benefit of align_submobjects, make it so that new copies are only ghosted out if there is some transparency at play
|
2021-01-05 18:00:34 -08:00 |
|
Grant Sanderson
|
509f3db371
|
Change so that lambda is not given a name
|
2021-01-04 23:09:03 -08:00 |
|
Grant Sanderson
|
8644d71820
|
Improve defaults for Lines/Arrows pointing between two mobjects
|
2021-01-04 17:25:05 -08:00 |
|
Grant Sanderson
|
369a7fc455
|
Change it so that reset points is not necessarily called on mobject initialization
|
2021-01-04 13:25:04 -08:00 |
|
Grant Sanderson
|
e43b8ef4e4
|
Remove prepare_for_animation
|
2021-01-03 17:16:08 -08:00 |
|
Grant Sanderson
|
afebc29440
|
Remove container
|
2021-01-03 12:29:05 -08:00 |
|
Grant Sanderson
|
f11ab03112
|
Remove unnecessary imports
|
2021-01-02 21:31:56 -08:00 |
|
Grant Sanderson
|
ba46164b49
|
Remove image showing methods from mobject
|
2021-01-02 19:02:22 -08:00 |
|
Grant Sanderson
|
b64875fd55
|
Typo fix for primitive
|
2020-12-04 08:12:53 -08:00 |
|
Grant Sanderson
|
f89676d53f
|
Allow arrange_in_grid to specify v_buff and h_buff
|
2020-08-30 16:01:22 -07:00 |
|
Grant Sanderson
|
960e4e13eb
|
Updated arrange_in_grid
|
2020-07-23 11:57:18 -07:00 |
|
Grant Sanderson
|
e7a60c6c85
|
Updated arrange_in_grid
|
2020-07-23 11:56:06 -07:00 |
|
Grant Sanderson
|
72472c5836
|
Refactor in terms of a ShaderWrapper object
|
2020-07-22 18:21:42 -07:00 |
|
Grant Sanderson
|
2671817ae9
|
Refactor away from treating shader_info as a dictionary, and make it a proper type as ShaderWrapper. This also includes some cleanup in hos Camera renders
|
2020-06-29 18:17:18 -07:00 |
|
Grant Sanderson
|
cd371dc207
|
Add Mobject.has_updaters which is distinct from Mobject.suspend_updating
|
2020-06-29 11:23:01 -07:00 |
|
Grant Sanderson
|
2b3bd2bfce
|
Use an index buffer for shaders to save memory
|
2020-06-29 11:05:09 -07:00 |
|
Grant Sanderson
|
8af879236e
|
Make gloss and shadow uniforms
|
2020-06-28 12:13:25 -07:00 |
|
Grant Sanderson
|
13bcd723cf
|
Adds a small todo
|
2020-06-28 10:05:00 -07:00 |
|
Grant Sanderson
|
10c6bfe3ad
|
Add refresh_shader_info_id insetead of having create_shader_info_id called all the time
|
2020-06-27 00:01:45 -07:00 |
|
Grant Sanderson
|
60e1c88eb4
|
Slight tweaks to how shader_info id is found and stored
|
2020-06-26 23:05:25 -07:00 |
|
Grant Sanderson
|
661b81ab17
|
By default, don't recursively check for updaters unless there's something to find
|
2020-06-26 22:16:04 -07:00 |
|
Grant Sanderson
|
212cdbb4d2
|
Speed improvements. Camera saves vbo for static mobjects, data in shader_data_info is saved and concatenated in raw form
|
2020-06-26 19:29:34 -07:00 |
|
Grant Sanderson
|
0a89a775a2
|
Clean up some family matters
|
2020-06-17 17:12:48 -07:00 |
|
Grant Sanderson
|
c45fe52a70
|
Rather than calling get_shader_info a bunch, remember a tempalte
|
2020-06-15 12:01:54 -07:00 |
|
Grant Sanderson
|
9d772496dd
|
Removes the need to be able to recover shader_info from shader_id
|
2020-06-14 19:01:04 -07:00 |
|
Grant Sanderson
|
222b6d1220
|
Push depth test decision to the mobject level, as opposed to the camera
|
2020-06-14 17:41:47 -07:00 |
|
Grant Sanderson
|
46bcf938ed
|
Stretch to fit should apply to all 3 dimensions
|
2020-06-13 15:21:47 -07:00 |
|
Grant Sanderson
|
940432e320
|
Remove unneeded import
|
2020-06-09 12:34:57 -07:00 |
|
Grant Sanderson
|
ccefbc0dea
|
Add is_fixed_in_frame uniform which allows mobjects to not get rotated by the camera
|
2020-06-08 20:27:07 -07:00 |
|
Grant Sanderson
|
bab809b9a6
|
Allow for passing shader uniforms from mobjects
|
2020-06-08 15:57:12 -07:00 |
|
Grant Sanderson
|
39230a805c
|
Better handling of textures, now letting multiple get passed in to a textured surface
|
2020-06-08 15:06:22 -07:00 |
|