|
13c41be17f
|
Small clean up
|
2023-01-18 13:07:18 -08:00 |
|
|
d39fea0d4d
|
A few small fixes
|
2023-01-18 12:52:05 -08:00 |
|
|
40436d6370
|
Slightly cleaner xs_on_clean_parabola
|
2023-01-18 11:03:22 -08:00 |
|
|
72e5bde274
|
Rename xy-to-uv -> xyz-to-uv
|
2023-01-18 10:58:25 -08:00 |
|
|
1a663943c9
|
Simpler xyz-to-uv map for linear case
|
2023-01-18 10:57:14 -08:00 |
|
|
874906bedf
|
Replace 'light_source_position' with 'light_position'
|
2023-01-18 10:04:51 -08:00 |
|
|
0b72bc5d08
|
Fix joint normal issue
|
2023-01-18 10:04:05 -08:00 |
|
|
c7e32e847d
|
Delete no-longer used functions
|
2023-01-17 17:46:23 -08:00 |
|
|
5e1a02d2ce
|
Use xyz-to-uv matrix for fill
|
2023-01-17 17:45:25 -08:00 |
|
|
9ed8dd5439
|
Clean up
|
2023-01-17 17:39:32 -08:00 |
|
|
b7831ef3f1
|
Go back to computing xyz-to-uv before repositioning
|
2023-01-17 17:27:20 -08:00 |
|
|
c2587de691
|
Apply xyz_to_uv to pre-positioned points
|
2023-01-17 17:22:00 -08:00 |
|
|
c563ec2036
|
Simplifications
|
2023-01-17 17:20:30 -08:00 |
|
|
870e88f8c9
|
First attempt at finding uv coords from 3d space instead of 2d
|
2023-01-17 15:46:09 -08:00 |
|
|
7fe84d9263
|
Don't recompute cross(v01, v12)
|
2023-01-17 13:18:32 -08:00 |
|
|
1b3bc7a27c
|
For linearity, check cosine of angle instead of angle
|
2023-01-17 13:16:58 -08:00 |
|
|
abbe131e8d
|
Track full cross product and dot product of tangent vectors at joints
And alter the convention of what flat_stroke means to be more sensible in 3d
|
2023-01-17 11:36:47 -08:00 |
|
|
8d277af47c
|
Go back the convention of positioning stroke vertices in space before geom shader
|
2023-01-16 21:46:43 -08:00 |
|
|
8ac0aa484b
|
Slight tweak to get_unit_normal
|
2023-01-16 19:34:37 -08:00 |
|
|
1f613953d6
|
Don't pre-rotate light source
|
2023-01-16 19:34:20 -08:00 |
|
|
c3cd64f68c
|
Package reflectiveness, gloss and shadow into a single uniform "shading"
|
2023-01-16 19:33:57 -08:00 |
|
|
6f9f83fb1b
|
Unify shader_dtype and data_dtype
|
2023-01-15 19:09:29 -08:00 |
|
|
19a7721661
|
Fix unit normal issue with bezier fill
|
2023-01-14 08:00:21 -08:00 |
|
|
c8238f6b39
|
Consolidate lighting uniforms
|
2023-01-14 07:57:47 -08:00 |
|
|
d19b244ee1
|
Move uniform pixel_shape declaration outside of get_gl_Position
|
2023-01-13 22:11:13 -08:00 |
|
|
a004c88e02
|
Consolidate functions associated with computing gl_Position
|
2023-01-13 22:07:28 -08:00 |
|
|
fa81d9f6ea
|
Move comment
|
2023-01-13 21:43:01 -08:00 |
|
|
dae51abc17
|
Allow for a clip plane with Surface
|
2023-01-13 21:42:34 -08:00 |
|
|
1c1325ff8d
|
More coloring work of Surface to vert shader
|
2023-01-13 21:04:36 -08:00 |
|
|
28d5baeeff
|
Small stylistic tweaks
|
2023-01-13 21:04:15 -08:00 |
|
|
2aa2eedbbd
|
Calculate unit normal more directly
|
2023-01-13 17:42:59 -08:00 |
|
|
e534206eb6
|
Small style change to get_xy_to_uv
|
2023-01-13 17:37:08 -08:00 |
|
|
394d87effb
|
Small style tweaks to quadratic_bezier_fill/geom
|
2023-01-13 17:26:59 -08:00 |
|
|
69ac946e63
|
Simpler get_gl_Position
|
2023-01-13 12:41:09 -08:00 |
|
|
923066db2b
|
Minor style changes to stroke geom shader
|
2023-01-12 19:54:32 -08:00 |
|
|
de5198196b
|
Fix anti-alias width bug on DotCloud
|
2023-01-12 19:44:10 -08:00 |
|
|
dcdf74a715
|
Clean up stroke geometry shader to better function in 3d
|
2023-01-12 19:24:42 -08:00 |
|
|
a07701e295
|
Use triangle strip for stroke shader
|
2023-01-12 15:56:12 -08:00 |
|
|
24afb2a24f
|
Fix angle_between
|
2023-01-12 14:43:52 -08:00 |
|
|
e676bd957b
|
Do inner joint angle computation in geom shader
|
2023-01-12 13:08:35 -08:00 |
|
|
f3e91db581
|
Small comment change
|
2023-01-12 10:39:50 -08:00 |
|
|
04fd50491e
|
More consistent corners computation for stroke geom shader
|
2023-01-12 10:14:14 -08:00 |
|
|
c0b3c246de
|
Revert "Revert "Go back to fill shader tracing vertex index manually""
This reverts commit 387de61119ea13b63d68c8e56a776717b99f2a8c.
|
2023-01-12 00:16:05 -08:00 |
|
|
131e1c2eeb
|
Have corners emitted by stroke geom shader better line up with bezier control points
This is helpful for, say, setting variable stroke width
|
2023-01-11 21:30:12 -08:00 |
|
|
5a56a2a5ec
|
Remove bad solution to bevel issue
|
2023-01-11 20:28:00 -08:00 |
|
|
387de61119
|
Revert "Go back to fill shader tracing vertex index manually"
This reverts commit 7847ff1a9db93316cf7ba4985487f82d2836d840.
|
2023-01-11 16:22:12 -08:00 |
|
|
7847ff1a9d
|
Go back to fill shader tracing vertex index manually
|
2023-01-11 15:32:27 -08:00 |
|
|
c4e1db7f9d
|
Don't draw paths where the handle equals the first anchor
|
2023-01-11 14:18:45 -08:00 |
|
|
2a7b787ef6
|
Test the orientation in the middle of the curve
|
2023-01-11 14:18:12 -08:00 |
|
|
e189df81b1
|
Change default endpoint angle to be 0
|
2023-01-10 15:32:05 -08:00 |
|