A.Olokhtonov
|
967c7554dd
|
Use e.pressure from touch screen
|
2 months ago |
A.Olokhtonov
|
86193fe26d
|
Reset player.current_prestroke if we deleted last prestroke of theirs
|
2 months ago |
A.Olokhtonov
|
a57b814982
|
Panning and zooming with touch also works (more or less)
|
2 months ago |
A.Olokhtonov
|
7f9d04d620
|
Drawing with one finger kinda works again
|
2 months ago |
A.Olokhtonov
|
2a94d4625c
|
Temprorarily undo busted partial texture uploads
|
2 months ago |
A.Olokhtonov
|
666d0393d8
|
Resurrect image handles
|
2 months ago |
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
|
d618913111
|
Fix uninitialized return when no strokes are submitted to a thread
|
2 months ago |
A.Olokhtonov
|
500fd71d3e
|
Batching is working! (only in singethreaded mode though)
|
2 months ago |
A.Olokhtonov
|
777772530f
|
Batching is close to working. Not quite though
Also possibly fixed a very nasty bug, but probably not
|
2 months ago |
A.Olokhtonov
|
ce824a8e31
|
Pass stroke widths to wasm (not actually writing any values right now,
just some busywork to allocate memory and pass pointers)
|
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 |
A.Olokhtonov
|
dc235c7365
|
Implement partial uploads to texture
|
3 months ago |
A.Olokhtonov
|
0c3259d00f
|
Tweak initial BVH construction to split along the longest axis, instead
of alternating between vertical and horizontal. Big perf wins on large
boards because of more sane distribution of fullnodes
|
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
|
fea2874004
|
Merge scale and move local history, fixing undo for image move/scale
|
4 months ago |
A.Olokhtonov
|
8bea9593da
|
The big unAWAITing! Also found the image scale undo bug, but haven't
fixed yet
|
4 months ago |
A.Olokhtonov
|
29ec265632
|
Keep multiple current strokes ("prestrokes") per player in a queue
|
4 months ago |
A.Olokhtonov
|
bdc3bdc9a1
|
Undo for all available actions
|
5 months ago |
A.Olokhtonov
|
5d45eb3255
|
Undo eraser
|
5 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
|
8b4b4e09f7
|
Basic line drawing is back IN
|
7 months ago |
A.Olokhtonov
|
b11c46354f
|
Add line-line intersection test to the eraser to kinda make it work for faster movement
|
7 months ago |
A.Olokhtonov
|
ab1659f77f
|
Fix missing dummy stroke for undo event. Fix typo in listener
|
7 months ago |
A.Olokhtonov
|
803b7f80cb
|
Eraser has gone on-line!
|
7 months ago |
A.Olokhtonov
|
0ffac004c0
|
Eraser works again! Offline though
|
7 months ago |
A.Olokhtonov
|
21aecb7d08
|
Make image move and image scale work in multiplayer. Add width and height to image event and fix late-arriving bitmaps breaking things
|
7 months ago |
A.Olokhtonov
|
45bac3395a
|
Clean up image move/scale logic a little bit. Remove obsolete cursor.js file
|
7 months ago |
A.Olokhtonov
|
9d6f333778
|
Resize images (local only)
|
7 months ago |
A.Olokhtonov
|
254268c309
|
Move images (local only)
|
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
|
acb9aaa83d
|
Fix misallocation of pressures tv_array
|
8 months ago |
A.Olokhtonov
|
4a6d1d6640
|
Fix dummy offsets not getting inserted if first event is not a stroke
|
8 months ago |
A.Olokhtonov
|
c6f8bc4b5a
|
Fix first stroke preview not showing
|
8 months ago |
A.Olokhtonov
|
5871833cd1
|
(Probably) fix the nasty WASM mis-allocations
|
8 months ago |
A.Olokhtonov
|
8a15093147
|
The images are in
|
8 months ago |
A.Olokhtonov
|
903660adbc
|
Marginally better grid level transitions
|
8 months ago |
Aleksey Olokhtonov
|
5aa29b18c0
|
Fix follow mode by separating canvas move and zoom events. Touch devices are TODO!
|
9 months ago |