Commit graph

23 commits

Author SHA1 Message Date
Grant Sanderson
b3bbc31ea9 Small clean up to stroke shaders 2024-08-03 08:12:00 -05:00
Grant Sanderson
aea747b6d3 Final refinements on polyline stroke implementations 2024-08-01 07:41:32 -05:00
Grant Sanderson
361817b506 Pass fewer values to frag shader 2024-08-01 07:17:26 -05:00
Grant Sanderson
c6a6503544 Cleaning up first pass implementation 2024-07-31 16:27:37 -04:00
Grant Sanderson
3ea8393e9a First pass at a polyline implementation for stroke 2024-07-31 15:51:06 -04:00
Grant Sanderson
368f48f8dd Make use of some glsl built-ins 2023-01-28 15:01:32 -08:00
Grant Sanderson
23b4e3e03b Use cubic formula in stroke frag for large stroke width case 2023-01-20 13:22:18 -08:00
Grant Sanderson
b7ea24f9ea Tweak stroke frag 2023-01-20 10:09:58 -08:00
Grant Sanderson
debc68a3b4 Just moving some lines around 2023-01-19 20:24:59 -08:00
Grant Sanderson
13c41be17f Small clean up 2023-01-18 13:07:18 -08:00
Grant Sanderson
a004c88e02 Consolidate functions associated with computing gl_Position 2023-01-13 22:07:28 -08:00
Grant Sanderson
70113d5a48 Tiny cleanup 2023-01-10 08:58:08 -08:00
Grant Sanderson
05796654f4 Replace "bezier_degree" with "is_linear" 2023-01-10 08:54:02 -08:00
Grant Sanderson
480cc6759f Small cleanup 2023-01-09 19:54:21 -08:00
Grant Sanderson
f75df1e26e Clean up a few messes from previous commit 2023-01-09 18:51:41 -08:00
Grant Sanderson
c67ae08b62 Have stroke geometry shader pass to a coordinate system where the curve is some segment of y = x^2 2023-01-09 16:46:38 -08:00
Grant Sanderson
5870274adb Delete unused functions 2023-01-09 00:07:46 -05:00
Grant Sanderson
89d9e260eb Various cleanups for stroke shader 2023-01-08 23:33:39 -05:00
Grant Sanderson
ae2a253fb1 Just pass one bevel parameter rather than two 2023-01-08 21:56:38 -05: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
632c35daef Fix bugs in stroke shader for 3d scenes 2021-01-08 22:28:34 -08:00
Grant Sanderson
7b8677fd6c Push all mention of the #INSERT convention to a note in the insert file 2021-01-07 16:16:20 -08:00
Grant Sanderson
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
Renamed from manimlib/shaders/quadratic_bezier_stroke_frag.glsl (Browse further)