353 Commits

Author SHA1 Message Date
dfa96c2047 Update copy_frame_positioning 2024-02-03 18:49:04 -06:00
0609c1bfa8 Change default saturation and gamma to each be 1 2023-06-10 09:25:03 -07:00
162fd4a92b Change defaults for where videos are saved
Save them directly to the relevant output directory, rather than to a "videos" subdirectory within it.
2023-06-10 09:24:50 -07:00
cb02066f22 Add always_depth_test option to ThreeDScene, default to true 2023-06-10 09:23:19 -07:00
557cb66c52 Fix transparent background videos 2023-02-15 09:38:35 -08:00
3e3e4de5e9 Add option for gamma correction to SceneFileWriter 2023-02-08 20:09:33 -08:00
ded06c1f88 Give SceneFileWriter an option for saturation, and set default to 1.7
The colors in a scene can look a little different in a preview window vs. in the rendered file written by ffmpeg. This is mean to bring them closer together.
2023-02-08 19:41:07 -08:00
c918e84784 Change default progress bar format 2023-02-03 18:10:29 -08:00
b8fe7b0172 Note that restoring state affects the mobject list 2023-02-03 17:28:00 -08:00
a54d1eddfc Set default pixel format to yuv420p 2023-02-03 12:48:56 -08:00
e1bb360e0b Add CLI args for setting video codec and pixel forma 2023-02-03 12:46:01 -08:00
12dc124d72 Revert to simple progress_description_len default 2023-02-03 11:46:03 -08:00
b25f022859 Make it an option (default to false) to prerun a scene to calculate its number of frames 2023-02-03 11:06:07 -08:00
7f940fbee4 Change how ShaderWrapper uniforms are handled 2023-02-02 17:45:52 -08:00
e5eed7c36a Batch render groups by Mobject type 2023-02-02 13:28:06 -08:00
eeadbe4542 Small reshuffling 2023-02-01 22:52:02 -08:00
8adf2a6e07 Partition render groups based on shader type, fixed_in_frame status, depth_test and whether the mobject is changing 2023-02-01 20:39:16 -08:00
6eafdc63cc Merge branch 'video-work' into render-groups 2023-02-01 20:17:01 -08:00
f83c441210 Make it so that copying a mobject will copy its name, if applicable 2023-02-01 13:35:46 -08:00
f293ccdff4 Add copy_frame_anim_call 2023-02-01 13:35:10 -08:00
979589a156 Change clicking behavior in InteractiveScene 2023-02-01 13:02:34 -08:00
57deab6617 Fix ControlsExample 2023-01-31 09:08:38 -08:00
33116f8af1 Remove stray import 2023-01-30 20:37:27 -08:00
9628adc957 Ensure scroll zooming works better in 3d 2023-01-30 15:03:05 -08:00
71bd3edb09 Fix frame scaling 2023-01-30 15:02:04 -08:00
277c471c90 Refactor so that view matrix incorporates frame scaling 2023-01-30 14:15:39 -08:00
abdcb64461 Fix panning for off-center frame 2023-01-28 23:05:52 -08:00
e58aea9e2f Change to a default where scrolling zooms, and dragging pans 2023-01-28 22:59:54 -08:00
901d40ba11 Fix scroll zooming 2023-01-28 22:53:56 -08:00
0d9bb71d3c Increase scroll sensitivity 2023-01-28 22:42:33 -08:00
0fe5922253 Clean up scrolling 2023-01-28 22:40:57 -08:00
09900456f7 Clean up pixel_coords_to_space_coords to work better in 3d 2023-01-28 22:30:46 -08:00
c08e111911 Default to applying depth test for non-fixed objects added to a 3d scene 2023-01-28 15:02:00 -08:00
5deef1c249 Allow for setting a default frame orientation 2023-01-28 12:02:19 -08:00
a1449def95 Move SampleSpaceScene to videos repo 2023-01-28 11:45:31 -08:00
8a18967ea4 Initial implementation of render groups in Scene 2023-01-28 10:11:10 -08:00
e9333a908c Move camera.clear call into 'capture' 2023-01-26 20:38:38 -08:00
9ee9e1946a Use non-window fbo in scene.get_image 2023-01-26 20:02:50 -08:00
14cda7e908 Don't show progress bar in embed by default 2023-01-26 15:28:10 -08:00
a1595a9e2f Use separate fbo for writing to file when window is active 2023-01-25 22:34:11 -08:00
3c8e3792e7 Remove references to refresh_static_mobjects 2023-01-25 19:20:11 -08:00
2beb55727f Change naming logic for recorded inserts 2023-01-25 17:30:12 -08:00
d2af6a5f4b Keep track of when Mobject data has changed, and used that to determine when ShaderWrapper generates new buffers 2023-01-25 16:43:47 -08:00
424707d035 Move rendering more fully away from Camera to Mobject and ShaderWrapper 2023-01-25 14:13:56 -08:00
aa6c321a0a Change InteractiveScene dot config 2023-01-24 14:25:02 -08:00
b99b88fd25 Update Scene.get_image to resize window if needed 2023-01-24 12:05:08 -08:00
8a6deb4068 Enable recording during a Scene embed 2023-01-23 17:10:18 -08:00
c13495deeb Blit based on window's viewport, when in preview mode 2023-01-23 17:03:46 -08:00
e8b75941e0 Get rid of pixel_width and pixel_height attrs on Camera 2023-01-23 14:02:06 -08:00
24864a3d61 Small tweak 2023-01-21 11:13:22 -08:00