https://github.com/castle-engine/castle-model-viewer
Viewer for many 3D and 2D model formats: glTF, X3D, VRML, Collada, 3DS, MD3, Wavefront OBJ, STL, Spine JSON, sprite sheets in Cocos2D and Starling XML formats
https://github.com/castle-engine/castle-model-viewer
3d-models castle-game-engine cocos2d collada fpc gltf hacktoberfest md3 model-viewer object-pascal pascal spine sprite-sheets starling stl viewer vrml wavefront x3d x3d-browser
Last synced: about 1 month ago
JSON representation
Viewer for many 3D and 2D model formats: glTF, X3D, VRML, Collada, 3DS, MD3, Wavefront OBJ, STL, Spine JSON, sprite sheets in Cocos2D and Starling XML formats
- Host: GitHub
- URL: https://github.com/castle-engine/castle-model-viewer
- Owner: castle-engine
- Created: 2015-07-30T01:44:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2026-04-06T00:59:39.000Z (about 1 month ago)
- Last Synced: 2026-04-06T02:24:43.351Z (about 1 month ago)
- Topics: 3d-models, castle-game-engine, cocos2d, collada, fpc, gltf, hacktoberfest, md3, model-viewer, object-pascal, pascal, spine, sprite-sheets, starling, stl, viewer, vrml, wavefront, x3d, x3d-browser
- Language: Pascal
- Homepage: https://castle-engine.io/castle-model-viewer
- Size: 40.8 MB
- Stars: 110
- Watchers: 14
- Forks: 22
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING.GPL2.txt
Awesome Lists containing this project
README
# Castle Model Viewer (formerly view3dscene)
Viewer for all 3D and 2D model formats supported by Castle Game Engine.
Supported formats:
- [glTF](https://castle-engine.io/gltf)
- [X3D](https://castle-engine.io/vrml_x3d.php)
- VRML 2.0 (aka VRML 97) and 1.0
- [Spine JSON](https://castle-engine.io/spine)
- [Sprite sheets (in CGE, Starling and Cocos2d formats)](https://castle-engine.io/sprite_sheets)
- castle-anim-frames
- OpenInventor (IV)
- 3DS
- [MD3](https://castle-engine.io/md3)
- Wavefront OBJ
- Collada
- STL
- PLY
See also [Castle Game Engine model formats](https://castle-engine.io/creating_data_model_formats.php).
Complete documentation on https://castle-engine.io/castle-model-viewer .
Using Castle Game Engine, see https://castle-engine.io/ .
# castle-model-converter (formerly tovrmlx3d)
`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 .
## Building
Compile by:
- [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
- Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
- Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `castle_model_viewer.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
- Or use [Delphi](https://castle-engine.io/delphi). Open in Delphi project `castle_model_viewer.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.
## License
GNU GPL >= 2.