c94d8fd3b0
Move Texture handling and vao creation outside of Camera
2023-01-25 12:10:39 -08:00
3299741359
Move program code to ShaderWrapper, away from Camera
2023-01-25 11:23:31 -08:00
10047773f7
Have ShaderWrapper track OpenGL context
2023-01-25 10:49:30 -08:00
8c1e5f3b42
Change use_clip_plane to be a function
2023-01-25 10:31:05 -08:00
3339aad29e
Separate CameraFrame into its own file
2023-01-25 10:19:44 -08:00
7deaf4cb11
Small clean up
2023-01-25 09:51:27 -08:00
272925fa19
Change winding fill blend_func
2023-01-24 21:46:52 -08:00
088a2f65a3
Misc. clean up
2023-01-24 21:10:57 -08:00
f0df5c759d
Make winding fill optional, and make winding additive rather than toggling
2023-01-24 20:03:23 -08:00
72da9786a3
Use null array for vert indices in place of None
2023-01-24 15:53:43 -08:00
88ed1a2fdb
Have init_fill_fbo take in ctx as an argument
2023-01-24 15:28:09 -08:00
87afdac6a4
Small clean up
2023-01-24 14:09:41 -08:00
6e56c31d67
Use gl_InstanceID instead of hacking triangle_strip
2023-01-24 13:49:43 -08:00
4774d2bc3b
First pass at a winding-based fill approach
2023-01-24 13:29:34 -08:00
1dda706335
Small cleanup
2023-01-24 12:04:43 -08:00
8a6deb4068
Enable recording during a Scene embed
2023-01-23 17:10:18 -08:00
e2421a650c
Don't disable clip plane
2023-01-23 17:06:49 -08:00
b0cca9e4b6
Camera pixel_shape should reflect the drawn fbo
2023-01-23 17:04:44 -08:00
c13495deeb
Blit based on window's viewport, when in preview mode
2023-01-23 17:03:46 -08:00
8d729eef5a
Rename perspective to view_matrix
2023-01-23 14:41:17 -08:00
e8b75941e0
Get rid of pixel_width and pixel_height attrs on Camera
2023-01-23 14:02:06 -08:00
1d4fcf020b
Refer directly to fbo viewports in get_raw_fbo_data
2023-01-23 11:54:01 -08:00
8b786311af
Rename set_ctx_clip_distance -> set_ctx_clip_plane
2023-01-22 09:45:41 -08:00
39cda62b66
Remove texture_id == 15 hack
2023-01-22 09:07:26 -08:00
d08a16a5fb
Make Camera.fbo the entity rendered to, with a separate fbo for emitted frames
2023-01-20 16:31:09 -08:00
8e2cf04b71
Simplify true_dot shaders
2023-01-18 15:36:00 -08:00
cd3c5031fa
Fix get_perspective_transform to shift before rotation
2023-01-18 13:59:50 -08:00
6c2544098b
Store pixel_size instead of pixel_shape
2023-01-18 13:50:09 -08:00
b667d89e9b
Simplify get_gl_Position
2023-01-18 13:44:41 -08:00
1f613953d6
Don't pre-rotate light source
2023-01-16 19:34:20 -08:00
77a3984683
Fix index buffer bug
2023-01-15 21:06:55 -08:00
5b8fb1828f
Use ibo for single use render groups
2023-01-14 16:03:16 -08:00
c9ba32b568
No need to call tobytes
2023-01-14 08:31:53 -08:00
dae51abc17
Allow for a clip plane with Surface
2023-01-13 21:42:34 -08:00
9464f83d18
Track indices for fill shader, but prevent ibo usage at the Camera level
2023-01-12 15:56:44 -08:00
8e3378f798
Orient Camera.get_pixel_array correctly
2022-12-29 20:17:54 -08:00
8fc243e398
Make anti_alias_width a Mobject uniform, rather than a camera attribute
2022-12-28 18:52:05 -08:00
33a92d3ab3
Small cleanup in camera.py
2022-12-27 14:53:55 -08:00
934a73ddb8
Remove stray import
2022-12-27 14:29:13 -08:00
97f28b34f3
Distinguish Vect3 from Vect3Array types
2022-12-17 13:16:48 -08:00
dec11a4b17
Rename np_vector type to Vect3 or Vect4 to make context clearer
2022-12-16 20:35:26 -08:00
43fd5e1aea
Move custom type to manimlib.typing
2022-12-16 20:19:18 -08:00
afab37c2d2
Remove stray digest_config references
2022-12-16 11:00:59 -08:00
2f8fe689d9
Kill CONFIG in camera.py
2022-12-14 16:41:19 -08:00
1b1ba606ed
Remove unnecessary blend_func definition (which just sets it to the default value)
2022-05-29 16:36:46 -07:00
6decb0c32a
Rename frame_rate -> fps
2022-05-14 17:47:31 -07:00
d24b8ff48f
Merge branch 'master' into master
2022-04-20 22:40:11 -07:00
50565fcd7a
Change the way changing-vs-static mobjects are tracked
...
Previously, Camera would keep track of which mobjects are supposed to be "static", so that it could generated their render groups once and not repeat unnecessarily. This had an awkward dependence where Scene would then need to keep track of which mobjects should and should not be considered static.
This update pushes that logic to the Mobject level, where it keeps track internally of whether it's being animated, has an updater, or can be moved around by the mouse.
2022-04-14 16:27:58 -07:00
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
df2d465140
Add specific euler angle getters
2022-03-30 13:14:09 -07:00