Viewer for all 3D and 2D model formats supported by Castle Game Engine.
Supported formats:
- glTF
- X3D
- VRML 2.0 (aka VRML 97) and 1.0
- Spine JSON
- Sprite sheets (in CGE, Starling and Cocos2d formats)
- castle-anim-frames
- OpenInventor (IV)
- 3DS
- MD3
- Wavefront OBJ
- Collada
- STL
See also Castle Game Engine model formats.
Complete documentation on https://castle-engine.io/castle-model-viewer .
Using Castle Game Engine, see https://castle-engine.io/ .
castle-model-converter
is a simple command-line program to convert all supported model formats to X3D, and to pretty-print X3D and VRML. It can also be used to validate models.
Note that in simple cases, castle-model-viewer
can also be used to convert models. Interactively (just open a model, and then use menu items "File -> Save As...") or from command-line (use --write
and related options). But castle-model-converter
has a bit more options and at the same time lighter requirements (it does not depend on any GUI libraries).
The documentation of command-line options to perform convertion is on https://castle-engine.io/castle-model-converter .
Compile by:
-
CGE editor. Just use menu items "Compile" or "Compile And Run".
-
Or use CGE command-line build tool. Run
castle-engine compile
in this directory. -
Or use Lazarus. Open in Lazarus
castle_model_viewer.lpi
file and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.
GNU GPL >= 2.