Question
[US2] Import and display a 3D aircraft model
Asked by: USER3152
44 Viewed
44 Answers
Answer (44)
As a pilot, I want to see a high-resolution 3D aircraft model in the scene so I can present a visually credible prototype.
Acceptance Criteria:
- Aircraft model is imported as an FBX file
- Model is visible in the Unity scene
- No pink textures are visible
- The FBX file is tracked using Git LFS
Answer:
To import and display a high-resolution 3D aircraft model in Unity as per your requirement, follow these steps:
-
Import the FBX file:
- Go to
Assets > Import Package > Custom Package. - Navigate to the location of your FBX file and select it.
- Click on
Importto import the file into your Unity project. Make sure the import settings are set toAutomatically ConfigureandApply Import Settings.
- Go to
-
Check the Model Visibility:
- Go to the
Hierarchywindow and check if the imported aircraft model is present. - If not, go to the
Assetswindow, find the imported model, and drag it into theHierarchywindow.
- Go to the
-
Check the Textures:
- Select the imported aircraft model in the
Hierarchywindow. - Go to the
Inspectorwindow to check theMaterialscomponent. - Ensure that all textures are applied correctly and no pink textures are visible. If there are any missing textures, import them using the
Import New Assetbutton.
- Select the imported aircraft model in the
-
Track the FBX File with Git LFS:
- To track the FBX file with Git LFS, make sure you have Git LFS installed. If not, install it from the official Git LFS website.
- Add the FBX file to the
.gitignorefile to exclude it from your Git repository. - Use the
git lfs trackcommand in the terminal to track the FBX file. For example,git lfs track path/to/your/aircraft.fbx.
By following these steps, you should be able to import and display a high-resolution 3D aircraft model in Unity, ensuring a visually credible prototype for your pilot application.