Grant Sanderson
|
739667f8a9
|
Turn on depth test for SurfaceMesh
|
2020-06-15 12:00:37 -07:00 |
|
Grant Sanderson
|
edec91e1e4
|
Unfactor internals of batch_by_property for easier readibility, and slight performnace improvement
|
2020-06-15 12:00:03 -07:00 |
|
Grant Sanderson
|
1e6eef89ec
|
Have shader_info remember its own id
|
2020-06-15 11:59:24 -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 |
|
Grant Sanderson
|
7a152fed1c
|
Some TODO stubs. Honestly, this whole file should probably be deleted
|
2020-06-14 17:42:59 -07:00 |
|
Grant Sanderson
|
00ad9d7f95
|
Cleanup to square and rectangle init
|
2020-06-14 17:42:25 -07:00 |
|
Grant Sanderson
|
222b6d1220
|
Push depth test decision to the mobject level, as opposed to the camera
|
2020-06-14 17:41:47 -07:00 |
|
Grant Sanderson
|
145c6a7e78
|
Remove already commented out alternate pix_fmt
|
2020-06-13 15:22:44 -07:00 |
|
Grant Sanderson
|
f5b4a86801
|
Add get_color function
|
2020-06-13 15:22:11 -07:00 |
|
Grant Sanderson
|
46bcf938ed
|
Stretch to fit should apply to all 3 dimensions
|
2020-06-13 15:21:47 -07:00 |
|
Grant Sanderson
|
81cedfbfda
|
Cleanup to the __init__ functions on a few geometry objects
|
2020-06-13 15:21:19 -07:00 |
|
Grant Sanderson
|
61a3bd8102
|
Small change to make the ctx enable flag a little clearer
|
2020-06-13 15:20:17 -07:00 |
|
Grant Sanderson
|
62e5efe87b
|
SGroups should be considered to have resolution (0, 0)
|
2020-06-10 07:28:06 -07:00 |
|
Grant Sanderson
|
429d63eebf
|
Add special methods for setting angles
|
2020-06-09 21:25:00 -07:00 |
|
Grant Sanderson
|
2317a7d982
|
Torus
|
2020-06-09 21:24:42 -07:00 |
|
Grant Sanderson
|
8a060dfa3f
|
Add axis_normalized option to quaternion_from_angle_axis
|
2020-06-09 20:40:36 -07:00 |
|
Grant Sanderson
|
a4d4ae9b47
|
Don't get rid of null curves each frame, instead do it once for SVG mobjects.
|
2020-06-09 20:39:32 -07:00 |
|
Grant Sanderson
|
cf8790eefa
|
switched to get_triangle_indices
|
2020-06-09 20:13:25 -07:00 |
|
Grant Sanderson
|
2208b51f1b
|
Lock triangulation and unit normal by default
|
2020-06-09 17:59:33 -07:00 |
|
Grant Sanderson
|
5584521fb0
|
Change default focal distance
|
2020-06-09 17:59:03 -07:00 |
|
Grant Sanderson
|
7c4874bdad
|
Changed how focal_distance works
|
2020-06-09 17:12:52 -07:00 |
|
Grant Sanderson
|
3e913b6649
|
Have make_smooth work directly from the quadratic bezier curves, without going via cubics and doubling the size of the points list
|
2020-06-09 16:58:16 -07:00 |
|
Grant Sanderson
|
1f129f4a23
|
Clean up parametric function
|
2020-06-09 16:57:44 -07:00 |
|
Grant Sanderson
|
c7a50ac7a5
|
Tried, but failed, to write a better smooth bezier function
|
2020-06-09 12:38:37 -07:00 |
|
Grant Sanderson
|
940432e320
|
Remove unneeded import
|
2020-06-09 12:34:57 -07:00 |
|
Grant Sanderson
|
ee7218745e
|
Fixed FunctionGraph bug
|
2020-06-09 12:34:43 -07:00 |
|
Grant Sanderson
|
b91284b4aa
|
Small shader fixes
|
2020-06-09 12:34:00 -07:00 |
|
Grant Sanderson
|
f0a36329b1
|
Changed get_quadratic_approximation_of_cubic
|
2020-06-08 20:40:39 -07:00 |
|
Grant Sanderson
|
ccefbc0dea
|
Add is_fixed_in_frame uniform which allows mobjects to not get rotated by the camera
|
2020-06-08 20:27:07 -07:00 |
|
Grant Sanderson
|
5d34cee014
|
Move frame resizing to get_gl_Position so that the screen rotation matrix remains det 1
|
2020-06-08 17:55:41 -07:00 |
|
Grant Sanderson
|
be904774dd
|
Treat joint_type as a uniform
|
2020-06-08 16:03:08 -07:00 |
|
Grant Sanderson
|
bab809b9a6
|
Allow for passing shader uniforms from mobjects
|
2020-06-08 15:57:12 -07:00 |
|
Grant Sanderson
|
39230a805c
|
Better handling of textures, now letting multiple get passed in to a textured surface
|
2020-06-08 15:06:22 -07:00 |
|
Grant Sanderson
|
596b7c0112
|
Get rid of unneeded import
|
2020-06-08 14:09:48 -07:00 |
|
Grant Sanderson
|
97304d9d86
|
Added multisampling to camera
|
2020-06-08 14:09:31 -07:00 |
|
Grant Sanderson
|
2d19d76675
|
Replace all FadeInFrom with simple FadeIn, and likewise for FadeOutFrom -> FadeOut
|
2020-06-07 12:35:20 -07:00 |
|
Grant Sanderson
|
046caa7632
|
Bug fixes
|
2020-06-07 12:24:54 -07:00 |
|
Grant Sanderson
|
4968c7a8a1
|
Small note
|
2020-06-07 12:24:31 -07:00 |
|
Grant Sanderson
|
4a3e4df2bd
|
Change cube face order
|
2020-06-07 12:24:14 -07:00 |
|
Grant Sanderson
|
3a111cf3af
|
Get rid of this color nonsense
|
2020-06-07 12:23:35 -07:00 |
|
Grant Sanderson
|
58df38f74e
|
Let FadeIn and FadeOut take in directions
|
2020-06-07 12:23:08 -07:00 |
|
Grant Sanderson
|
a5f16f0c52
|
Make sure light styling is interpolated properly
|
2020-06-06 17:01:54 -07:00 |
|
Grant Sanderson
|
ba7a51931d
|
Add shadow, and pull out lighting information to Mobject
|
2020-06-06 16:55:56 -07:00 |
|
Grant Sanderson
|
b32c2937ae
|
Added SurfaceMesh
|
2020-06-06 13:23:30 -07:00 |
|
Grant Sanderson
|
017961e892
|
Changed min_samples
|
2020-06-06 13:22:48 -07:00 |
|
Grant Sanderson
|
b8a1853692
|
Change meaning of resolution for surfaces to be the number of posts, not fences
|
2020-06-06 13:22:23 -07:00 |
|
Grant Sanderson
|
58fe0c79d8
|
Reconfigured ParametricCurve
|
2020-06-06 11:43:59 -07:00 |
|
Grant Sanderson
|
7cec2e50d5
|
Rename: ParametricFunction -> ParametricCurve
|
2020-06-06 11:03:23 -07:00 |
|
Grant Sanderson
|
7c1f560ae2
|
Change fallback unit normal to be in negative y-direction
|
2020-06-06 10:57:07 -07:00 |
|
Grant Sanderson
|
98ac6a06f2
|
Small cleanup
|
2020-06-06 10:56:46 -07:00 |
|