> For the complete documentation index, see [llms.txt](https://docs.icraft.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.icraft.design/editor-features/subscene.md). Agents can also search and read this documentation through its [MCP server](https://docs.icraft.design/~gitbook/mcp).

# Subscene

In complex scene construction, a single scene often contains a large number of models, structures, and logical relationships. To improve clarity, maintainability, and reusability, **iCraft** provides the *Subscene* feature.

A Subscene allows you to create an independent, nested scene within a specific element. This nested scene has full editing capabilities—just like a regular main scene—and can be reused, managed, and presented as a whole.

This capability is especially valuable in complex engineering scenarios such as architectural design, industrial equipment modeling, digital twins, and process systems.

***

## What is a Subscene?

A Subscene is an independent scene space attached to a specific element:

* A complete 3D editing environment
* Contains its own models, lighting, animations, interactions, and logic
* Can be nested within the main scene as a whole
* Appears as a single “element” in the main scene

You can think of it as:\
**“a scene within a scene”**, or a **“nestable micro-project.”**

***

## How to Create and Edit a Subscene?

{% stepper %}
{% step %}

#### Entry Point

* In the main scene, select any object (such as a cube, a building model, or a specific icon).
* In the floating toolbar on the right, locate the "**Subscene"** icon.
  {% endstep %}

{% step %}

#### Enter Editing Mode

* Click the "**Subscene"** icon. The main scene will temporarily fade out, and the view will switch to an empty space inside the selected object.
* You can now freely build and edit details within this nested space.
  {% endstep %}

{% step %}

#### Return to the Main Scene

* Use the top navigation bar and click the **"Go Back"** icon at any time to return to the main scene.

![](https://2043086618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqs5xBLyTN4cVMplr2ANM%2Fuploads%2FghFqTcQck8ajshBdisuk%2F%E5%AD%90%E5%9C%BA%E6%99%AF-%E8%8B%B1%E6%96%87.webp?alt=media\&token=18503766-46f2-44be-b29b-469f1f04dd0f)
{% endstep %}
{% endstepper %}

***

## Advantages of Subscenes

* **Optimized Performance, Smooth Experience**\
  The editor only renders objects at the current level in real time, significantly reducing GPU memory usage in large-scale projects.
* **Modular Design, Clear Structure**\
  Break down complex scenes into multiple submodules. Each module is represented as a Subscene, making the hierarchy easy to understand.
* **Enhanced Interaction, Engaging Experience**\
  Provides end users with a progressive, layered exploration experience that aligns with natural spatial cognition.
* **Independent Editing, No Interference**\
  Each Subscene supports full editing capabilities, including lighting, camera control, animation setup, and independent model management.

***

## Typical Use Cases

#### Scenario 1: Campus and Interior Switching

* **Approach:**\
  The main scene represents a full view of a technology campus. Each building is assigned its own Subscene.
* **Result:**\
  Users can smoothly navigate the campus. When clicking on a building, they can “enter” it to explore offices, workstations, and asset layouts.

#### Scenario 2: Complex Equipment Decomposition

* **Approach:**\
  The main scene contains a complete server rack model. A Subscene is created for the rack.
* **Result:**\
  Inside the Subscene, detailed elements such as server boards and cable connections can be modeled without increasing the rendering load of the main scene.

#### Scenario 3: Logical Group Management

* **Approach:**\
  Components are grouped into different Subscenes based on business logic (e.g., power systems, cooling systems).
* **Result:**\
  Greatly improves collaboration efficiency, allowing team members to focus on their respective Subscenes independently.
