Exporting 3D and 2D models
Our engine supports a number of standardized formats for 3D and 2D assets, most notably
X3D and
glTF.
As such, you can use almost any 3D or 2D authoring tool to
make models for your games.
When exporting your models, we highly advice checking your models in
Castle Model Viewer
to see if everything is exported correctly.
Opening models in castle-model-viewer is usually easier than running your whole game
to test that a particular asset was exported OK.
And Castle Model Viewer was implemented
using our engine, so it can render exactly the same thing as your game.
The advised 3D and 2D formats to use are described on this page:
These pages describe the adviced approach for a particular authoring software:
Other hints:
The engine by default follows the convention that the Y axis is "up".
This is also the recommended convention of both glTF and X3D.
The exporters generally automatically adjust to it,
e.g. when exporting from Blender (where the Z axis is by convention "up"),
the exporter rotates your model.
See "Which way is up?" manual chapter for more information about this, and how you can customize it.