Set the animation speed in the inspector, and enable “Always play”. The maximum resolution of textures is 2048×2048. However, you may want to tweak the quality or resolution if the compression seems a little too much. The default settings on the next screen are usually already correct. To import an animated texture, go to “Add New” > “Texture” > “Animated form files…” and select all files of the sequence: The lens has a maximum file size of 4MB, so keep the sequences short! Lens Studio will compress the images, so you should not do that yourself. Make sure to have the animation exported as an image sequence (and use PNG, as this also supports an alpha channel for transparancy). I decided to animate the texture of my shirt as well, with the classic dancing hotdog Snapchat made a while back. In the PBR material, replace the Base color texture with the one your 3D scanner produced. Snapchat works with PBR materials, which means it works very well together with Substance Painter (but we’re not using that right now).Īdd a new PBR material, and apply it in the mesh of your dancing objects under Mesh Visual: The next step will be applying the textures. The Preview window should be looking something like this now. Link the IdleAnim-script in the WorldObjectController to this animation, by selecting the right Animation Mixer and typing ‘Layer0’ in the Script fields: Now in the inspector of the FBX file, you’ll see it has an animation, named ‘layer0’: It’ll automatically be placed in the “Object” list, but it should be resized a little to make it visible.ĭrag it into the “World Object Controller”, as it wouldn’t respond to touch otherwise. Under “Resources” > “Add New” > “Import Files”, select the downloaded FBX. This’ll make the right placeholders for touch interaction, which saves some time.Īfter removing the template objects, this what the Lens Studio interface looks like: Let’s open up Lens Studio and pick the “Animated Object”-template. Let’s select some good dance moves, apply them to my scan, and export that as an FBX file: Here you can find everything about optimization for a lens. Make sure your 3D model is under 65.535 vertices, as Android doesn’t support more than that. (which is way faster than rigging and animating it yourself). I made one using the Structure Scanner on an iPad with the app ItSeez3D, and animated that with Mixamo To recreate this using Lens Studio, you’ll need a 3D model of yourself first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |