A.Olokhtonov
|
acdbf73a26
|
Add new strokes to fullnodes. Strokes appear one too late though
|
8 months ago |
A.Olokhtonov
|
6d9791d3e0
|
Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect.
|
8 months ago |
A.Olokhtonov
|
f6573e7bb9
|
Correcty complute total point count. Only call glClear once workers have finished LOD. Only allow next draw() call after we finished rendering frame
|
8 months ago |
A.Olokhtonov
|
c5ad40f739
|
Update README
|
8 months ago |
A.Olokhtonov
|
4f84509b16
|
Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone)
|
8 months ago |
A.Olokhtonov
|
2c01d315d6
|
A small test WASM module to demonstrate how to use shared memory and run multiple threads in WASM without Emscripten
|
8 months ago |
A.Olokhtonov
|
e949860279
|
Change extracts of pressure byutes to a f32x4_make. Change andnot masking to a bitselect. Rename readme.md to readme.txt to hopefully fix gitea formatting
|
8 months ago |
A.Olokhtonov
|
37ff1e55bc
|
Oops, actually enable SIMD
|
8 months ago |
A.Olokhtonov
|
84a5859541
|
SIMD version of rdp_find_max. 16->12ms cpu frametime firefox, 16->9ms chrome
|
8 months ago |
A.Olokhtonov
|
6f78c0ae21
|
AoS -> SoA for point coordinates
|
8 months ago |
A.Olokhtonov
|
58f2a60295
|
Fix wrong wasm allocation, remove unused js LOD code, take radius of stroke into account when doing LOD, reduce EPS for LOD
|
8 months ago |
A.Olokhtonov
|
40dd278f21
|
Improved shader (thanks BYP!)
|
10 months ago |
A.Olokhtonov
|
6f19e6c954
|
Uneven capsules (and a very naive shader) to draw getter variable-width lines
|
10 months ago |
aolo2
|
dfecad2c99
|
Fix strokes being added to storage even when skipped by SN logic
|
10 months ago |
aolo2
|
704c833c16
|
First working draft of pressure hanlding
|
10 months ago |
aolo2
|
71f1016a40
|
Store WASM-processed data in WASM memory
|
10 months ago |
A.Olokhtonov
|
8abe88373f
|
Skip copying out segments and segments_from. Use wasm_points and wasm_ids as is
|
10 months ago |
A.Olokhtonov
|
3bf812df39
|
Move point writes to WASM, already a lot faster!!!!
|
10 months ago |
A.Olokhtonov
|
c9d1706b6e
|
Fix final (???) WASM issue
|
10 months ago |
A.Olokhtonov
|
1960bdebe9
|
LOD generation has been wassembled! (a little borked for now though)
|
10 months ago |
A.Olokhtonov
|
cf11f6c701
|
Successfull sum function in wasm :D
|
10 months ago |
A.Olokhtonov
|
28fec7f306
|
Redraw HTML on canvas move, first draft of wasm LOD core
|
10 months ago |
A.Olokhtonov
|
4b5b8db053
|
Update README
|
10 months ago |
A.Olokhtonov
|
ab7545918b
|
Fix state.me not being set when joining new desk
|
10 months ago |
A.Olokhtonov
|
7555de10bf
|
Long touch to open color picker details
|
10 months ago |
A.Olokhtonov
|
08ba8a7687
|
Fix GC pauses!
|
10 months ago |
A.Olokhtonov
|
cc800c1ffe
|
Fancy-shmancy Open Color (TM) color pallete
|
10 months ago |
A.Olokhtonov
|
8bbcfb616f
|
JOIN event, send online info for users in init message
|
10 months ago |
A.Olokhtonov
|
99bd99a465
|
Follow and unfollow players like in Figma
|
10 months ago |
A.Olokhtonov
|
ee1d1471f4
|
Pretty(er) player cursor: bright colors and an actual icon
|
10 months ago |
A.Olokhtonov
|
d8a5cd3fca
|
Draw player pointers as colored squares with html
|
10 months ago |
A.Olokhtonov
|
1f983f3389
|
Fix multiplayer, add mouse wheel panning
|
10 months ago |
A.Olokhtonov
|
c893a73ec5
|
You can draw once again!
|
10 months ago |
A.Olokhtonov
|
847fb70381
|
Don't repeat points segment points. Introduce "tv" (typedvector)
|
10 months ago |
A.Olokhtonov
|
9bbab32369
|
Try to speed up the LOD calculation with a cache (kinda succesfull, but not really)
|
11 months ago |
A.Olokhtonov
|
a60c3d1948
|
Recompute LODs and instance data on demand - ??? - it works???
|
11 months ago |
A.Olokhtonov
|
2d88b57dca
|
Fix off-by-factor-of-2 in the vertex shader
|
11 months ago |
A.Olokhtonov
|
248501e50f
|
Remove recursive allocations from process_rdp
Use rgba_u16 textures for rgb and, most importantly, W (stroke width)
|
11 months ago |
A.Olokhtonov
|
31a0b0113a
|
Prototype: separate per-quad data using instanced rendeding and per-stroke data using a texture
|
11 months ago |
A.Olokhtonov
|
1438b0ad73
|
LODs work! Need to fix that memory usage though
|
11 months ago |
A.Olokhtonov
|
60fc48b1e7
|
Fix dynamic draw to use indexed, and thus the same shader as main
|
11 months ago |
A.Olokhtonov
|
fdca3e6b07
|
Fix epsilon calculation for RDP
|
11 months ago |
A.Olokhtonov
|
7b53c7215e
|
Fix predraw artifacts by making the lines too fat at far zoomout
|
11 months ago |
A.Olokhtonov
|
72eedf9b48
|
Fix dynamic data
|
12 months ago |
A.Olokhtonov
|
24222f9565
|
Fix wrong sort order for indices
|
12 months ago |
A.Olokhtonov
|
cca3b4cd5d
|
Fix the depth prepass artefacts
|
12 months ago |
A.Olokhtonov
|
a991cf3247
|
BVH construction and modification
|
12 months ago |
aolo2
|
1691bd07ae
|
Milton blackboard import
|
12 months ago |
A.Olokhtonov
|
6be8ba7823
|
Add readme
|
12 months ago |
A.Olokhtonov
|
7752e41bf5
|
Separate CPU and GPU timings in debug window
|
12 months ago |