Grant Sanderson
|
0610f331a4
|
Add get/set field_of_view for camera frame
|
2022-03-29 20:20:41 -07:00 |
|
Grant Sanderson
|
a0ba9c8b30
|
Fix CameraFrame.get_euler_angles to match conventions with set_euler_angles
|
2022-03-29 19:21:12 -07:00 |
|
Grant Sanderson
|
b7a3201fb3
|
Reorder imports
|
2022-03-22 11:31:52 -07:00 |
|
Grant Sanderson
|
a9349057ad
|
Merge branch 'master' of github.com:3b1b/manim into video-work
|
2022-03-22 11:30:25 -07:00 |
|
Grant Sanderson
|
1872b0516b
|
Normalize rotation axis
|
2022-03-18 17:10:16 -07:00 |
|
Grant Sanderson
|
625460467f
|
Refactor CameraFrame to use scipy.spatial.transform.Rotation
|
2022-03-18 16:06:15 -07:00 |
|
Grant Sanderson
|
fa38b56fd8
|
Bug fix in cases where empty array is passed to shader
|
2022-03-16 12:23:11 -07:00 |
|
TonyCrane
|
4fbe948b63
|
style: insert an empty line after import
|
2022-02-16 21:08:25 +08:00 |
|
TonyCrane
|
66caf0c1ad
|
chore: only import some classes when type checking
|
2022-02-14 21:34:56 +08:00 |
|
TonyCrane
|
be5de32d70
|
chore: add type hints to manimlib.scene
|
2022-02-14 21:22:18 +08:00 |
|
TonyCrane
|
1064e2bb30
|
chore: add type hints to manimlib.camera
|
2022-02-13 19:32:53 +08:00 |
|
Grant Sanderson
|
25045143a1
|
Have mobject uniforms supercede camera uniforms
|
2021-11-17 12:49:08 -08:00 |
|
Grant Sanderson
|
e899604a2d
|
Add getter methods for specific euler angles
|
2021-11-17 12:48:17 -08:00 |
|
Grant Sanderson
|
4339f97c56
|
Small refactor and added functionality
|
2021-11-08 21:46:35 -08:00 |
|
Grant Sanderson
|
82fa6ab125
|
Temporary hack to fix a bug I don't understand
|
2021-10-24 09:28:39 -07:00 |
|
widcardw
|
872ef67cf7
|
Fix bug of rotating camera
|
2021-10-18 21:00:25 +08:00 |
|
widcardw
|
305ca72ebe
|
Fix the bug of rotating camera
|
2021-10-18 19:05:05 +08:00 |
|
Grant Sanderson
|
e10a752c00
|
Allow releasing of Textures
|
2021-10-15 08:52:37 -07:00 |
|
Grant Sanderson
|
d5a88d0fa4
|
Pass tuples and not arrays to uniforms
|
2021-08-26 11:44:24 -07:00 |
|
Grant Sanderson
|
c635f19f2a
|
Push pixel_coords_to_space_coords to Window
|
2021-08-24 11:26:43 -07:00 |
|
Grant Sanderson
|
be78f5257a
|
Ensure images used for textures are RGBA
|
2021-06-15 21:45:13 -07:00 |
|
Grant Sanderson
|
322f138490
|
Add CameraFrame.reorient for quicker changes to frame angle
|
2021-03-31 23:27:12 -07:00 |
|
Tony031218
|
cbe016391b
|
delete old entry point file and add __init__ for folders
|
2021-02-07 17:48:51 +08:00 |
|
Grant Sanderson
|
5a2a363a87
|
Some cleanup for interactive mobjects
|
2021-01-28 12:26:05 -08:00 |
|
Grant Sanderson
|
78ac18496d
|
Fix CameraFrame interpolation
|
2021-01-18 16:44:04 -08:00 |
|
Grant Sanderson
|
59af903f14
|
Reorganize the interaction between CameraFrame and shader perspective transforms, along with some keyboard interactions for panning
|
2021-01-18 16:39:29 -08:00 |
|
Grant Sanderson
|
d37de184d2
|
Set gamma properly
|
2021-01-15 09:27:51 -10:00 |
|
Grant Sanderson
|
7c8162a6f7
|
Delete deprecated camera classes
|
2021-01-12 12:26:08 -10:00 |
|
Grant Sanderson
|
b3335c65fb
|
Partial progress
|
2021-01-10 18:51:47 -08:00 |
|
Grant Sanderson
|
81e359d22e
|
Tie focal distance to camera fram height
|
2021-01-09 10:25:59 -08:00 |
|
Grant Sanderson
|
f47f848236
|
Change default focal distance as positioning function changes
|
2021-01-08 22:28:13 -08:00 |
|
Grant Sanderson
|
b13b94938a
|
Remove no-longer-needed hack for pixel_coords_to_space_coords
|
2021-01-06 12:46:46 -08:00 |
|
Grant Sanderson
|
148afc29aa
|
Change default number of samples for 3d camera
|
2021-01-03 12:04:05 -08:00 |
|
Grant Sanderson
|
d1c6b80622
|
Tiny change
|
2021-01-02 23:02:02 -08:00 |
|
Grant Sanderson
|
32b76bf448
|
Small move to DEFAULT_PIXEL_HEIGHT, etc. In theory these values shouldn't matter anymore, but it's nice to have some default there for the definition of Camera
|
2021-01-02 22:38:07 -08:00 |
|
Grant Sanderson
|
b64875fd55
|
Typo fix for primitive
|
2020-12-04 08:12:53 -08:00 |
|
Grant Sanderson
|
da972edfca
|
Change when camera shift happens
|
2020-11-24 13:31:21 -08:00 |
|
Grant Sanderson
|
61424dbfec
|
Factor out get_render_group_list
|
2020-06-29 18:25:56 -07:00 |
|
Grant Sanderson
|
2671817ae9
|
Refactor away from treating shader_info as a dictionary, and make it a proper type as ShaderWrapper. This also includes some cleanup in hos Camera renders
|
2020-06-29 18:17:18 -07:00 |
|
Grant Sanderson
|
2b3bd2bfce
|
Use an index buffer for shaders to save memory
|
2020-06-29 11:05:09 -07:00 |
|
Grant Sanderson
|
279f66ceaf
|
A little refactoring and performance improvement
|
2020-06-28 12:14:46 -07:00 |
|
Grant Sanderson
|
41fd6d4f4b
|
Simply reorders where some methods are defined
|
2020-06-28 10:05:27 -07:00 |
|
Grant Sanderson
|
6a735e49b8
|
Refresh rotation matrix after interpolation
|
2020-06-27 12:17:53 -07:00 |
|
Grant Sanderson
|
90db32ee55
|
Have camera_frame remember rotation matrix by default
|
2020-06-27 12:10:51 -07:00 |
|
Grant Sanderson
|
6ba1eae8f6
|
Use ctx.vertex_array instead of ctx.simple_vertex_array
|
2020-06-27 00:00:50 -07:00 |
|
Grant Sanderson
|
60e1c88eb4
|
Slight tweaks to how shader_info id is found and stored
|
2020-06-26 23:05:25 -07:00 |
|
Grant Sanderson
|
212cdbb4d2
|
Speed improvements. Camera saves vbo for static mobjects, data in shader_data_info is saved and concatenated in raw form
|
2020-06-26 19:29:34 -07:00 |
|
Grant Sanderson
|
bb66a7c977
|
Releases moderngl buffers after use
|
2020-06-18 16:25:26 -07:00 |
|
Grant Sanderson
|
6a458547c3
|
Bug fix
|
2020-06-15 12:01:05 -07:00 |
|
Grant Sanderson
|
9d772496dd
|
Removes the need to be able to recover shader_info from shader_id
|
2020-06-14 19:01:04 -07:00 |
|