# CMC ViewR

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 supports the import of scenes from **realvirtual**, allowing seamless integration and visualization of complex industrial digital twin scenes within the CMC ViewR platform.

{% hint style="info" %}
This feature requires **realvirtual Professional** license.
{% endhint %}

{% hint style="warning" %}
**Beta Feature**: CMC ViewR integration is currently in Beta (available since release 6.0.7-beta). The functionality and workflow may change in future releases. Please report any issues or feedback to realvirtual support.
{% endhint %}

## Restrictions and Limitations

When exporting realvirtual scenes to CMC ViewR, please note the following restrictions:

### Unsupported Components

The following components are not supported as CMC ViewR provides its own interaction and navigation systems:

* **SceneSelectables** - Not working (CMC ViewR uses its own selection and interaction system)
* **DebugConsole** - Not working (replaced by CMC ViewR's debugging and logging features)
* **RealvirtualRuntimeUI** - Not working (replaced by CMC ViewR's interaction and scene navigation interface)

### Custom Scripts Requirement

* **Custom scripts must be inside an Assembly Definition** - Any custom scripts you've created need to be organized within an Assembly Definition file (.asmdef) to be properly included in the AssetBundle export. See the [Preparing the Scripts](#2-preparing-the-scripts) section below for detailed instructions.

{% hint style="info" %}
**Automatic Deactivation**: When the AssetBundle is loaded in CMC ViewR, all components except **realvirtualController** are automatically deactivated. The realvirtualController remains active to maintain core simulation functionality, while CMC ViewR handles all user interaction, scene navigation, and UI presentation through its native platform features.
{% endhint %}

## Overview

CMC ViewR is an XR (extended reality) platform designed specifically for industrial applications, enabling professionals to work with digital twins in the industrial metaverse built directly from 3D data. The platform excels at real-time 3D visualization of CAD data and supports both VR headsets and large 3D projections.

### Key CMC ViewR Capabilities

**Virtual Engineering:**

* Concept evaluation and validation on digital prototypes
* Virtual commissioning and industrial engineering
* Error reduction through early validation
* Digital twin applications for plant coordination

**Virtual Showroom:**

* Immersive product demonstrations without physical prototypes
* Reduced logistics and exhibition costs
* Maximum product customization flexibility
* Independent of physical product availability

**Collaboration:**

* Multi-user virtual project rooms
* Supports both VR headsets and desktop participants
* Real-time collaboration across distributed teams
* Point cloud integration with 3D data

### Hannover Fair 2024 Demonstration

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

{% embed url="<https://youtu.be/7hAN-QGV7XQ?si=8kJAetFDKBjM8Hl6>" %}

## 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.

### Download CMC AssetBundleBuilder

Download and import the CMC AssetBundleBuilder Unity package into your realvirtual project:

{% file src="/files/wqpXWCvlV6J6cpWIiF5m" %}
CMC AssetBundleBuilder Unity Package
{% endfile %}

To install:

1. Download the Unity package file using the download button above
2. In Unity, go to **Assets > Import Package > Custom Package...**
3. Select the downloaded `CMC_AssetBundleBuilder.unitypackage`
4. Import all files in the package

### 1. Preparing the Unity Scene

CMC ViewR uses its own user interface (UI) within the scene. You can keep your Unity cameras and UI elements active - CMC ViewR will handle the viewing environment.

### 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**.

For more information about Unity Assembly Definitions, see the official Unity documentation:

{% embed url="<https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html>" %}
Unity Assembly Definition Files Documentation
{% endembed %}

<figure><img src="/files/CD07K6zEDECSKx71BtnB" alt=""><figcaption><p><em>Unity context menu to create an Assembly Definition</em></p></figcaption></figure>

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.

<figure><img src="/files/rok2WrbuOB4ZA66zJmWT" alt=""><figcaption><p><em>Example of an Assembly Definition for additional functionality</em></p></figcaption></figure>

### 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.

<figure><img src="/files/UEoXD3U48VAfo6DBoAuI" alt=""><figcaption><p><em>CMC AssetBundleBuilder window</em></p></figcaption></figure>

### 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.

<figure><img src="/files/lwBrlVZiCIJGZ9rCjCMN" alt=""><figcaption><p><em>Import function in CMC ViewR</em></p></figcaption></figure>

### 5. Using ViewR

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

<figure><img src="/files/Vp0sVL0Awd3AVSDAVKdq" alt=""><figcaption><p>Loaded realvirtual AssetBundle in CMC ViewR</p></figcaption></figure>

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](https://www.cmc-viewr.de/de/downloads).

## CMC ViewR Resources

For more information about CMC ViewR:

* [CMC ViewR Official Website](https://www.cmc-viewr.de/en)
* [CMC ViewR Manual (Downloads)](https://www.cmc-viewr.de/de/downloads)
* [CMC ViewR Features](https://www.cmc-viewr.de/en/features)

## Related Publishing Options

* [Windows Publishing](/basics/publishing-the-digital-twin/windows.md) - Create the Windows build first as a prerequisite
* [WebGL Publishing](/basics/publishing-the-digital-twin/webgl.md) - Browser-based deployment alternative
* [Innoactive](/basics/publishing-the-digital-twin/innoactive.md) - Cloud streaming platform
* [Mixed Reality with Meta Quest3](/advanced-topics/mixed-reality-with-meta-quest3.md) - Direct VR/AR deployment

## See Also

* [VR Builder](/extensions/vr-builder.md) - Alternative VR development tools
* [Industrial Metaverse](https://github.com/game4automation/doc/blob/doc/extensions/realvirtual.io-industrial-metaverse) - Multi-user VR/AR solutions

© 2025 realvirtual GmbH [https://realvirtual.io](https://realvirtual.io/) - All rights reserved.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.realvirtual.io/basics/publishing-the-digital-twin/cmc-viewr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
