This guide provides a rapid, step-by-step walkthrough to get your first real time 3D scene up and running with real-time data visualization in Twinnoverse.
Goal: Create a simple 3D scene, add an asset, link an asset custom UI to a data-source, and see live data updates.
Prerequisites: Twinnoverse application installed and you are successfully authenticated.
If you haven’t done so, please refer to “Welcome to Twinnoverse“, For installation and authentication instructions.
Step 1: Create a Datasource #
Datasources are the channels through which Twinnoverse receives external data. In this step, you’ll set up a new data stream.
- From the Dashboard, navigate to the Datasources tab.
- Click the “Create New Datasource” button.
- Enter a Name (e.g.,
MyFirstData). - Click “Confirm”.
- IMPORTANT: The generated API Key and Ingestion URL are essential for sending data to this datasource.
Step 2: Upload a 3D Asset #
Bring your own 3D models into Twinnoverse to represent your physical assets. Here, you’ll add a model that will later display your data (You can download the 3d model used in this demo from Here)
- From the Dashboard, navigate to the Assets tab.
- Click the “Upload New Asset” button.
- Click “Select File” and choose a 3D model file from your computer , Or use the demo model (e.g.,
.glb). - Provide an Asset Name.
- Click “Confirm Upload“.
To learn more about supported formats and asset preparation, see Asset Management.
Step 3: Configure Your Asset with a Widget #
Widgets are visual components that display data directly on your 3D assets. You’ll add a simple widget to show a single data point.
- In the Assets tab, find the asset card you just uploaded and click on it. This opens the Asset Editor.
- On either the Left or Right panel, click the “+ Add Widget” button.
- From the Widget Library, select “Single Data Widget“.
- In the Widget Settings panel:
- For Datasource, select
MyFirstData(or whatever you named your datasource in the Step 1) from the dropdown. - For Data Key, type
value(this is the specific key within your JSON data that this widget will monitor). - For Title, type:
Total Production(this will be the label displayed on the widget). - Click “Save“.
- For Datasource, select
For a comprehensive guide on widgets and their configurations, visit The Widget System.
Step 4: Create and Build a Scene #
Scenes are your 3D canvases where you arrange and interact with your assets. Here, you’ll create a new scene and place your asset within it.
- From the Dashboard, navigate to the Scenes tab.
- Click the “Create New Scene” button.
- Enter a Scene Name (e.g.,
MyFirstScene). - Click “Confirm”.
- Find your new scene card in the list and click on edit button. This will open the Scene Editor.
- In the Scene Editor, Click on the build icon in the bottom panel and then select your uploaded asset from the available assets(located on the right side of the screen).
- Click on the grid within the 3D view to place your asset.
- Click the “Save” button to save your scene layout.
Step 5: View Your Scene #
Experience your 3D Scene! This step takes you to the live view of your configured scene.
- From the Dashboard, navigate back to the Scenes tab.
- Find
MyFirstSceneand click on the card. - You should now see your 3D asset in the space, Click on the 3D assets to display the assigned widget with the “Total Production” Title. It will likely display “—” or a default value, as no real-time data has been sent yet.
To learn more about scene manipulation, refer to the Scene page. To explore navigation and discover additional features for building your environments.
Step 6: Send Data to Your Datasource #
This is where you push live data to your Twinnoverse datasource, which will then be reflected in your 3D scene.
- Open an API client like Postman, Thunder client or Bruno.
- Create a new POST request.
- Set the URL to the Ingestion URL you noted in Step 1.
- Go to the Headers section and add:
- Key(or name):
X-API-Keyand in the Value:YOUR_API_KEY(ReplaceYOUR_API_KEYwith the API Key from Step 1).
- Key(or name):
- Go to the Body section, select
JSON. - Enter the following JSON payload, matching the
Data Keyyou set for your widget(You can copy this from the datasource json body):
{
"Your json key": 42.7
}
- Click “Send” in your API client, the Response Tab should retuern a response of success
Refer to the Developer & API section for detailed documentation and other methods of sending your data.
Step 7: Observe Real-time Updates #
Switch back to your Twinnoverse Scene Viewer. You should immediately see the “Production” widget on your 3D asset update to `42.7`!
Congratulations! #
Congratulations! You’ve successfully created and visualized your first real-time 3D scene in Twinnoverse. Experiment with different values and watch your digital replica come alive!
