Unity's learning road from 0 to giving up day 2 - import PMX model, download resources and import

                                                                                         ——Leaning on the east wind, smiling brightly, looking forward to thousands of flowers falling in shame.

Foreword: 

        What! After working hard for a long time, it was swallowed! ! ! ! I humbly wrote it again! There is too much unsaved content! Give up, give up! I have to give up. I can’t write this at all.

1. Open the project

        After downloading the above and creating a new 3D project, we come to the creation page, where the dream begins. This is the default view, I imported some terrain, ignore it for now. Look at the upper right corner, follow the tutorial, switch to 2X3 view, Emmm, it’s really good!

        It is divided into 5 parts. The upper left image shows the design content, which is the editing interface for creation, and the lower part shows the camera perspective, which is the initial perspective that the player will see. The first one on the right is the component list in the design drawing, the middle is the external resource component list, the middle right is the thumbnail mode of the component list, and the far right is the file details. 

         After selecting the view, open the second one (Edit) in the upper left corner, click Preferences, and if you don’t understand English, go in order. You can find the language in it and replace it with Simplified Chinese.

         According to the tutorial, in the external tools here, you need to change the default file format opening method to VS, which is the one downloaded in the previous article. If it is not downloaded, you can go back to the editor to make up the next one. If you have other versions on your computer, you can also use it. No need to download again.

        

 

 2. Import the model

        According to the tips from enthusiastic netizens, I immediately thought of importing any model. I had already known about the free models of Genshin Impact before, but now I can finally take action! (Get ready!), go to the free official website model location, register an account, follow, like, collect, download, all in one go.

 Download address: Professional model creation and sharing community_Model House_PlayBox

         After the download is completed, it will be a model in PMX format, which is different from what Unity is adapted to. The model format that Unity directly runs is FBX, which needs to be slightly changed. After a series of surfing the Internet, I found a better method. It is much more convenient to use the MMD4 tool to convert directly in Unity.

        In the following address, find the MMD4Mecanim tool and download it directly. After downloading and unzipping, drag it directly to the Assets folder on the Unity work page (the resources imported later and a series of resources should be under this folder).

Download address: Stereoarts Homepage

        When both the model and the plug-in are successfully imported, the file will appear in the model folder. Just click Next, select the save location and wait.

        According to the model content, after completing the above steps, the file as shown in the picture will be generated. Click and select the humanoid on the right, and the application can be dragged into the design drawing on the upper left side for use.

                 Why is it so simple, you ask? Because the detailed process was somehow not saved, I am too lazy to take a screenshot again = =

3. Resource store

        There are limits to human abilities. One thing I have learned from my short life is that the more you play tricks, the more you will find that there are limits to human abilities unless you surpass humans.

        It is a bit difficult to design both models and games independently, but with the help of the public, everyone’s hearts come together!

 

        After initial use, you can go to the official resource store to do some shopping. After opening it, a check and a blue button will appear in the Unity software for the first time. Click after checking, and it will not appear again in the future. appears, and the default selection is to open the web page. After clicking, you will enter the resource store, where you can log in and add resources to my resource library for use. There are paid and free resources. You can request them as needed.

         All the added resources are in the package manager. Select My Assets from the package in the upper left corner, and you will see a series of components we added to My Resources. Select the required component resource to download and import, and you can see the corresponding file under the resource folder Assets, indicating that it has been successfully imported. 

         After the import is successful, find the corresponding resource model and drag it to the left side for use. Of course, the detailed editing interface will definitely not be so simple. The preliminary import model and store shopping methods are as mentioned above.

        What? So simple? Of course, I can’t even take screenshots of the process. Even though I saved it, the page didn't respond and I jumped to the previously saved progress. Damn it!

 

Guess you like

Origin blog.csdn.net/qq_50547383/article/details/130248476