Skip to content

Commit

Permalink
Update use_the_lib.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Apr 25, 2021
1 parent 544ea5a commit c28c2a0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion source/usage/use_the_lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,19 @@ kind kind of logging might decrease import performance.
Exporting models
================

ToDo!
A valid **aiScene** instance can be used to export into a requested assset-format.

For instance:

::

bool exporterTest() override {
::Assimp::Importer importer;
::Assimp::Exporter exporter;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/OBJ/spider.obj", aiProcess_ValidateDataStructure);
exporter.Export(scene, "obj", ASSIMP_TEST_MODELS_DIR "/OBJ/spider_out.obj");
return true;
}


Data Structures
Expand Down

0 comments on commit c28c2a0

Please sign in to comment.