Skip to main content
Version: 2.3.0

Options exhaustive list

An option is a string used as a key associated with a value, which are stored in an options instance. The possible option are listed below and are organized by categories and subcategories, here is a non-exhaustive explanation of the categories.

  • scene options are related to how the scene is being displayed
  • render options are related to the way the render is done
  • render.effect options are related to specific techniques used that modify the render
  • ui options are related to the screenspace UI element displayed
  • model options are related to modifications on the model, they are only meaningful when using the default scene
  • interactor options requires an interactor to be present to have any effect.

Please note certain options are taken into account when rendering, others when loading a file. See the exhaustive list below, but note that this may change in the future.

Scene Options

OptionType
Default
Trigger
DescriptionF3D option
scene.animation.autoplaybool
false
load
Automatically start animation.--animation-autoplay
scene.animation.indexint
0
load
Select the animation to load.
Any negative value means all animations (glTF only).
The default scene always has at most one animation.
--animation-index
scene.animation.speed-factordouble
1
render
Set the animation speed factor to slow, speed up or even invert animation.--animation-speed-factor
scene.animation.frame-ratedouble
60
render
Set the animation frame rate used to play the animation interactively.--animation-frame-rate
scene.camera.indexint
-1
load
Select the scene camera to use when available in the file.
Any negative value means automatic camera.
The default scene always uses automatic camera.
--camera-index
scene.up-directionstring
+Y
load
Define the Up direction--up

Interactor Options

OptionType
Default
Trigger
DescriptionF3D option
interactor.axisbool
false
render
Show axes as a trihedron in the scene.--axis
interactor.trackballbool
false
render
Enable trackball interaction.--trackball

Model Options

OptionType
Default
Trigger
DescriptionF3D option
model.matcap.texturestring
-
render
Path to a texture file containing a material capture. All other model options for surfaces are ignored if this is set.--texture-matcap
model.color.opacitydouble
1.0
render
Set opacity on the geometry. Usually used with Depth Peeling option. Multiplied with the model.color.texture when present.--opacity
model.color.rgbvector<double>
1.0,1.0,1.0
render
Set a color on the geometry. Multiplied with the model.color.texture when present.--color
model.color.texturestring
-
render
Path to a texture file that sets the color of the object. Will be multiplied with rgb and opacity.--texture-base-color
model.emissive.factorvector<double>
1.0,1.0,1.0
render
Multiply the emissive color when an emissive texture is present.--emissive-factor
model.emissive.texturestring
-
render
Path to a texture file that sets the emitted light of the object. Multiplied with the model.emissive.factor.--texture-emissive
model.material.metallicdouble
0.0
render
Set the metallic coefficient on the geometry (0.0-1.0). Multiplied with the model.material.texture when present.--metallic
model.material.roughnessdouble
0.3
render
Set the roughness coefficient on the geometry (0.0-1.0). Multiplied with the model.material.texture when present.--roughness
model.material.texturestring
-
render
Path to a texture file that sets the Occlusion, Roughness and Metallic values of the object. Multiplied with the model.material.roughness and model.material.metallic, set both of them to 1.0 to get a true result.--texture-material
model.normal.scaledouble
1.0
render
Normal scale affects the strength of the normal deviation from the normal texture.--normal-scale
model.normal.texturestring
-
render
Path to a texture file that sets the normal map of the object.--texture-normal
model.scivis.cellsbool
false
render
Color the data with value found on the cells instead of points--cells
model.scivis.colormapvector<double>
<inferno>
render
Set a custom colormap for the coloring.
This is a list of colors in the format val1,red1,green1,blue1,...,valN,redN,greenN,blueN
where all values are in the range (0,1).
--colormap
model.scivis.componentint
-1
render
Specify the component to color with. -1 means magnitude. -2 means direct values.--comp
model.scivis.array-namestring
<reserved>
render
Color by a specific data array present in on the data. Set to to let libf3d find the first available array.--scalars
model.scivis.rangevector<double>
-
render
Set a custom range for the coloring.--range
model.point-sprites.enablebool
false
render
Show sphere points sprites instead of the geometry.--point-sprites
model.volume.enablebool
false
render
Enable volume rendering. It is only available for 3D image data (vti, dcm, nrrd, mhd files) and will display nothing with other default scene formats.--volume
model.volume.inversebool
false
render
Inverse the linear opacity function.--inverse

