Grant Sanderson
|
e57ca4e1ee
|
Track orientation for non-winding fill
|
2023-01-27 12:43:21 -08:00 |
|
Grant Sanderson
|
86fb69c5bb
|
Track unit normal for fill
|
2023-01-27 12:35:43 -08:00 |
|
Grant Sanderson
|
1707958e0f
|
Clean up fill shader a bit
|
2023-01-27 08:26:54 -08:00 |
|
Grant Sanderson
|
5803a00598
|
Use smaller fill_texture, adjusting winding-fill blending hack as is necessary
|
2023-01-26 20:14:22 -08:00 |
|
Grant Sanderson
|
65afed1bd1
|
Move shading from fill geom to fill frag shader
|
2023-01-26 15:50:27 -08:00 |
|
Grant Sanderson
|
37f0bf8c11
|
Fix winding fill blending
(Using somewhat of a hack)
|
2023-01-26 15:27:48 -08:00 |
|
Grant Sanderson
|
3f5df432ce
|
Consider winding_fill alphas pre-multiplied
|
2023-01-26 12:17:21 -08:00 |
|
Grant Sanderson
|
a33b24310e
|
Fix non-winding-fill orientation
|
2023-01-26 12:15:30 -08:00 |
|
Grant Sanderson
|
088a2f65a3
|
Misc. clean up
|
2023-01-24 21:10:57 -08:00 |
|
Grant Sanderson
|
f0df5c759d
|
Make winding fill optional, and make winding additive rather than toggling
|
2023-01-24 20:03:23 -08:00 |
|
Grant Sanderson
|
516fe9155e
|
Small tweaks
|
2023-01-24 15:29:35 -08:00 |
|
Grant Sanderson
|
87afdac6a4
|
Small clean up
|
2023-01-24 14:09:41 -08:00 |
|
Grant Sanderson
|
6e56c31d67
|
Use gl_InstanceID instead of hacking triangle_strip
|
2023-01-24 13:49:43 -08:00 |
|
Grant Sanderson
|
4774d2bc3b
|
First pass at a winding-based fill approach
|
2023-01-24 13:29:34 -08:00 |
|
Grant Sanderson
|
8fee4d1a66
|
Fix straight line fill anti-alias issue
|
2023-01-20 17:35:36 -08:00 |
|
Grant Sanderson
|
fe7dc3c459
|
Tiny cleanup
|
2023-01-20 10:07:28 -08:00 |
|
Grant Sanderson
|
909e515a2f
|
Only compute xyz-to-uv matrix in non-linear case
|
2023-01-19 20:24:32 -08:00 |
|
Grant Sanderson
|
6c2544098b
|
Store pixel_size instead of pixel_shape
|
2023-01-18 13:50:09 -08:00 |
|
Grant Sanderson
|
b667d89e9b
|
Simplify get_gl_Position
|
2023-01-18 13:44:41 -08:00 |
|
Grant Sanderson
|
72e5bde274
|
Rename xy-to-uv -> xyz-to-uv
|
2023-01-18 10:58:25 -08:00 |
|
Grant Sanderson
|
5e1a02d2ce
|
Use xyz-to-uv matrix for fill
|
2023-01-17 17:45:25 -08:00 |
|
Grant Sanderson
|
c3cd64f68c
|
Package reflectiveness, gloss and shadow into a single uniform "shading"
|
2023-01-16 19:33:57 -08:00 |
|
Grant Sanderson
|
6f9f83fb1b
|
Unify shader_dtype and data_dtype
|
2023-01-15 19:09:29 -08:00 |
|
Grant Sanderson
|
19a7721661
|
Fix unit normal issue with bezier fill
|
2023-01-14 08:00:21 -08:00 |
|
Grant Sanderson
|
c8238f6b39
|
Consolidate lighting uniforms
|
2023-01-14 07:57:47 -08:00 |
|
Grant Sanderson
|
d19b244ee1
|
Move uniform pixel_shape declaration outside of get_gl_Position
|
2023-01-13 22:11:13 -08:00 |
|
Grant Sanderson
|
a004c88e02
|
Consolidate functions associated with computing gl_Position
|
2023-01-13 22:07:28 -08:00 |
|
Grant Sanderson
|
2aa2eedbbd
|
Calculate unit normal more directly
|
2023-01-13 17:42:59 -08:00 |
|
Grant Sanderson
|
e534206eb6
|
Small style change to get_xy_to_uv
|
2023-01-13 17:37:08 -08:00 |
|
Grant Sanderson
|
394d87effb
|
Small style tweaks to quadratic_bezier_fill/geom
|
2023-01-13 17:26:59 -08:00 |
|
Grant Sanderson
|
c0b3c246de
|
Revert "Revert "Go back to fill shader tracing vertex index manually""
This reverts commit 387de61119 .
|
2023-01-12 00:16:05 -08:00 |
|
Grant Sanderson
|
387de61119
|
Revert "Go back to fill shader tracing vertex index manually"
This reverts commit 7847ff1a9d .
|
2023-01-11 16:22:12 -08:00 |
|
Grant Sanderson
|
7847ff1a9d
|
Go back to fill shader tracing vertex index manually
|
2023-01-11 15:32:27 -08:00 |
|
Grant Sanderson
|
2a7b787ef6
|
Test the orientation in the middle of the curve
|
2023-01-11 14:18:12 -08:00 |
|
Grant Sanderson
|
116d6fe244
|
Revert emit_pentagon to work on 3d vectors
|
2023-01-10 11:51:05 -08:00 |
|
Grant Sanderson
|
8175c2d408
|
Rename quadratic_bezier_geometry_functions to get_xy_to_uv
|
2023-01-10 09:53:17 -08:00 |
|
Grant Sanderson
|
b31ad49850
|
A little clean up to fill shader
|
2023-01-10 09:49:51 -08:00 |
|
Grant Sanderson
|
05796654f4
|
Replace "bezier_degree" with "is_linear"
|
2023-01-10 08:54:02 -08:00 |
|
Grant Sanderson
|
b4544052d9
|
Change fill shader to use simpler uv space
|
2023-01-09 19:54:09 -08:00 |
|
Grant Sanderson
|
08c02b21aa
|
Small comment
|
2023-01-09 00:02:30 -05:00 |
|
Grant Sanderson
|
a6e5f25912
|
Delete get_reduced_control_points
|
2023-01-09 00:00:31 -05:00 |
|
Grant Sanderson
|
16390283cf
|
Small cleanup for fill shader
|
2023-01-08 23:34:02 -05:00 |
|
Grant Sanderson
|
1cf89abf53
|
No need to track vertex index manually
|
2023-01-04 16:39:59 -08:00 |
|
Grant Sanderson
|
8fc243e398
|
Make anti_alias_width a Mobject uniform, rather than a camera attribute
|
2022-12-28 18:52:05 -08:00 |
|
Grant Sanderson
|
1180932026
|
Fix antialiasing issue with straight lines in text
|
2022-12-28 16:37:44 -08:00 |
|
Grant Sanderson
|
44dc22e5e4
|
Rename local_unit_normal to unit_normal
|
2022-12-28 11:17:55 -08:00 |
|
Grant Sanderson
|
4d65ceabf7
|
Include zero in orientation checks
|
2022-12-28 11:17:45 -08:00 |
|
Grant Sanderson
|
083de38e4c
|
Remove "arbitrary-seeming branching"
|
2022-12-28 10:05:44 -08:00 |
|
Grant Sanderson
|
40bf1fd6a9
|
Stop tracking unit_normal in data
Track orientation of each curve instead
|
2022-12-23 10:08:23 -07:00 |
|
Grant Sanderson
|
81c3ae3037
|
Have separate notions of gloss and reflectiveness
|
2021-11-08 21:46:09 -08:00 |
|