58 Commits (8ffc5b99b5f0a9b9bf6ec9f237ac2b168e5dfaa3)

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