85 Commits

Author SHA1 Message Date
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
ba7a51931d Add shadow, and pull out lighting information to Mobject 2020-06-06 16:55:56 -07:00
b8a1853692 Change meaning of resolution for surfaces to be the number of posts, not fences 2020-06-06 13:22:23 -07:00
d89bf9b635 Added SGroups 2020-06-05 13:37:06 -07:00
83b2932e02 A few more surface types 2020-06-05 13:24:26 -07:00
a3e76334a6 Nix shade_in_3d stuff 2020-06-05 13:22:53 -07:00
b4fb0955a6 Get rid of sheen factor 2020-06-05 13:21:59 -07:00
cacfe67fe1 ParametricSurface replaces the role of SurfaceMobject, and instead of tracking normals infinitesimal nudges are tracked 2020-06-05 11:12:52 -07:00
2b931dc7a2 Improvements to surfaces, with textured surfaces available 2020-06-04 17:17:38 -07:00
4c33b99d39 Very rudimentary 3dSurface type 2020-06-04 15:41:20 -07:00
e4419204cb Got stroke shaders working in 3d 2020-06-04 11:29:36 -07:00
23bbdc63ba Fix up fill shaders to work when being viewed from different orientations, along with several other little bugs 2020-06-03 17:10:33 -07:00
38cc0a7174 Added glossiness to VMobjects 2020-06-02 16:18:44 -07:00
00dcc14df1 Fixed the random-dimples-on-zeros bug while fixing up the fill shaders 2020-05-31 17:02:05 -07:00
593c249bbd Tiny comment 2020-05-30 16:49:27 -07:00
7c0bf2c015 Add args to VMobject.flip 2020-03-27 12:04:16 -07:00
627f122b3f Remove VMobject.set_fill defaulting 2020-03-13 14:05:34 -07:00
f83cfc42b1 Fix set_fill 2020-03-06 06:16:28 -08:00
3cc9bf7052 Bug fix to refresh_triangulation 2020-02-27 17:17:10 +00:00
8485ff8c76 Have vmob.set_opacity default to opacity 1 if it's not specified 2020-02-23 22:59:11 +00:00
11a4d7696e Change implementation of pointwise_become_partial not to change the number of points 2020-02-22 13:19:26 -08:00
2ca0726cd7 Add self.shader_data_is_locked condition to get_shader_info_list 2020-02-21 12:01:17 -08:00
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
8d3ec1afd0 Don't worry about aligning points of vmobjects with same number of points 2020-02-20 16:49:36 -08:00
306344e9c1 Add possibility for add_line to add more points...makes for better svg alignment 2020-02-20 15:52:57 -08:00
c88bcc1a3c Get rid of get_point_mobject 2020-02-20 10:03:47 -08:00
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
e9504b7010 A few small cleanups 2020-02-18 22:31:18 -08:00
9d4b16d03f Moved around where batching mobjects by shader type occurs, while also pulling out some of the shader_id helper functions 2020-02-17 12:14:40 -08:00
6fe68dbc7a Record locked traingulation even on vmobs without points 2020-02-14 17:00:17 -08:00
aa06a3c111 Make it so that changing stroke, when there is background stroke, won't default it back to foreground 2020-02-14 16:27:23 -08:00
9186fa5551 Have vectorized point inherit from point 2020-02-14 15:30:04 -08:00
49d84fccde Fixed edge case in inserting n curves for null curves 2020-02-14 10:54:46 -08:00
0912043248 get_shader_data_array -> get_blank_shader_data_array 2020-02-13 15:51:16 -08:00
5df2d3db33 Have mobjects keep track of a consistent shader data array to avoid unneeded numpy initializing 2020-02-13 15:41:57 -08:00
c654ca4506 Remove usage of np.append 2020-02-13 12:03:54 -08:00
c780a7471b Default SVG paths and dots to have locked triangulation 2020-02-13 11:56:39 -08:00
65828e0e36 Have mobjects pass texture data to camera, and change pixel_shape to come from the fbo viewport 2020-02-13 10:40:21 -08:00
e5d8f83dbf Implemented ImageMobject with shaders 2020-02-13 10:39:26 -08:00
4b827adfee Rewrite insert_n_curves_to_point_list to be faster and more even. And honestly much less confusing 2020-02-12 11:49:51 -08:00
9835813679 Rename generate_points to init_points 2020-02-11 19:55:00 -08:00
3634cb712d Fix triangulation 2020-02-10 14:48:28 -08:00
8c07fcca24 Various add_smooth_curve_to functions 2020-02-06 10:02:13 -08:00
f8d293493f Change VMobject to operate with quadratic bezier curves 2020-02-05 14:46:04 -08:00
63e5f343a3 Begin setting up Camera to work with shaders, not yet done 2020-02-04 15:27:21 -08:00