Skip to content

5 ‐ 3D Models

Doug Hunsaker edited this page Nov 1, 2023 · 13 revisions

A. Importing STL Models

Screenshot 2023-11-01 at 2 30 21 PM

  • Extract the downloaded folder to access the STL file

  • In order to use an STLModels need to be converted to a .glb file type. Some programs that can convert 3D models to the .glb file type include:

  • Paint 3D
  • Microsoft Paint 3D
  • Microsoft Remix 3D
  • Blender
  • Trimble 3D Warehouse
  • SketchUp There are also many website that can be used to perform the conversion. For example, https://fabconvert.com/convert/stl/to/glb
  • We will convert an F-16 STL to GLB using Paint 3D as an example.

  • Open the model in Paint3D

Screenshot 2023-11-01 at 2 31 03 PM

  • Then, save the model. ‘Menu’ -> ‘Save as’ -> ‘3D Model’

Screenshot 2023-11-01 at 2 31 43 PM

  • Then, select to save as a .glb file type.

Screenshot 2023-11-01 at 2 32 09 PM

  • Once the file is in .glb format, it can be added to the Unreal Engine project.

  • Open the Content Browser by pushing 'CTRL + Spacebar'

  • Navigate to the All -> Content -> Blueprints Folder

  • Drag the .glb file into this folder.

Screenshot 2023-11-01 at 2 44 22 PM

  • Once it appears in that folder, double-click on the image of the F-16 in that folder to edit and view the model.

  • Select the viewport tab to see the model in the blueprint.

Screenshot 2023-11-01 at 2 46 15 PM

  • We can change aspects of the model such as scale, rotation, and location from the details menu on the right side after clicking on the model.

B. Scaling and Rotating the Model


C. Model Appearance

  • We can change the appearance of the model by using a material.
  • To create a material. Open the content browser with CTRL + Space bar.
  • Right click in the window and select ‘Material’ under ‘Create Basic Asset’, then rename.

Screenshot 2023-11-01 at 2 47 30 PM

  • Go back to the ‘Materials’ section in our model detail window and select our new material from the drop-down menu.

Screenshot 2023-11-01 at 2 48 02 PM

  • Our model now has the appearance of our new material. To edit our material, open the material by opening the Content browser again and double clicking on the material.

  • This will open a new window for the material. Right click in the grid and search ‘Constant3Vector’ then select.

Screenshot 2023-11-01 at 2 48 34 PM

Screenshot 2023-11-01 at 2 48 55 PM

  • Right click the added node and select ‘Convert to Parameter’. Then connect the node to the skin.

Screenshot 2023-11-01 at 2 49 21 PM

Screenshot 2023-11-01 at 2 49 38 PM

  • You can change the color by double clicking the big square in the node and selecting a color and clicking OK.

Screenshot 2023-11-01 at 2 50 03 PM

  • Press CTRL + S to save the skin. Our model’s color has now been changed.

Screenshot 2023-11-01 at 2 50 29 PM

Click the Compile button in the top left corner in the blueprint if it is yellow to turn it green.


D. Setting a Camera

Clone this wiki locally