3267 Commits

Author SHA1 Message Date
2208b51f1b Lock triangulation and unit normal by default 2020-06-09 17:59:33 -07:00
5584521fb0 Change default focal distance 2020-06-09 17:59:03 -07:00
7c4874bdad Changed how focal_distance works 2020-06-09 17:12:52 -07:00
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
1f129f4a23 Clean up parametric function 2020-06-09 16:57:44 -07:00
c7a50ac7a5 Tried, but failed, to write a better smooth bezier function 2020-06-09 12:38:37 -07:00
940432e320 Remove unneeded import 2020-06-09 12:34:57 -07:00
ee7218745e Fixed FunctionGraph bug 2020-06-09 12:34:43 -07:00
b91284b4aa Small shader fixes 2020-06-09 12:34:00 -07:00
f0a36329b1 Changed get_quadratic_approximation_of_cubic 2020-06-08 20:40:39 -07:00
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
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
be904774dd Treat joint_type as a uniform 2020-06-08 16:03:08 -07:00
bab809b9a6 Allow for passing shader uniforms from mobjects 2020-06-08 15:57:12 -07:00
39230a805c Better handling of textures, now letting multiple get passed in to a textured surface 2020-06-08 15:06:22 -07:00
596b7c0112 Get rid of unneeded import 2020-06-08 14:09:48 -07:00
97304d9d86 Added multisampling to camera 2020-06-08 14:09:31 -07:00
2d19d76675 Replace all FadeInFrom with simple FadeIn, and likewise for FadeOutFrom -> FadeOut 2020-06-07 12:35:20 -07:00
919f267f7f Create Chessboard and Coin types 2020-06-07 12:26:31 -07:00
7e0566cc12 Honestly, this file should be killed 2020-06-07 12:26:20 -07:00
046caa7632 Bug fixes 2020-06-07 12:24:54 -07:00
4968c7a8a1 Small note 2020-06-07 12:24:31 -07:00
4a3e4df2bd Change cube face order 2020-06-07 12:24:14 -07:00
3a111cf3af Get rid of this color nonsense 2020-06-07 12:23:35 -07:00
58df38f74e Let FadeIn and FadeOut take in directions 2020-06-07 12:23:08 -07:00
a5f16f0c52 Make sure light styling is interpolated properly 2020-06-06 17:01:54 -07:00
ba7a51931d Add shadow, and pull out lighting information to Mobject 2020-06-06 16:55:56 -07:00
b32c2937ae Added SurfaceMesh 2020-06-06 13:23:30 -07:00
017961e892 Changed min_samples 2020-06-06 13:22:48 -07:00
b8a1853692 Change meaning of resolution for surfaces to be the number of posts, not fences 2020-06-06 13:22:23 -07:00
58fe0c79d8 Reconfigured ParametricCurve 2020-06-06 11:43:59 -07:00
7cec2e50d5 Rename: ParametricFunction -> ParametricCurve 2020-06-06 11:03:23 -07:00
7c1f560ae2 Change fallback unit normal to be in negative y-direction 2020-06-06 10:57:07 -07:00
98ac6a06f2 Small cleanup 2020-06-06 10:56:46 -07:00
4385fc75d0 Change TipableVMobject to take in all tip_config at one spot 2020-06-06 10:56:23 -07:00
274ebe7a52 Change stroke shader to effectively project down to a flat plane before drawing, but to remember z information via gl_Position and lighting. 2020-06-06 09:26:18 -07:00
1a5fb207ae Reconfigured how to initialize axes and number planes. Hopefully much more sensible this way 2020-06-05 19:24:35 -07:00
fbe917d461 Add height to DecimalNumber config 2020-06-05 17:57:44 -07:00
5c23e93547 Reconfigure NumberLine, the whole interface felt very weird 2020-06-05 17:57:21 -07:00
cbc5bff1c0 Setup for new project 2020-06-05 16:33:30 -07:00
d89bf9b635 Added SGroups 2020-06-05 13:37:06 -07:00
83b2932e02 A few more surface types 2020-06-05 13:24:26 -07:00
51eb9de9d0 A little cleaning up of 3d axes. More to come 2020-06-05 13:24:14 -07:00
a204e422a5 Get rid of do-nothing self.ctx.multisample line 2020-06-05 13:23:38 -07:00
e5a215cbd6 Have rectangles drawn in ccw order 2020-06-05 13:23:15 -07:00
a3e76334a6 Nix shade_in_3d stuff 2020-06-05 13:22:53 -07:00
b4fb0955a6 Get rid of sheen factor 2020-06-05 13:21:59 -07:00
b2137f2746 Fixed z_to_vector for vectors on z-axis 2020-06-05 13:21:35 -07:00
cacfe67fe1 ParametricSurface replaces the role of SurfaceMobject, and instead of tracking normals infinitesimal nudges are tracked 2020-06-05 11:12:52 -07:00
efe15cf2f0 normalize_along_axis 2020-06-05 11:12:11 -07:00