arrow-up-to-dotted-line1: Importing the 3D Model

Download the demo data:

Use the following link arrow-up-rightto download the 3D model of a pump required for the demo application.

Extract the downloaded file to your desktop using WinRARarrow-up-rightor 7-Ziparrow-up-right.

In the next step, create a new project using the URealXR template as described in C – 1.

Navigate to the Content Browser and create a folder named Import under Content/.

To import the 3D data of the pump into the editor, we will use the Datasmith interface.

Click the indicated button and select the file Pumpe.udatasmith.

circle-info

Depending on whether you have used the Datasmith interface before, you may first need to enable it under Plugins.

In the next step, click the Open button.

In the window that opens, select the Import folder you just created and click the OK button.

In the next dialog, make sure that both Geometry and Materials are selected for import.

Then confirm by clicking the Import button.

In the World Outliner, search for the entry Pumpe.

Select the pump group, which is indicated by an icon in the shape of a white sphere.

Then press the F key to focus the 3D viewport on this object

By holding down the Left Shift key and manipulating the axis gizmo on the pump group, you can move it onto the table.

The final result should look similar to this.

Tipp: Select the lid of the pump and set its Mobility to Moveable.

This way, the lid will not be included in the lighting calculation, and after removing it, you will be able to view the inside of the pump nicely illuminated.

To finish, click on Build Options and then select Build Lighting Only.

After a few minutes, the lighting calculation for the scene should be completed.

Finally, in the Content Browser, click Save All to save the import.

circle-info

Depending on whether you have used the Datasmith interface before, you may first need to enable it under Plugins. Restart Unreal Editor to enable the new plugin.

Last updated