Grant Sanderson
|
87afdac6a4
|
Small clean up
|
2023-01-24 14:09:41 -08:00 |
|
Grant Sanderson
|
4774d2bc3b
|
First pass at a winding-based fill approach
|
2023-01-24 13:29:34 -08:00 |
|
Grant Sanderson
|
f15ac81131
|
Pull out helper functions from shader_wrapper.py
|
2023-01-16 14:18:35 -08:00 |
|
Grant Sanderson
|
f5480d02ff
|
Tidy up ShaderWrapper.read_in
|
2023-01-16 13:26:34 -08:00 |
|
Grant Sanderson
|
3a09acd28c
|
Update type hint for ShaderWrapper.uniforms
|
2023-01-16 11:50:48 -08:00 |
|
Grant Sanderson
|
74b42a6eb5
|
Small renaming
|
2023-01-16 08:59:50 -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
|
702bb2776c
|
Remove (no-longer needed) filename_to_code_map
|
2023-01-14 09:41:32 -08:00 |
|
Grant Sanderson
|
dae51abc17
|
Allow for a clip plane with Surface
|
2023-01-13 21:42:34 -08:00 |
|
Grant Sanderson
|
dddaef0e6c
|
Add lru_cache for get_shader_code_from_file
|
2022-12-29 20:51:11 -08:00 |
|
Grant Sanderson
|
a54a81744d
|
Have ShaderWrapper.combine_with do nothing for empty arg list
|
2022-12-29 12:04:35 -08:00 |
|
Grant Sanderson
|
05f02f5154
|
Fix ShaderWrapper.combine_with
|
2022-12-28 13:38:27 -08:00 |
|
Grant Sanderson
|
e54e04a5ce
|
Add ShaderWrapper.read_in
This will function similarly to combine_with, but without necessarily having to allocate new memory
|
2022-12-27 21:39:20 -08:00 |
|
Grant Sanderson
|
33a92d3ab3
|
Small cleanup in camera.py
|
2022-12-27 14:53:55 -08:00 |
|
Grant Sanderson
|
66f695a1ed
|
Ensure ShaderWrapper.copy copies uniforms which are numpy arrays
|
2022-04-24 13:23:30 -07:00 |
|
Grant Sanderson
|
3ae0a4e81b
|
Add equality for ShaderWrapper
|
2022-04-23 18:51:03 -07:00 |
|
YishiMichael
|
9ef9961d0e
|
Sort imports
|
2022-04-12 19:19:59 +08:00 |
|
TonyCrane
|
91ffdeb2d4
|
chore: add type hints to manimlib.shader_wrapper
|
2022-02-15 14:49:02 +08:00 |
|
Grant Sanderson
|
fda7fff146
|
Allow caching of shader program code
|
2021-01-13 00:10:17 -10:00 |
|
Grant Sanderson
|
fb0de62ef4
|
Slight change to colormap
|
2021-01-10 14:12:15 -08:00 |
|
Grant Sanderson
|
8d14b66583
|
Fix previous commit
|
2021-01-10 08:38:47 -08:00 |
|
Grant Sanderson
|
92b0953081
|
Move around where colormap code lives
|
2021-01-10 08:35:06 -08:00 |
|
Grant Sanderson
|
889acea380
|
Use matplotlib colormaps
|
2021-01-09 22:10:40 -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
|
62bb40a7df
|
Change seek_full_path_from_defaults to find_file, and make it a more general function which will find and download urls if needed. This means for images/textures/etc. one can point online
|
2021-01-06 10:39:34 -08:00 |
|
Grant Sanderson
|
065df65cf1
|
Reorganize how shader files sit in the shaders folder
|
2021-01-05 23:14:16 -08:00 |
|
Grant Sanderson
|
592432611b
|
Remove all configuration from constants.py, and clean up the many files affected by this move
|
2021-01-02 20:47:51 -08:00 |
|
Grant Sanderson
|
f08003fcb2
|
Typo fix for primitive
|
2020-12-04 08:09:02 -08:00 |
|
Grant Sanderson
|
72472c5836
|
Refactor in terms of a ShaderWrapper object
|
2020-07-22 18:21:42 -07:00 |
|