|
9314dfd933
|
Reframe Mobject, VMobject and SurfaceMobject with a data map
|
2021-01-11 10:57:23 -10:00 |
|
|
b3335c65fb
|
Partial progress
|
2021-01-10 18:51:47 -08:00 |
|
|
bf73938fd1
|
Move joint type map to constants
|
2021-01-10 14:10:31 -08:00 |
|
|
9a1e103a7f
|
Introduce flat_stroke uniform
|
2021-01-08 22:26:47 -08:00 |
|
|
065df65cf1
|
Reorganize how shader files sit in the shaders folder
|
2021-01-05 23:14:16 -08:00 |
|
|
dde085094f
|
Refresh triangulation after general functions
|
2021-01-05 22:00:52 -08:00 |
|
|
349a9c9cea
|
Add VMobject.get_opacity
|
2021-01-05 18:00:55 -08:00 |
|
|
131794e53c
|
Change DotCloud initialization
|
2021-01-04 14:55:42 -08:00 |
|
|
a4ea4791e7
|
Added DotCloud type
|
2021-01-04 13:26:58 -08:00 |
|
|
31e6aa2ae0
|
Use super()
|
2021-01-04 13:25:42 -08:00 |
|
|
156ea11537
|
Fix the but for transforming between VMobjects with different triangulations. Turns out this is all that's needed
|
2021-01-03 17:17:20 -08:00 |
|
|
23f7bce427
|
Bug fix to add_smooth_curve_to
|
2021-01-01 20:12:34 -08:00 |
|
|
b64875fd55
|
Typo fix for primitive
|
2020-12-04 08:12:53 -08:00 |
|
|
2dac041006
|
Change default smoothing algorithm
|
2020-08-20 17:16:15 -07:00 |
|
|
537a2c74aa
|
Return self on unlock_triangulation
|
2020-08-16 09:46:33 -07:00 |
|
|
dd6e99ab2e
|
Make it possible to set a prefered direction for ShowCreation on surfaces
|
2020-08-16 09:46:08 -07:00 |
|
|
ae590e7fde
|
Add point_to_rgb
|
2020-08-12 13:23:21 -07:00 |
|
|
72472c5836
|
Refactor in terms of a ShaderWrapper object
|
2020-07-22 18:21:42 -07:00 |
|
|
5ee4b94ec3
|
Not great, but adding an alternate implementation of make_smooth in as a comment just because it's unclear what's best right now
|
2020-07-22 18:18:29 -07:00 |
|
|
46b52a1bbc
|
Small fix to VMobject.pointwise_become_partial for cases when points array sizes dont' match
|
2020-06-29 22:53:23 -07:00 |
|
|
5e7913fdd4
|
Implemented pointwise_become_partial for parametric surfaces
|
2020-06-29 22:52:27 -07:00 |
|
|
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 |
|
|
2b3bd2bfce
|
Use an index buffer for shaders to save memory
|
2020-06-29 11:05:09 -07:00 |
|
|
8af879236e
|
Make gloss and shadow uniforms
|
2020-06-28 12:13:25 -07:00 |
|
|
14cac5ce71
|
Make stroke width array a float
|
2020-06-28 10:04:40 -07:00 |
|
|
54bde86c7b
|
Some small performance improvements to VMobject
|
2020-06-27 12:10:22 -07:00 |
|
|
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 |
|
|
60e1c88eb4
|
Slight tweaks to how shader_info id is found and stored
|
2020-06-26 23:05:25 -07:00 |
|
|
9795beba89
|
Removes locked_shader_data notion
|
2020-06-26 21:52:50 -07:00 |
|
|
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 |
|
|
21bf3c3e3a
|
VMobject was not correctly incorporating background stroke on init
|
2020-06-26 15:31:24 -07:00 |
|
|
eee4054da8
|
Cleaup how colors are updated
|
2020-06-17 17:11:57 -07:00 |
|
|
b16b107f3e
|
Add depth test update when fill and stroke shader info are created
|
2020-06-17 17:11:31 -07:00 |
|
|
e6f73073fe
|
Remember triangle indices, rather than recomputing each frame
|
2020-06-15 12:02:24 -07:00 |
|
|
c45fe52a70
|
Rather than calling get_shader_info a bunch, remember a tempalte
|
2020-06-15 12:01:54 -07:00 |
|
|
9d772496dd
|
Removes the need to be able to recover shader_info from shader_id
|
2020-06-14 19:01:04 -07:00 |
|
|
222b6d1220
|
Push depth test decision to the mobject level, as opposed to the camera
|
2020-06-14 17:41:47 -07:00 |
|
|
f5b4a86801
|
Add get_color function
|
2020-06-13 15:22:11 -07:00 |
|
|
62e5efe87b
|
SGroups should be considered to have resolution (0, 0)
|
2020-06-10 07:28:06 -07:00 |
|
|
a4d4ae9b47
|
Don't get rid of null curves each frame, instead do it once for SVG mobjects.
|
2020-06-09 20:39:32 -07:00 |
|
|
cf8790eefa
|
switched to get_triangle_indices
|
2020-06-09 20:13:25 -07:00 |
|
|
2208b51f1b
|
Lock triangulation and unit normal by default
|
2020-06-09 17:59:33 -07:00 |
|
|
3e913b6649
|
Have make_smooth work directly from the quadratic bezier curves, without going via cubics and doubling the size of the points list
|
2020-06-09 16:58:16 -07:00 |
|
|
c7a50ac7a5
|
Tried, but failed, to write a better smooth bezier function
|
2020-06-09 12:38:37 -07:00 |
|
|
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 |
|
|
be904774dd
|
Treat joint_type as a uniform
|
2020-06-08 16:03:08 -07:00 |
|
|
bab809b9a6
|
Allow for passing shader uniforms from mobjects
|
2020-06-08 15:57:12 -07:00 |
|
|
39230a805c
|
Better handling of textures, now letting multiple get passed in to a textured surface
|
2020-06-08 15:06:22 -07:00 |
|
|
2d19d76675
|
Replace all FadeInFrom with simple FadeIn, and likewise for FadeOutFrom -> FadeOut
|
2020-06-07 12:35:20 -07:00 |
|
|
046caa7632
|
Bug fixes
|
2020-06-07 12:24:54 -07:00 |
|