castle-model-viewer - Viewer for 3D and 2D models, like glTF, X3D, VRML and more
Contents
Description
castle-model-viewer is a viewer for 3D and 2D model formats supported by Castle Game Engine: glTF, X3D,
VRML, MD3, OBJ, STL, Collada, Spine JSON, sprite sheets and more.
Supports viewing the scene in the "Examine" mode and walking in the virtual world with collision
detection and gravity. Many 3D graphic effects are available like mirrors, shadows, shaders. We can also
convert between some model formats.
Full documentation is available online at https://castle-engine.io/castle-model-viewer.
Name
castle-model-viewer - Viewer for 3D and 2D models, like glTF, X3D, VRML and more
Options
-h,--help
Print the help message and exit.
-v,--version
Print the version number and exit.
-H/--hide-extras
Do not show anything extra (like status text or toolbar or bounding box) when program starts. Show
only the loaded model.
--screenshotTIMEIMAGE-FILE-NAME
Take a screenshot of the loaded scene at given TIME, and save it to IMAGE-FILE-NAME. You most
definitely want to pass 3D model file to load at command-line too, otherwise we’ll just make a
screenshot of the default black scene.
--screenshot-rangeTIME-BEGINTIME-STEPFRAMES-COUNTFILE-NAME
Take a FRAMES-COUNT number of screenshots from TIME-BEGIN by step TIME-STEP. Save them to a single
movie file (like .avi) (ffmpeg must be installed and available on $PATH for this) or to a sequence of
image files (FILE-NAME must then be specified like image@counter(4).png).
--viewpointNAME
Use the viewpoint with given name or index as initial. Especially useful to make a screenshot from
given viewpoint.
Use full-screen anti-aliasing. Argument AMOUNT is an integer >= 0. Exact 0 means "no anti-aliasing", this
is the default. Each successive integer generally makes method one step better. Especially useful to make
a screenshot with anti-aliasing quality.
--audio-deviceDEVICE-NAME
Choose specific OpenAL audio device. See the available device names in the --help output, or in the
"Preferences → Sound Device" menu.
--no-sound
Turn off sound.
Resources
Projectwebsite: https://castle-engine.io/castle-model-viewer
UsingCastleGameEngine: https://castle-engine.io/
See Also
castle-model-converter(1)Synopsis
castle-model-viewer [OPTION]... [FILE]
Window Options
--geometryWIDTHxHEIGHT<sign>XOFF<sign>YOFF
Set initial window size and/or position.
--fullscreen
Set initial window size to cover whole screen.
--fullscreen-customWIDTHxHEIGHT
Try to resize the screen to WIDTHxHEIGHT and then set initial window size to cover whole screen.
--displayDISPLAY-NAME
Use given X display name.
