2023-01-12 20:49:14 +01:00
|
|
|
|
2022-03-18 17:46:08 +01:00
|
|
|
|
|
|
|
Exporting 3D scenes
|
|
|
|
===================
|
|
|
|
|
|
|
|
Overview
|
|
|
|
--------
|
|
|
|
|
2024-03-16 20:56:52 +01:00
|
|
|
In Pandemonium it is possible to export 3D scenes as a glTF 2.0 file. You can
|
2023-01-12 19:43:03 +01:00
|
|
|
export as a glTF binary (`.glb` file) or glTF embedded with textures
|
2024-03-16 20:56:52 +01:00
|
|
|
(`gltf` + `.bin` + textures). This allows you to create scenes in Pandemonium,
|
2022-03-18 17:46:08 +01:00
|
|
|
such as a CSG mesh blockout for a level, export it to clean it up in a
|
2024-03-16 20:56:52 +01:00
|
|
|
program such as Blender, and then bring it back into Pandemonium.
|
2022-03-18 17:46:08 +01:00
|
|
|
|
2023-01-12 20:55:57 +01:00
|
|
|
Note:
|
|
|
|
|
2022-03-18 17:46:08 +01:00
|
|
|
|
2024-03-16 20:56:52 +01:00
|
|
|
Only Blender 2.83 and newer can import glTF files exported by Pandemonium.
|
2022-03-18 17:46:08 +01:00
|
|
|
|
|
|
|
To export a scene in the editor go to **Project > Tools > Export GLTF...**
|
|
|
|
|
2024-03-16 20:56:52 +01:00
|
|
|
![](img/gltf_pandemonium_export.png)
|
2022-03-18 17:46:08 +01:00
|
|
|
|
|
|
|
Limitations
|
|
|
|
-----------
|
|
|
|
|
|
|
|
There are several limitations with glTF export.
|
|
|
|
|
|
|
|
* No support for exporting particles since their implementation varies across engines.
|
|
|
|
* ShaderMaterials cannot be exported.
|
|
|
|
* No support for exporting 2D scenes.
|
2023-01-12 19:43:03 +01:00
|
|
|
* Only supported in editor builds (`tools=yes`).
|