72 Commits

Author SHA1 Message Date
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
81dde53f5a Get rid of various PMobject types 2020-02-04 15:26:39 -08:00
557bbff36c Added PGroup 2019-09-24 14:40:21 -07:00
42e0cd07ac Added support for changing and interpolating stroke_width on PMobjects 2019-09-19 13:38:46 -07:00
542ddb9afd Make sure set_opacity changes background stroke as well 2019-06-13 09:26:34 -07:00
f4c2c4642a Fix bug with applying function to VectorizedPoint 2019-03-21 17:50:04 -07:00
84a950425c DashedVMobject should handle case when num_dashes=0 2019-03-21 09:42:06 -07:00
453ae95cee Add stroke opacity to VMobject.get_style 2019-03-20 21:28:19 -07:00
ac9c04d3b8 Bugfix for aligning null VMobjects 2019-03-19 22:29:18 -07:00
45fa02b6b9 Have VMobject.set_style return self 2019-03-19 17:29:55 -07:00
fb99ebaeaf Change how family is handled for VMobject.fade 2019-03-16 22:11:48 -07:00
992d364913 fix get_anchors for VMobjects 2019-03-10 11:56:04 -07:00
4fbe67f262 Added general get_arc_length to VMobject 2019-02-15 15:15:07 -08:00
c47329660f Refactored make_smooth and make_jagged 2019-02-15 14:22:01 -08:00