A.Olokhtonov
|
8ffc5b99b5
|
Fix z range which sometimes caused the last stroke to have Z equal to
exactly 1 and thus not draw. Fix wrong size of texture upload
|
2 months ago |
A.Olokhtonov
|
da755e4ec2
|
Fix first stroke not drawing because it has Z=0
|
2 months ago |
A.Olokhtonov
|
b961504b54
|
Separate stroke rendering into function. Reuse said function for static
and dynamic draw.
|
2 months ago |
A.Olokhtonov
|
5bb8b0a7ee
|
Further tune LOD levels to optimize triangle counts. Removed LOD level 7
|
2 months ago |
A.Olokhtonov
|
55f390e55b
|
Support different LOD level per batch of instances. Mostly OpenGL
busywork
|
2 months ago |
A.Olokhtonov
|
8a4e87f4c6
|
Batching of the main instanced drawcall
|
2 months ago |
A.Olokhtonov
|
d2adce838b
|
A simple (and bad) LOD determination scheme
|
2 months ago |
A.Olokhtonov
|
07bdbb585b
|
Generate the circles using indexed geometry
|
2 months ago |
Aleksey Olokhtonov
|
dc824c12c9
|
Reuse a single circle geometry. One circle per segment. Still needs last circle
|
2 months ago |
A.Olokhtonov
|
78ba044527
|
Use straight up geometry for everything, finally obtaining TRANSPARENCY!
Freya 🙏 🙏 🙏
|
3 months ago |
Aleksey Olokhtonov
|
a2f574214c
|
Fix warning when dynamic draw has only a single point. Fragment shader fix is untested.
|
3 months ago |
Aleksey Olokhtonov
|
0c21579694
|
Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas
|
3 months ago |
A.Olokhtonov
|
4e09c47190
|
Sudden shader refactoring (automatically extract locations a-la
tiny-sdf)
|
4 months ago |
A.Olokhtonov
|
49620ff8fb
|
Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools
|
5 months ago |
A.Olokhtonov
|
ea409f76c4
|
Basic snapping to grid is kinda working (needs more testing). Deleted obsolete shaders and debug options
|
7 months ago |
A.Olokhtonov
|
c1583cb8fb
|
Resize handles for images
|
7 months ago |
A.Olokhtonov
|
66e84c1a50
|
More betterer active image highlight
|
7 months ago |
A.Olokhtonov
|
4a6d1d6640
|
Fix dummy offsets not getting inserted if first event is not a stroke
|
8 months ago |
A.Olokhtonov
|
8a15093147
|
The images are in
|
8 months ago |
A.Olokhtonov
|
bf2eace6fe
|
Grid background pattern
|
9 months ago |
A.Olokhtonov
|
30559b0381
|
The dots are now zoomable
|
9 months ago |
A.Olokhtonov
|
ee42e400c4
|
Dots pattern with fancy fadeout
|
9 months ago |
A.Olokhtonov
|
07bb47b6dc
|
Dynamic cursor that shows size and color of the brush. Background pattern scaffolding
|
9 months ago |
A.Olokhtonov
|
40dd278f21
|
Improved shader (thanks BYP!)
|
12 months ago |
A.Olokhtonov
|
6f19e6c954
|
Uneven capsules (and a very naive shader) to draw getter variable-width lines
|
12 months ago |
aolo2
|
704c833c16
|
First working draft of pressure hanlding
|
1 year ago |
A.Olokhtonov
|
c893a73ec5
|
You can draw once again!
|
1 year ago |
A.Olokhtonov
|
847fb70381
|
Don't repeat points segment points. Introduce "tv" (typedvector)
|
1 year ago |
A.Olokhtonov
|
a60c3d1948
|
Recompute LODs and instance data on demand - ??? - it works???
|
1 year ago |
A.Olokhtonov
|
2d88b57dca
|
Fix off-by-factor-of-2 in the vertex shader
|
1 year ago |
A.Olokhtonov
|
248501e50f
|
Remove recursive allocations from process_rdp
Use rgba_u16 textures for rgb and, most importantly, W (stroke width)
|
1 year ago |
A.Olokhtonov
|
31a0b0113a
|
Prototype: separate per-quad data using instanced rendeding and per-stroke data using a texture
|
1 year ago |
A.Olokhtonov
|
1438b0ad73
|
LODs work! Need to fix that memory usage though
|
1 year ago |
A.Olokhtonov
|
7b53c7215e
|
Fix predraw artifacts by making the lines too fat at far zoomout
|
1 year ago |
A.Olokhtonov
|
72eedf9b48
|
Fix dynamic data
|
1 year ago |
A.Olokhtonov
|
cca3b4cd5d
|
Fix the depth prepass artefacts
|
1 year ago |
A.Olokhtonov
|
a991cf3247
|
BVH construction and modification
|
1 year ago |
A.Olokhtonov
|
1bc6f2c3fe
|
No clipping at zoom < 0.3. Really fast
|
1 year ago |
A.Olokhtonov
|
e86ffd6508
|
Depth prepass with simplified opaque shapes
|
1 year ago |
A.Olokhtonov
|
7e3b6156c0
|
Render stroke_id to a small texture
|
1 year ago |
A.Olokhtonov
|
e41997563f
|
Faster clipping
|
1 year ago |
A.Olokhtonov
|
46cd48fecd
|
Cull segments, switch to indexed drawing (only for static data for now)
|
1 year ago |
A.Olokhtonov
|
eefbb8ef75
|
Do not upload buffers each frame (DUH!), re-introduce dynamic data, set headers in caddy to enable precise timings
|
1 year ago |
A.Olokhtonov
|
c1fd46da53
|
We have achieved good AA!
|
1 year ago |
A.Olokhtonov
|
01db70cab0
|
Good speed (quad per line segment). Need to figure out rounding
|
1 year ago |
A.Olokhtonov
|
46587068e6
|
Limit max points per quad, fix wrong rounding of texture size
|
1 year ago |
A.Olokhtonov
|
f72cbf5941
|
SDF bull fixed boxes + passed stroke width to shader
|
1 year ago |
A.Olokhtonov
|
69feb482a2
|
sdf bullshit (almost working)
|
1 year ago |
A.Olokhtonov
|
ad9cded350
|
Sweet juicy svg cursor
|
2 years ago |
A.Olokhtonov
|
6f446b7d13
|
Fwidth in the shader for "more gooder" AA
|
2 years ago |