Portalgraph App Creation Tutorial
We explain how to create the simplest Portalgraph application.
Last updated
We explain how to create the simplest Portalgraph application.
Last updated
Gaming PC with a web camera
Installing Portalgraph runtime.
Unity 2019.4 or higher
If you haven't created a project yet, create a new project from Unity Hub. Please select the 3D template.
From the menu, go to Assets → Import Package → Custom Package, select portalgraph.unitypackage, and import the assets into the project.
Import the Essential Resources for TextMesh Pro. From the menu, go to Window → TextMeshPro → Import TMP Essential Resources and click to import.
In Unity, create a new scene and place the Portalgraph/Portalgraph prefab from the Project at coordinates (0, 0, 0). The coordinates of Portalgraph/ScreenCenter will represent the center point of the display screen. Additionally, place a Cube at coordinates (0, 0, 0) with a size of (0.1, 0.1, 0.1), making it smaller than your PC monitor.
Click on Build Settings in the menu.
Click 'Add Open Scenes' to add the current scene to 'Scenes in Build', and then click 'Build' to build.
When you run the generated executable file, a 10 cm cube will be displayed on the screen. If this is your first time running Portalgraph, a screen size input window will appear—please enter the screen size.
With these steps, you will have a Portalgraph application that allows you to view in 3D from various angles.