realvirtual.io
  • Building Digital Twins with Unity and realvirtual.io
  • Basics
    • Installation
    • Demo Model
      • Old Demo Model
    • Editor User Interface
      • Hierarchy Window
      • 3D Views
      • Quick Edit
      • Move Pivot Points (Pro)
      • Selection Window (Pro)
      • Material Window (Pro)
      • Measurement (Pro)
      • Kinematic Tool (Pro)
      • Model Checker
    • Runtime UI
      • Group Manager
      • Debug Console
      • Responsiveness
      • Runtime Persistence
    • Importing and exporting
    • Folder structure
    • Tutorial
    • Physics
    • CAD import (Pro)
      • CADLink (Pro)
      • CAD Checker (Pro)
      • CAD Updater (Pro)
    • Reusable Components (Prefabs)
    • Cadenas parts4cad
    • Publishing the Digital Twin
    • Revision management
  • News
  • Login & Download Updates (Pro)
  • Components & Scripts
    • Realvirtual
      • Environment Controller
    • MU, Source and Sink
      • Source
      • Sink
    • Motion and Kinematic
      • Drive
      • Kinematic
      • Group
      • Joint
      • CAM
      • TransportSurface
      • Guided Transport
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • PartChanger
      • Cutter
    • Scene Interaction
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables
      • Lamp
      • Interact3D
      • UI components
      • HMI components (Pro)
        • Start your own HMI
        • HMI Tab
        • HMI DropDown
        • HMI Puschbutton
        • HMI Switch
        • HMI Value
        • HMI Text
        • HMI Slider
        • HMI Message
        • HMI Marker
      • ModelZoo (Pro)
    • Interfaces
      • Interface Tools
        • Signal Manager
        • Signal Importer Exporter
        • Signal Catcher
        • OnValueChangedReconnect
      • Signal Importer / Exporter
      • ABB RobotStudio (Pro)
      • Denso Robotics (Pro)
      • EthernetIP (Pro)
      • Fanuc (Pro)
      • FMI
      • Igus Rebel
      • MQTT (Pro)
      • Modbus (Pro)
      • OPCUA (Pro)
      • PLCSIM Advanced (Pro)
      • RoboDK (Pro)
      • RFSuite (Pro)
      • SEW SimInterface (Pro)
      • Siemens Simit Interface (Pro)
      • Simit Shared Memory (Pro)
      • Simulink (Pro)
      • S7 TCP
      • TwinCAT (Pro)
      • TwinCAT HMI (Pro)
      • UDP (Pro)
      • Universal Robots (Pro)
      • Wandelbots Nova (Pro)
      • Websocket (Pro)
      • Windmod Y200 (Pro)
      • Custom Interfaces
    • Performance Tools
      • Combine Meshes (Pro)
      • Create Prefab (Pro)
      • Hierarchy Cleanup (Pro)
      • Mesh Optimizer (Pro)
      • Performance Optimizer (Pro)
    • Defining Logic
      • Unity Scripting
      • Behavior Graph
      • Logicsteps
      • Unity Visual Scripting
      • Recorder
    • Robot Inverse Kinematics (Pro)
    • Volume Tracking (Pro)
  • Multiplayer (Pro)
  • Extensions
    • ModelZoo
      • Beckhoff TwinCAT
      • Siemens S7
      • Denso Cobotta 1300
      • Wandelbots Nova Fanuc CRX
      • Universal Robots UR10
      • Fanuc Roboguide
    • realvirtual.io AIBuilder
      • realvirtual.io AI Builder Overview
      • Generate AI Training Data
      • AI Training
      • Testing AI in a Digital Twin
      • Deploying the AI
    • realvirtual.io Simulation
      • Conveyor Library
      • Path System
        • Path finding
        • Line
        • Curve
        • Workstation
        • Catcher
        • Pathmover
    • realvirtual.io Industrial Metaverse
      • Setup Guide
      • VR Modules
      • AR Modules
      • Multiuser
    • AGX Physics
    • VR Builder
    • CMC ViewR
  • Advanced Topics
    • Render Pipelines
    • Mixed Reality with Meta Quest3
    • Upgrade Guide
      • Upgrade to 2022
    • Open Digital Twin Interface
    • Usefull Addons
    • Improving Performance
    • Supported Platforms
    • Compiler Defines
    • For Developers
      • Important Classes and Interfaces
      • Assembly Definitions
      • Starting your development
      • Class documentation
      • realvirtual Init Sequence
      • realvirtualBehavior Lifetime Methods
      • Testing
    • Newtonsoft JSON
    • Troubleshooting
  • Release Notes
  • AI Digital Twin Assistant (GPT4)
  • License Conditions
