Commit graph

109 commits

Author SHA1 Message Date
Grant Sanderson
7785a06441 Move where refreshing shader uniforms happens 2020-03-06 06:16:09 -08:00
Grant Sanderson
60b1e284f3 Don't embed when writing to file with no preview 2020-02-23 22:59:29 +00:00
Grant Sanderson
7b198545bb Get rid of old methods 2020-02-22 13:20:22 -08:00
Grant Sanderson
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
Grant Sanderson
ad1caca45e Remove get_moving_mobjects 2020-02-19 23:26:54 -08:00
Grant Sanderson
51167e19fe Rename and move around lock_static_mobject_data 2020-02-19 23:21:41 -08:00
Grant Sanderson
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
Grant Sanderson
9f3551f43b Change how play/wait timing works with the window 2020-02-18 22:30:43 -08:00
Grant Sanderson
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
Grant Sanderson
dc8eb317dd Improving embed 2020-02-14 16:26:49 -08:00
Grant Sanderson
8402b9ea53 Add mouse points, embed, and move mobject updating to update_frame 2020-02-14 15:30:44 -08:00
Grant Sanderson
b73ebb9cf5 Go back to scene recomputing mobject families on each frame, and fix a bug with skipping 2020-02-14 11:55:07 -08:00
Grant Sanderson
cfbcd9faa8 Remove distinction between moving mobjects and static mobjects...computations to figure this out may now outweigh the actual render times they save 2020-02-13 15:42:53 -08:00
Grant Sanderson
183bae0825 Move window operations to Scene 2020-02-13 10:42:07 -08:00
Grant Sanderson
960e918e61 Basic preview window 2020-02-11 19:51:19 -08:00
Grant Sanderson
0fe05ce07d Starting to chase scene to account for a shader-based camera 2020-02-04 15:28:50 -08:00
Grant Sanderson
40c8b7db76 Removed the option for displaying to excluse submobjects 2020-01-16 11:04:11 -08:00
Grant Sanderson
1609be6d49 Created and moved extract_mobject_family_members and restructure_list_to_exclude_certain_family_members functions 2020-01-15 18:30:58 -08:00
Grant Sanderson
1917349c4a Removed foreground mobjects 2020-01-15 18:01:28 -08:00
Grant Sanderson
f54b2ac81a Don't add sound while skipping animations 2019-09-10 13:26:30 -07:00
xy-23
519f82f1e7 Fix tqdm display problem in windows 2019-07-26 16:45:52 +08:00
Grant Sanderson
14a9316643 Make sure skipped wait calls use a longer dt 2019-04-16 12:50:56 -07:00
Grant Sanderson
982d437267 Use get_family_updaters to test if a mobject should be drawn during every frame of an animation 2019-04-04 14:29:52 -07:00
Grant Sanderson
ecb9184e1a Small addition for clarity 2019-03-19 17:31:03 -07:00
Grant Sanderson
b2c7e83843 Removed ContinualAnimation, reimplemented some of its occurances in the old_projects, added warnings for the rest 2019-02-16 12:46:54 -08:00
Grant Sanderson
e1deb770c8 Remove all support of ContinualAnimations from Scene 2019-02-16 12:08:16 -08:00
Grant Sanderson
e09fa811e5 Some preliminary changes to get rid of ContinualAnimation dependencies 2019-02-15 20:05:16 -08:00
Grant Sanderson
1aaef5aba9 Change where Animation.begin is invoked 2019-02-11 20:53:20 -08:00
Grant Sanderson
a2d99741f3 Remove kwargs from begin_animations 2019-02-08 15:26:30 -08:00
Grant Sanderson
a1cead1570 Factored out parts of Scene.play 2019-02-08 12:51:21 -08:00
Grant Sanderson
ec638de1ec Fixed Animation to work for updating mobjects 2019-02-08 12:32:24 -08:00
Grant Sanderson
1c4ff6a556 update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation 2019-02-08 11:57:27 -08:00
Grant Sanderson
bf3d9c9b5a clean_up -> clean_up_from_scene 2019-02-08 11:00:04 -08:00
Grant Sanderson
6e0596d0dc Call continual_update at the start of a wait call, even if there are no time-dependent mobjects 2019-02-03 12:13:24 -08:00
Grant Sanderson
4a5b611aff Nix setup_bases 2019-01-30 11:20:17 -08:00
Grant Sanderson
7a5c419297 Changed what the gain argument of Scene.play means to instead actually apply gain to the passed in sound, not the background 2019-01-29 23:52:56 -08:00
Grant Sanderson
a409fd6fe5 Suspend mobject updating during animations 2019-01-29 14:40:44 -08:00
Grant Sanderson
eb355fc7a1 Added gain to Scene.add_sound 2019-01-28 10:22:08 -08:00
Grant Sanderson
900e6ac837 Use frame_rate, instead of frame_duration, and make that part of the camera rather than the scene 2019-01-25 10:13:17 -08:00
Grant Sanderson
e5e1fa908b Finished SceneFileWriter refactor 2019-01-24 22:24:01 -08:00
Grant Sanderson
8ae0556394 First pass at SceneFileWriter refactor 2019-01-24 21:47:40 -08:00
Grant Sanderson
561e2c7a21 Changed how partial movie directory is found 2019-01-24 13:44:19 -08:00
Grant Sanderson
748ca4e0f1 Fixed compile from file list issue 2019-01-18 14:15:07 -08:00
Grant Sanderson
4d899b6c97 Leave in partial movie files 2019-01-18 09:11:41 -08:00
Grant Sanderson
bfce8b47cd
Merge branch 'master' into master 2019-01-18 09:06:22 -08:00
Grant Sanderson
7e0f30614a Added rudimentary sound abilities to scene 2019-01-16 11:10:43 -08:00
Grant Sanderson
633050c02a Added Scene.wait_until and changed time_progression defaults 2019-01-15 12:19:09 -08:00
Grant Sanderson
f3178edff0 Added stop_condition to Scene.wait 2019-01-14 13:26:58 -08:00
pdcxs
27f1dfe75b Replace backslash to slash only on windows platform 2019-01-14 10:45:36 +08:00
pdcxs
ac87738701 Only change backslash on windows 2019-01-14 10:38:54 +08:00