How to scan miniatures with your smartphone using photogrammetry, create an STL and 3D print them!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone i'm jack the tabletop scam man so in today's video i'm going to talk to you about scanning uh tabletop miniatures so anything like 28 mil 32mm scale on a smartphone um so yeah that's what you're into stick around so you need a smartphone i'm pretty sure everyone has one of these now um my one particularly shoots pictures at 100 megapixels and it will shoot video in 8k so both of those help with the software that you're going to put into rem try and remember that the more amount of detail that you capture with your phone and in your photographs means the more amount of detail that will transfer over to you into your model probably and the less work you're going to have to put in afterwards other bits you're going to need just picked up a scanning tent thing um well that's a scanning tent like a photo tent main reason for that is because it's got the green screen in the back um just makes masking out with images and stuff afterwards a little bit easier um i've also got a turntable here there's a five pound turntable you can get off amazon i'll put links to all this stuff in in description and stuff um i've modified it slightly i've added a little bit of green card onto the the top of it i cut up a bit in the middle where so i know where things are in the center and i kind of scribbled on it so that the photogrammetry software which is what we're going to use today um knows roughly where the bed is if i if i decide to bring it into the pictures if i've got a really big model or if i've got a really small model but i want to like take pictures far away because the camera is struggling to focus on things like that so yeah all right the last thing you're going to need a couple of these like five quids desk lamp things the usb desk lamps leds and things like that because the main thing you kind of want to do is um remove shadows from your object that you're trying to scan like ideally if you're going to do like photogrammetry outside you do it like an overcast day so it's all diffused and lovely and gorgeous um but we're not doing that we're doing miniatures so yeah we want to create like a diffused look next up i'll show you my setup and how it works so this is my setup got my camera on a tripod looking at my subject spinning around on a turntable i've got my led light shining on the side but yeah that's about it the reason that you want to kind of keep the lighting up so high maybe even overexposing slightly um purely because you want the number of frames to be good and you want your subject to be completely frozen so you want that shut speed as high as you can get it but also the iso number as low as you can get it the higher your iso number the more noise you'll have the lower your shutter speed the more blur you'll have in it software that we're going to use later picks up the blur um blurry frames or whatever in this image um and discards them so it will automatically sort through it just adding more light more things to your subject means that um you have less chance of completely wasting your time and wasting frames um one thing to note the actual model i scanned i base coated in a citadel rafe bone purely because it gives a good contrast and doesn't have weird color things going on and i don't have to then color balance it and chuck it into the software i then later went and put on a couple of coats of like contrast stuff contrast paints um purely just to see how it looked against the model that printed um i'll show you later but for now i wasn't sure whether i was going to actually film this or not so that's why it's painted okay so we've got everything set up the next thing to note is that you want to do a full 360 degree rotation at one angle then you change your tripod do it again at another angle and then do it one last time from a very high angle what you usually get with these uh photogrammetry things is you'll find that you get like blank spots on the top of the models because it hasn't seen like the top of the hair door or something like that i'm gonna end up with like a blank spot underneath this guy's base purely because i can't see it so it can't generate it but we'll fix that later um so yeah for now this is what the uh the videos look like once you have got your videos captured by your phone remember they want to be as high quality as possible um you bring them over to a program called zephyr so it's available online and i think they do a free um free trial of it for two weeks but i mean check when you go sign up i'm currently on the light version so let's load it up here yeah i'm on the trial let's continue with the trial so basic things in depth uh left click is drag rotate and this is your sort of workspace so to get started you don't touch anything in this you know you go up to workflow you go to new project you tell it you want to compute a 3d model after project creation and then you want to compute a texture after the surface abstraction and then you want to mask them images and then you want to check online for some camera calibration so yeah tickle those we want to import pictures from video you want to go up to our video here just to get things going our frame rate was 24 frames a second so what i'll do is i'll go and change that to 20 and then just keep it all as the same and then i'd say my similarity threshold i'll keep it 15 frame q size will keep a 60 and then extract range and import into so i have done this before um is that okay yeah so yeah let that run okay so that took a good couple of minutes i don't know you'll be able to tell from the little clock there i went tracking um so we got all our bids well so we've got all our frames coming from the video um they've stacked them all in this file for us you can go back in and add additional um photos into it through that you can put a whole directory in there and you can take some out so once we got that we go and hit next and then we want to go and say we've got masks for these things which i already do which is great but if you don't um let's see in this one you don't have a mask for it you go to launch masquerade so what it does is it brings up a picture of the image again this is why i put it on a green screen um because it'll make color changes easier for the software to recognize this uh particular software the blue is a background so all you do is add a little stroke to that and it will go and add in bits and put in a mask and then you put in additional bits of red for the parts that you want to keep and your mask turns a little bit red and everything so what you want to look out for is that this edge is really nicely defined let's see here i've lost a bit of detail there already so it's just going in making sure that every little edge is m is really defined especially on these like internal areas where you've got like gaps and stuff and you've got all these little bits down here so yeah just bear in mind go through every single image um when you're done doing one image you can go and then click this save and go to next at the top it'll bring the next image in and then as you see it's a little bit messed up i think it's copied the same image names but given them different like uh bin file formats which is the mask file format so in this case i'll do it from scratch for you so clear the mask yep go here to the blue say i want to draw around that guy there's something there something in there something in there then you hold shift to go to the next one and then draw a little red line so you can fix it up yeah yeah yeah okay that'll do for what we kind of want this one but yeah so yeah you get the gist go through paint every single image that comes up so yeah from here you then hit next and then it will ask you what your camera calibration stuff is if it doesn't know what my camera is because i shot it in video um if i shot it with a specific camera it would know the profile and it would make life of the system a little bit easier but in this case it doesn't so yeah you get to your orientation settings go and put these to like whatever i usually leave that one on general and then put that to like a deep scan and on here keep that one on general again and then change that to high details and keep that one general and then go to high details again and then go general and then default single texture but i want high details again and then yeah it will just say before you continue hit the run button this is everything and make sure that all your all your frames are masked it'll let you know if they're not and then go over your settings once more and then hit run then yeah see how it goes okay so as you can see reconstruction was successful let's see how successful it was uh did we get anything that didn't come through okay there was a couple that i didn't use um i think it still made it so let's see ah look at that wow oh that is great that is so good so yeah to pan round you use a left click of your mouse button and then zoom in is your mouse wheel so looking at that there's like a little bit of detail there maybe that needed to capture in and some detail around here that we've got a bit lost and looks a bit sharp so that'll need a little bit of a cleanup but other than that it's good it looks really really good so and people that know this software will know that this isn't the actual mesh this is a like texture map where it like slaps a picture on top of your mesh that's generated so if i turn that off and then just put one of the meshes in you can see what the actual mesh looks like so even the actual mesh itself looks pretty good right um proof of the footing will be in the in so um let's put this in blender and see what it looks like so yeah let's open this thing in blender so my blender is here you get this window pop-up just click on the gray bit behind it you get like a light added a camera and a cube added we don't want any of that so just left click drag and select it or then hit delete you then go over to here file import obj go to find where your obj was stored so i put mine in my base locations [Music] there you go that's it imported and as you can see it's a bit spiky around the edges like looking at it straight away um let me just spin that round so if i go and change that where i want [Music] so that is literally the amount of detail that is in this thing and it is insane but if you look at that it's covered all of the little divots in his shoulder and everything and all the little bits of t-shirt and where you have like the overlaps of where he's got like a dungareesy type thing going over his shoulder um and it's captured everything there the thing that is a bit lacking is the face so to to sort of get that back i mean even then it's still pretty good though right but to get that back you can then go into like sculpting with it so you go up here to sculpting and then you've got various brushes over here on the left um just you just play around and see what you can get away with um then you set sizes and radiuses and different bits up here and strengths and stuff so you want like a little one for the eye and then just just push that in a touch this eye as well yeah overall the the main tools that you'll end up using or at least i will end up using is this one the draw one the draw sharp for things like this horn on the top of his head there i'll show you brings it out to a nice point bringing all that up bringing all that detail out you kind of want to just play around with that until you can get it to where you're happy with have a little play with that but to be honest i did it already so when i said about um let's fix the it's base um let's have a look down here so you come down to here go back from layout mode which is object mode to anyone else that's familiar with this stuff you want to try and get him on another flat up get it on a flat surface so you've got some way of cutting it and then you just want to know that you're going to cut all the way through looks like a rotation attached that way then maybe a drop down and you go into your edit mode which is every single vertex on here is like gravable shapeable movable in um blender all we want to do is select all those ones need to put it in x-ray mode which is what was done there hit that x delete all those vertices and i'm left with a nice clean base then what i want to do is go and select that edge loop again [Music] press f to fill it and then i think it just puts a face in there should have done we'll see yeah it's got a face in there and then if you want to go in and make it properly you can you know have a bit of software but yeah have a little play around with your mesh once it's done i mean this is by far the best way of um getting to a starting point for me i'm no good at just pure sculpting but not yet but yeah you can sort of go in and see that that needs to be squared off so you've got different bits there's loads of um sculpting tutorials on on blender on the internet so yeah bother me go and have a look let me know how you go okay so once that's done you go file export file export stl and then dump it wherever you want and then we close blender i don't need to save it because i don't have it and then i've opened a software called fusion360 so if i go over here let me go and just get the mesh so once you've got this open get a mesh tab go to insert mesh then find out where your your min too fusion and again for this one to rotate it's middle mouse button plus shift and you can see i did a fair amount of work on his hammer and on his face and on the details of this little guy's face and just generic skin updates and things but yeah don't matter so yeah that's cool hit okay and then what you want to do is go over to where it says repair i'm going to click to select that body you want to rebuild it but you want it accurate you'll turn this density all the way up and then you want to hit okay now what that's doing is it will go and find the volume of this part and then re-mesh it for you into something that will be 3d printable which is fantastic because it saves a lot of time so yeah i've got this part now it's 3d printable um all i've now got to do is go up to export so i want to export that known as an stl i don't want to send it to a 3d printing utility i just want to hit okay and then there you go go in there save your sdl and then put in your favorite printing printer software and print it out which you know i've technically already done so i'll show you that next so here is the the final model if you've made it this far thanks for sticking around i think overall i would sort of struggle to tell the difference between the two i mean there's clearly a lot of detail in the original that's not there in the uh scan version but to be honest as a tabletop model just for like kickabout games it's fantastic and i really hope i helped out so yeah yeah i'll see you next time i'll leave this with uh just spinning around so
Info
Channel: Tabletop scan man
Views: 10,749
Rating: undefined out of 5
Keywords:
Id: VJg1dvFtogE
Channel Id: undefined
Length: 21min 23sec (1283 seconds)
Published: Thu Mar 03 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.