Powered by GitBook
On this page
  • Integrating RealVirtual AssetBundles into CMC ViewR
  • 1. Preparing the Unity Scene
  • 2. Preparing the Scripts
  • 3. Creating the AssetBundle
  • 4. Importing the AssetBundle into CMC ViewR
  • 5. Using ViewR
Edit on GitHub
  1. Extensions

CMC ViewR

PreviousVR BuilderNextRender Pipelines

Last updated 7 months ago

CMC ViewR is an advanced immersive viewing application specifically designed for visualizing CAD data. It supports a variety of immersive experiences, including use with VR glasses and large 3D projections, providing an enhanced and interactive environment for users.

The application also supports the import of scenes from realvirtual.io, allowing seamless integration and visualization of complex scenes within the CMC ViewR platform.

For more information, please visit the official website: .

Here is a presentation of CMC ViewR and realvirtual.io on Hannover Fair 2024:

Integrating RealVirtual AssetBundles into CMC ViewR

The CMC AssetBundleBuilder enables the visualization of RealVirtual Unity scenes in CMC ViewR with full functionality. This guide explains the necessary steps to export a Unity scene as an AssetBundle and load it into CMC ViewR.

1. Preparing the Unity Scene

CMC ViewR uses its own user interface (UI) and cameras within the scene. Therefore, any default Unity cameras and UI elements in the scene should either be removed or deactivated to avoid conflicts.

2. Preparing the Scripts

To ensure all scene functionalities are successfully transferred into the AssetBundle, the required scripts need to be placed in a specific directory and associated with an Assembly Definition.

All RealVirtual scripts are already equipped with Assembly Definitions. However, if you have additional functionality, it’s important to include these in a corresponding Assembly Definition. The following figure shows an example.

3. Creating the AssetBundle

Once the scene is prepared, the AssetBundle can be built. For this, the CMC AssetBundleBuilder is used. The main function of the AssetBundleBuilder is to convert the objects in the currently loaded scene, along with their scripts, into an AssetBundle, which can then be loaded into CMC ViewR.

To do this, open the AssetBundleBuilder window via the toolbar under the CMC tab. In this window, you need to provide two inputs:

  • The storage location for the AssetBundle

  • The name of the AssetBundle

After setting these values, click the Generate AssetBundle button to build the AssetBundle.

4. Importing the AssetBundle into CMC ViewR

In CMC ViewR, Unity AssetBundles with the .unity3d format can be imported. To load an AssetBundle, open the Start tab and select the Import function.

5. Using ViewR

After successfully importing the AssetBundle, the scene can be viewed in CMC ViewR.

CMC ViewR launches with a default desktop configuration. You can rotate the camera using the right mouse button and navigate through the scene with the middle mouse button. More features of ViewR can be explored in the ViewR Manual, which is available at: .

ViewR Manual
CMC ViewR
Deactivated Camera/UI in Unity
Unity context menu to create an Assembly Definition
Example of an Assembly Definition for additional functionality
CMC AssetBundleBuilder window
Import function in CMC ViewR
Loaded realvirtual.io AssetBundle in CMC ViewR