still trouble shooting
837d02b9
1 file(s) · +20 −15
| 1 | 1 | --- |
|
| 2 | - | title: "How to Create 3D Solana NFTs" |
|
| 2 | + | title: "How to Create 3D NFTs on Solana" |
|
| 3 | 3 | publishDate: "18 May 2022" |
|
| 4 | - | description: "Learn how to scan real life objects with Polycam then mint them as NFTs on Solana" |
|
| 4 | + | description: "Learn how to scan and mint real life objects on Solana" |
|
| 5 | 5 | tags: ["web3", "nfts", "tutorials"] |
|
| 6 | - | ogImage: "https://miro.medium.com/v2/resize:fit:360/format:webp/1*5vzpNGiQSZqe1EX6ghDINg.png" |
|
| 7 | 6 | --- |
|
| 8 | 7 | ||
| 9 | - | ||
| 10 | 8 | The growth and evolution of NFTs has come a long way from the early days. Some of the early NFT projects were simple .png files or a link to a YouTube video, but now they are an entire industry that consumes brand, utility, even augmented reality. Metaverses, 3D objects, and other virtual reality experiences are all the rage, and I firmly believe we will see more of this in the near future. |
|
| 11 | 9 | ||
| 12 | 10 | One unique tool that I stumbled upon was Polycam. Polycam is a mobile iOS app that utilizes the iPhone’s LiDAR scanner to map 3D objects and environments. 3D NFTs are certainly popular, but what about 3D NFTs of real life objects? Or even better: real life environments? I think this is an angle that not many people have thought about creating, and opens up a whole new realm of artistic expression in ways people have not seen before. |
|
| 14 | 12 | In this tutorial we’ll cover how to use Polycam to scan and create a 3D models and environments, and then we’ll cover how to make them into NFTs using Pinata and Solana. |
|
| 15 | 13 | ||
| 16 | 14 | ## Scanning with Polycam |
|
| 15 | + | ||
| 17 | 16 | To get started you’ll want to download the Polycam app on the App Store. Be aware that this is only for iPhones, and scanning environments will be more effective if you have a LiDAR scanner on your iPhone. Having a LiDAR scanner is not necessary though! Once you download it you will need to make an account with them and start their 14 day free trial. |
|
| 18 | 17 | ||
| 19 | 18 | Once you do that Polycam will take you to the “captures” page where you can see all your scans. To learn how the scan process works, I would highly recommend their well done tutorials on their website and in the app. |
|
| 20 | 19 | ||
| 21 | - | Using LiDAR Mode to Capture Large Spaces |
|
| 20 | + | [Using LiDAR Mode to Capture Large Spaces](https://learn.poly.cam/capturing-large-spaces) |
|
| 22 | 21 | ||
| 23 | - | Using Photo Mode to Capture 3D Objects |
|
| 22 | + | [Using Photo Mode to Capture 3D Objects](https://learn.poly.cam/building-a-studio-for-photo-mode-captures) |
|
| 24 | 23 | ||
| 25 | 24 | In short, you will want to use the LiDAR mode when you are trying to scan environments or large spaces, and for 3D objects you will want to use the photo mode! |
|
| 26 | 25 | ||
| 28 | 27 | ||
| 29 | 28 | With the video below you can get glimpse of how the LiDAR scanner maps over surfaces. Taking it real slow and covering every angle really helps with scanning environments. |
|
| 30 | 29 | ||
| 31 | - | <iframe title="vimeo-player" src="https://player.vimeo.com/video/703877466?h=9659ba4952" width="360" height="780" frameborder="0" allowfullscreen></iframe> |
|
| 30 | + | >>INSERT VIMEO |
|
| 32 | 31 | ||
| 33 | 32 | After you’re done scanning there will be a processing step that will take all the data and map it into a 3D environment! |
|
| 34 | 33 | ||
| 35 | - | <iframe title="vimeo-player" src="https://player.vimeo.com/video/703880632?h=52b5f574b7" width="360" height="780" frameborder="0" allowfullscreen></iframe> |
|
| 34 | + | >>INSERT VIMEO |
|
| 36 | 35 | ||
| 37 | 36 | Once it’s processed you can go ahead and view the 3D model/environment! Polycam really is first class; you can create videos, you can view the model in Augmented Reality, it just has so many awesome features! My model isn’t the cleanest since I have so many small detailed objects on my desk, but for something a bit simpler this feature is amazing. |
|
| 38 | 37 | ||
| 39 | - | <iframe title="vimeo-player" src="https://player.vimeo.com/video/703884780?h=de95c5de7a" width="360" height="780" frameborder="0" allowfullscreen></iframe> |
|
| 38 | + | >>INSERT VIMEO |
|
| 40 | 39 | ||
| 41 | 40 | Now that we got our model, we can upload it to the cloud and look at it through our web browser! Just click on the little cloud icon on the top of the screen when viewing your model and it will be uploaded to your cloud storage with Polycam. |
|
| 42 | 41 | ||
| 43 | 42 | Once viewing it in the web browser, we can download the model by clicking “export.” |
|
| 44 | 43 | ||
| 45 | - |  |
|
| 44 | + | >>SCREENSHOT |
|
| 46 | 45 | ||
| 47 | 46 | From there we want to select the GLTF format and start the download! |
|
| 48 | 47 | ||
| 49 | - |  |
|
| 48 | + | >>SCREENSHOT |
|
| 50 | 49 | ||
| 51 | 50 | Ok so we got our 3D file for our environment, now lets do some 3D objects as well! The process is pretty similar, except for 3D objects we’ll switch to the “photo” mode instead of the LiDAR mode. The photo mode will take a bunch of different pictures and put them together to make a 3D model! In the video below you can see what the process looks like as I scan one of my prized possessions, a 1930's edition of Moby Dick illustrated by Rockwell Kent. |
|
| 52 | 51 | ||
| 53 | - | <iframe title="vimeo-player" src="https://player.vimeo.com/video/704181596?h=92cada3864" width="360" height="780" frameborder="0" allowfullscreen></iframe> |
|
| 52 | + | >>INSERT VIMEO |
|
| 54 | 53 | ||
| 55 | 54 | Once we finish scanning the book, I like to select the higher end of the quality allowance, and I like to use the object masking to get all the fine details. These photo mode objects are a bit more work, so when you take one Polycam sends it off to a server for higher powered processing. Due to how intense the work is, you can only take 150 of these a month, but I don’t think that will be an issue for most people. Once they finish processing it, the model looks like this! |
|
| 56 | 55 | ||
| 57 | - | <iframe title="vimeo-player" src="https://player.vimeo.com/video/704185926?h=2a929c3d73" width="360" height="780" frameborder="0" allowfullscreen></iframe> |
|
| 56 | + | >>INSERT VIMEO |
|
| 58 | 57 | ||
| 59 | 58 | The download process looks exactly the same as we did the desk, very easy! Also while you’re still in Polycam, you can edit, adjust, crop, etc. your model all inside their app or website, so that way when the model is exported it’s ready to be turned into an NFT! |
|
| 60 | 59 | ||
| 72 | 71 | ||
| 73 | 72 | Let’s log into Pinata and upload our file. Really simple, just click on the upload button in the top left, give it a name, and upload! |
|
| 74 | 73 | ||
| 75 | - |  |
|
| 74 | + | >>SCREENSHOT |
|
| 76 | 75 | ||
| 77 | 76 | Then we just need to choose a subdomain and make sure its available. If it is, click next! |
|
| 78 | 77 | ||
| 89 | 88 | ``` |
|
| 90 | 89 | ||
| 91 | 90 | Ok our 3D file is on IPFS, the next step is to create a metadata file that will point to that 3D file. Open up your terminal and run: |
|
| 91 | + | ||
| 92 | 92 | ```bash |
|
| 93 | 93 | mkdir 3d-nfts && cd 3d-nfts && touch pinnie.json |
|
| 94 | 94 | ``` |
|
| 138 | 138 | "type": "vr/glb" |
|
| 139 | 139 | } |
|
| 140 | 140 | ``` |
|
| 141 | + | ||
| 141 | 142 | The uri is the link to our content, and the type defines the kind of file we want to use, which in this case is virtual reality (vr) and the file format (glb). Once you get familiar with the metadata standard it’s pretty straight forward. Now that we created this metadata file, save it and upload it to Pinata as well. Once it’s uploaded take note of the CID and save the link to it, should look something like this: |
|
| 143 | + | ||
| 142 | 144 | ``` |
|
| 143 | 145 | https://pinnieblog.mypinata.cloud/ipfs/QmYTQDE2ur5Lo4z76cNjwMAq6H3oNyDb1xuCQfdxMBnmon |
|
| 144 | 146 | ``` |
|
| 147 | + | ||
| 145 | 148 | We’re really close to minting this NFT! [Solana](https://solana.com/) is an up and coming blockchain that is capable of incredible speeds and low transactions fees. Before we go any further you’ll want to make sure you have a couple of things installed on your computer: |
|
| 149 | + | ||
| 146 | 150 | - [Solana CLI](https://docs.solana.com/cli/install-solana-cli-tools) |
|
| 147 | 151 | - [Metaboss](https://github.com/samuelvanderwaal/metaboss) |
|
| 148 | 152 | ||
| 202 | 206 | ||
| 203 | 207 | Then using a wallet like Phantom, click on “Add / Connect wallet, select “import private key,” then paste in our keypair from earlier. Once it’s in your wallet you will want to click on the settings icon in the bottom right, scroll down to “change network” and set it to “Devnet.” Once you do that, go back to your NFTs page and you should see it!! |
|
| 204 | 208 | ||
| 205 | - |  |
|
| 209 | + | >>SCREENSHOT |
|
| 206 | 210 | ||
| 207 | 211 | ## Conclusion |
|
| 212 | + | ||
| 208 | 213 | Polycam really introduces a whole new way of how content can be created using modern tech. You can imagine how this might be used for journalism, where instead of just looking at a photo of a story, you can view it as a 3D object with augmented reality. Someone who explores caves can share their experience as a 3D environment! Paired with Solana as a much faster and affordable layer one solution, and [Pinata](https://pinata.cloud) to deliver IPFS content quickly, the possibilities are endless! |
|