Render Options

OptionType
Default
Trigger
DescriptionF3D option
render.effect.translucency-supportbool
false
render
Enable translucency support. This is a technique used to correctly render translucent objects, implemented using depth peeling--translucency-support
render.effect.anti-aliasingbool
false
render
Enable anti-aliasing. This technique is used to reduce aliasing, implemented using FXAA.--anti-aliasing
render.effect.ambient-occlusionbool
false
render
Enable ambient occlusion. This is a technique providing approximate shadows, used to improve the depth perception of the object. Implemented using SSAO--ambient-occlusion
render.effect.tone-mappingbool
false
render
Enable generic filmic Tone Mapping Pass. This technique is used to map colors properly to the monitor colors.--tone-mapping
render.line-widthdouble
1.0
render
Set the width of lines when showing edges.--line-width
render.show-edgesbool
false
render
Show the cell edges--edges
render.point-sizedouble
10.0
render
Set the size of points when showing vertices and point sprites.--point-size
render.splat-typestring
sphere
render
Set the splat type when showing point sprites (can be sphere or gaussian).--point-type
render.grid.enablebool
false
render
Show a grid aligned with the horizontal (orthogonal to the Up direction) plane.--grid
render.grid.absolutebool
false
render
Position the grid at the absolute origin of the model's coordinate system instead of below the model.--grid
render.grid.unitdouble
0
render
Set the size of the unit square for the grid. If set to non-positive (the default) a suitable value will be automatically computed.--grid-unit
render.grid.subdivisionsint
10
render
Set the number of subdivisions for the grid.--grid-subdivisions
render.raytracing.enablebool
false
render
Enable raytracing. Requires the raytracing module to be enabled.--raytracing
render.raytracing.samplesint
5
render
The number of samples per pixel.--samples
render.raytracing.denoisebool
false
render
Denoise the raytracing rendering.--denoise
render.hdri.filestring
-
render
Set the HDRI image that can be used for ambient lighting and skybox.
Valid file format are hdr, exr, png, jpg, pnm, tiff, bmp.
If not set, a default is provided.
--hdri-file
render.hdri.ambientbool
false
render
Light the scene using the HDRI image as ambient lighting
The environment act as a light source and is reflected on the material.
--hdri-ambient
render.background.colorvector<double>
0.2,0.2,0.2
render
Set the window background color.
Ignored if a hdri skybox is used.
--bg-color
render.background.skyboxbool
false
render
Show the HDRI image as a skybox
Overrides the the background color if any
--hdri-skybox
render.background.blurbool
false
render
Blur background, useful with a skybox.--blur-background
render.background.blur.cocdouble
20.0
render
Blur background circle of confusion radius.--blur-background-coc

UI Options

OptionType
Default
Trigger
DescriptionF3D option
ui.barbool
false
render
Show scalar bar of the coloring by data array.--bar
ui.cheatsheetbool
false
render
Show a interactor cheatsheet
ui.filenamebool
false
render
Display the filename info content on top of the window.--filename
ui.filename-infostring
-
render
Content of filename info to display.
ui.font-filestring
-
render
Use the provided FreeType compatible font file to display text.
Can be useful to display non-ASCII filenames.
--font-file
ui.fpsbool
false
render
Display a frame per second counter.--fps
ui.loader-progressbool
false
load
Show a progress bar when loading the file.--progress
ui.metadatabool
false
render
Display the metadata.--metadata
ui.dropzonebool
false
render
Show a drop zone.
ui.dropzone-infostring
-
render
Content of the drop zone text to display.