hey everyone it's tom again from object space i'm a 3d and augmented reality artist and i create ar experiences such as this one today i'm going to be showing you how you can use lens studio to create a full body track lens this will allow you to create your own tic toc style videos using snapchat you can goof and dance around you can put it on your friends you could even create your own short films using it for example i will also be showing you how to create a world ar filter so you can place your void in your own world on your table in your garden and truly begin the dejan army invasion in the previous video i introduced you to lens studio and showed you how you can build out your very own ar avatar using your void nft download i definitely recommend checking out that video first if you haven't once again for this tutorial we're going to be using a void nft model that collectors get when they purchase a void so make sure you download it from the official website we're also going to be using lens studio which is snapchat's ar development creator platform so make sure you download and install this first we will also be using miximo which is adobe's free rigging and animation platform this is free to use but you will need to have an adobe login to use this so download your void model from the website and what we want to do is actually upload this model to the miximo website which will allow us to auto rig for character for their platform as well as apply different animations to it so to prep the model for miximo we actually want to remove the existing rig so we can create a new one compatible with miximo there's a few ways to do this you can use blender you can use maya but you can also use three online converters such as this one here which i'll leave in the description this allows us to upload our fbx file and then convert it into an obj which by default has no rig information so upload your file and click convert now so wait for it to process and download it this is free so anyone can use this and you don't have to have any 3d knowledge to remove for rig you should find we now have a zip file we've downloaded with our object and it also extracts all of the textures for us which is great so i'm just going to take the obj out so we've got our original fbx and now we've got our obj without the rig so this obj is the file we're going to be using to upload to miximo and make it compatible for their platform so in miximo go to upload character on the right hand side and then we're going to select our new obj once your model is processed it should show up in the auto rigger click next and here is where we start to define our rig in miximo so we want to place the chin wrist positions elbows and the knees this creates a rig that's compatible with the miximo platform that means we can then animate it with their default animations it also reads really well in snapchat so i prefer to use this rig for the body tracking so click next and it will process once miximo has finished you will see this animated character which gives us a great idea of how it's going to look click next and it will update the preview panel here so now we've got a completely re-rigged character that's suitable to miximo but also works well in snapchat so what we're going to do is download and add an fbx in t-pose leave miximo open because we're also going to use this later for our world effect by applying some animations to this rig and then import that into lens studio as well but for now we're going to build out the body tracking using this stock rigged character now with lens studio open we're actually just going to create a blank new project you should now have the original fbx from void the stripped out obj and also a new fbx from miximo so drag and drop this into lens studio into your black project click import it complains about a few things but it shouldn't be an issue we want to create a body tracked lens so that we physically become our void character i'm just going to change the preview here on the right from person one down to skeletal and that gives us a full body example the next step is to click add in the objects panel and import a body track search for body or scroll down to full body tracking and import that now you'll see we've got a new body tracking object and a body track asset click on the 3d body tracking object and you'll see we've got a load of attachment points in the inspector these are different areas of our body attachment and these will correspond to the rig from miximo so simply open up the miximo rig drag in the pe object onto the body tracking and it's obviously massive so click on the object and press r in the viewer to scale or click on the scale icon at the top and drag it down until it looks about right in the viewport once you've scaled and positioned your void you want to then click on the body tracking asset and click match hierarchy just underneath the body tracking asset you then select your void miximo import and click ok so this has gone through and this has matched all of the rig points with the body attachment points that lens studio gives us and we are now becoming our own void so a good way to test this is to click down on the preview skeletal click on this little video icon here and then go down to dance for example and you can see how well it tracks to the body movements in my previous video i showed you how to import textures and apply to materials so we're going to go through and do that again because this is a brand new rig we don't have any materials attached to the object so i'm going to click on my body and you'll see there's no material listed it says choose material here click on choose material plus for a new one and we want a simple pbr and then click ok and obviously it's best practice to name it and then with our textures imported we're going to click on base and replace it with base color and here you go on the right you can see we've now got our colored void moving and dancing around to the preview so go ahead and take some time to just hook up all of your textures and materials once you've imported your model linked up the rig and attached all of your materials we are almost done we've got a 3d void that moves of our body but what we want to do is actually remove our own body from the video there's a really easy way to do this and snap have given us some really great tools click on the asset library just at the top and you'll see there's loads of pre-built assets that are super useful definitely have a look through all of these for improving your projects and it just happens to be on a featured list click on eraser post effect and click import this post effect will essentially remove our body from the video feed so down here it says eraser put in author camera we don't actually have an orthographic camera which as you remember is a 2d projection camera the easiest way to create one is to just create a screen image this creates an offer graphic camera by default and then i'm going to delete my screen image as i don't want it and then i'm going to drag this eraser into your orthographic camera so by default this isn't doing exactly what we want inside arrays of resources there's actually a portrait face segmentation we are going to want to change that to body so click on portrait phase segmentations in the arrays of resources click on body in the inspector and you'll see it actually does a great job of erasing our body you'll remember from my previous video that once you add an orthographic camera actually overrides the 3d camera so we've got the background that we want but we also want to see the 3d model in front of it and if you remember you click on scene config down here next to resources we want to just drag the orthographic camera on top of a regular camera so that it renders before the 3d camera so orthographic camera render layer 0 and then the regular camera render layer 1 and now you'll see that we've got our void character dancing away with our body erased and that is essentially it we have created our very own body tracked ar experience using snapchat and for void avatar you can then dance around as your void and become a tiktok superstar if you want to add a little extra kind of style to this filter one thing we could do is click on the plus in the objects panel and create a kind of vhs effect scroll down to post effects and click on vhs this creates a vhs post effect and that essentially runs on top of the filter to create this kind of retro vhs filter in the resources panel you'll now have a vhs material that applies to your vhs object here in the objects panel click on a vhs material and you can kind of change the attributes like chromatic aberration which actually is pretty cool just like that saturation to maybe boost up the texture you can adjust this band height and amplitude um i mean this is a bit strong so i'm going to turn down the chromatic aberration and the saturation i like to also stack on top an analog tv effect so if i click on that and now with the analog tv effect we've got a bit more chromatic aberration if you go down to the material in the resources panel i'm going to turn down the chromatic aberration but you've got this noise so we can add so you can increase the intensity of a noise to make it feel like a really old tv and i'm just going to take off a distortion if i don't like the distortion so i definitely encourage you to explore the post effects in lens studio there's a lot of cool effects here that you can layer and adjust how your filter looks and also check out the asset library for more advanced features that you can add on top of your experience and like in the previous video make sure that you are synced up to your snapchat device on your phone that way you can send this experience to test on your mobile and make sure you're signed in to my lenses so you can publish your lens to your account of course we want to change the project info to whatever you want to call it void dance give it a logo give it a preview and then choose a preview video or create your own if you wish once you've added your preview your logo and giving it a name you are then ready to publish your lens it will then export and open up a separate window once it's uploaded for lens you should see this submit a lens screen click on community lens submit new and then you should see your preview your icon your name and then you're ready to either set it public or keep it hidden so you can only share it with link and click submit next up let's create this world ar experience and if you go back to miximo go back to your character you can see that there's a tab called animations and you can literally choose any animation that you want from this list and it will apply it to this rig so let's just choose a random one like brooklyn not rock there you go he's kind of break dance stuff going on here and now this is completely downloadable and you can even customize it so you can make it go a bit quicker if the arms are looking a bit off you can change the arm space even i think that looks okay see it's got super wide arms now so let's take this as an example and click download and then you're going to get some more options so we've got fbx with skin 30 frames per second is fairly standard especially for america keem frame reduction we will just leave it as none and click download so now you should have a downloaded animated void character and this one's automatically called the name of a dance going back to lens studio we want to then bring this in and what we're actually going to do is use one of these templates i highly recommend if you're interested in learning lens studio to open as many templates as you can learn how it all works there's so much in here so many cool projects so many cool ideas and it's all really simply laid out for people to learn we are going to want to use the world template so i'm going to search world and if you click on animated world and click that now if the template's open you can see we've got these two characters and they're dancing away and we've got the template assets all loaded up in the objects and resources panel first thing we're going to do is save it as a new file because this is a template file you can see on the objects panel that we've got a red panda and we've got an elephant which is optional for now we're just going to have one void so i'm going to delete the optional elephant and we want to replace this panda with our dancing void so again i'm just going to delete the panda itself now all the assets will still exist down in the resources panel um but we don't need them so i'm going to delete them now we've got a fairly clean scene that we can use to build our experience um obviously we don't have a red panda anymore we've got a ground grid collision and shadow and this particular object controller we need to keep because it's got some setup of world tracking and interaction so let's go and import our dancing design click on animation import and again we've got it here so let's drop it down click on the p and let's drag for p into world object controller and it's huge as always so let's get it down and here you go we've got ourselves a dancing void in the preview panel let's get him a bit more so we can see him and you'll also notice this kind of box surrounding him this is our collision touch box so we just want to kind of keep it to a similar dimension this allows us to use our mouse or finger on the phone to drag our model around mix mode is a really handy way of creating these kind of stock animations and applying them to any model and then we can use learn studio to throw that into our environment so as always we need to assign some materials i'm going to go ahead and start adding some materials also don't forget we're going to need some textures i'm just going to bring in the body texture for this example and i'm going to hide all of the assets for now so we've got a model we've created a blank material i'm going to add our skin and there he is having a little boogie now you can see he's not casting any shadows even though we have a matte shadow object we actually have to define the objects as casting shadows so click on the body and click caster under shadow mode and there you'll see a fake shadow showing up this is defined by the light source under lighting press f to focus on that and you can then press e to rotate if you want to change the lighting and under this light we have shadows enabled so you have to make sure shadows are turned on and you can change the density and blur if you wish so you can see how easy this is to make and how fun it can be i definitely encourage everyone to give it a go and then share all of your voids dancing around in the world invading everyone's environments and taking over the planet so if you've made it this far i really thank you for watching i hope you've learned something i hope you're inspired to create more snapchat filters and explore the software um if you do create something i'd love to see it so please share it my uh details are down in the description i also recommend checking out the void i'm a design project the nfts when you buy one you own the avatar and it's yours to keep and yeah so definitely check out their discord community also keep checking out lens studio keep learning keep exploring i think it's really fun there's so many things you can create in the software and share it on social media if you enjoyed this video and you'd like to donate to me then that would be amazing and my ethereum address is down in the description um but mostly i just want to see people creating and getting inspired and sharing on social media so i will see you in the next video