diff --git a/doc/libf3d/LANGUAGE_BINDINGS.md b/doc/libf3d/LANGUAGE_BINDINGS.md index fdf7418cf8..d88b99b086 100644 --- a/doc/libf3d/LANGUAGE_BINDINGS.md +++ b/doc/libf3d/LANGUAGE_BINDINGS.md @@ -9,7 +9,7 @@ Here is an example showing how to use libf3d python bindings: ```python import f3d -eng = f3d.Engine(f3d.Window.NATIVE) +eng = f3d.Engine.create(False) eng.options.update({ "model.scivis.array-name": "Normals", "model.scivis.component": 0, diff --git a/doc/libf3d/OVERVIEW.md b/doc/libf3d/OVERVIEW.md index 59da97ab2f..468ad24cc2 100644 --- a/doc/libf3d/OVERVIEW.md +++ b/doc/libf3d/OVERVIEW.md @@ -19,7 +19,7 @@ Rendering a file and starting the interaction is very easy: f3d::engine::autoloadPlugins(); // Create a f3d::engine -f3d::engine eng(); +f3d::engine eng = f3d::engine::create(); // Add a file into a scene eng.getScene().add("path/to/file.ext"); @@ -39,7 +39,7 @@ As well as loading multiple files: f3d::engine::autoloadPlugins(); // Create a f3d::engine -f3d::engine eng(); +f3d::engine eng = f3d::engine::create(); // Load multiples geometries eng.getScene().add({"path/to/file.ext", "path/to/file2.ext"}); @@ -56,7 +56,7 @@ It's also possible to load a geometry from memory buffers: #include // Create a f3d::engine -f3d::engine eng(); +f3d::engine eng = f3d::engine::create(); // Create a single triangle f3d::mesh_t mesh = {}; @@ -105,7 +105,7 @@ Changing some options can be done this way: f3d::engine::autoloadPlugins(); // Create a f3d::engine -f3d::engine eng(); +f3d::engine eng = f3d::engine::create(); // Recover the options and set the wanted value options& opt = eng.getOptions(); diff --git a/doc/libf3d/PLUGINS.md b/doc/libf3d/PLUGINS.md index 5d0a90946e..26e0f2c20f 100644 --- a/doc/libf3d/PLUGINS.md +++ b/doc/libf3d/PLUGINS.md @@ -69,5 +69,6 @@ F3D provides access to a VTK modules containing utilities that may be useful for - `vtkF3DFaceVaryingPointDispatcher`: A VTK filter that manipulates point data so that F3D can display them as face-varying data (used by `usd` plugin) - `vtkF3DBitonicSort`: A VTK class that perform Bitonic Sort algorithm on the GPU (used by the `splat` point sprites rendering algorithm - `vtkF3DImporter`: An Importer class that abstract away support for different version of VTK after some API changes. + - `vtkF3DGLTFImporter`: An custom glTF importer class that support armatures, useful when creating other plugin supporting glTF extensions. For the complete documentation, please consult the [vtkext doxygen documentation.](https://f3d.app/doc/libf3d/vtkext_doxygen/).