Please sign in to access this page
Michael M
Check their projects out: Git Server, Git Leaderboard, Keystrike
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
spent some time trying to smooth out the shape, but i think i need to reimplement ramer douglas peucker to make it actually look normal.
some miscellaneous polishing, like homescreen improvements and brush overlay. we have real stl rendering now! with synched cameras
what did I do?...
I added a brush size slider, theming, may or may not have fixed some bugs...
Also added a proper homepage with file loading. may pretty it up later
fixed the randomly disappearing benchy layer! turns out it was rdp line simplification being bad because instead of finding distance from line segment to point i did line to point. not good. also found some ghost shapes the slicer found that are just like one point but i honestly have no idea how they are made and they don't affect anything for now because the slicer is only for drawing. very annoying though. could be evidence of a larger issue
use marching squares instead. this should quash a bunch of the weird outlining issues because it outlines between points instead of on them directly. still some issues left: threejs doesn't like rendering holes or some reason and for some reason one layer at 50 layers just doesn't show up
improved rednering a bit, added panning, fixed outstanding bugs. as a result it's now incredibly slow to calculate the outlines per layer, i'll need to fix later. i added a cheat mode so here's a detailed 50 layer benchy
hunted down the polygonization issue, the source was in the slicing part; code for intersection between triangle and plane didn't work properly when the triangle was touching the plane exactly but only at one point, and also intersected the plane.
added code to polygonize the drawing. its untested so far. probably broken. speaking of broken, slicing! edge case when slicing middle of benchy. will investigate later, this is weird
some progress on polygonization code. why doesnt this exist already i dont wanna write this man
spent way way way too long trying to figure out how to get the square canvas to fit within width and height simultaneously. at this point I don't think its a thing you can do in css only. ended up having a js function constantly watching window resizes and changing the class of the square depending on whether it needed to be width-limited or height-limited. Also i did the drawing thing and it's path based so no loose circles. Next up is flood fill
tried to get drawing working (good!) then tried to make it path based instead of just spamming circles. its bad. real bad.
implemented ramer douglas peucker with epsilon 1e-4 for the segment simplification. shrunk the point count of the first layer from like 4k+? to less than 900
now that's what i call a benchy! primitive drawing thing to preview what horrible things my slicer has created.
slicer thing done. i use air quotes because it probably doesn't work; gonna need to write a frontend to view it next