Convertation to *.vsgt or *.vsgb from 3D Editors #951
-
Hi! I have one question. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The vsgXchange library uses assimp to read 3rd party model formats, once loaded then can be written to .vsgt and .vsgb. Usage is in the form: // set up the options for reading/writing, such as what ReaderWriter's to use
auto options = vsg::Options::create();
options->add(vsgXchange::all::create());
if (auto model = vsg::read("mymodel.gltf", options))
{
vsg::write(model, "mymodel.vsgb", options);
} Or you can use the vsgconv utility that comes with vsgXchange: vsgconv mymodel.gltf mymodel.vsgb To list all the image and 3d model formats supported use: vsgconv --features The vsgXchange/README.md also contains this list of supported formats. |
Beta Was this translation helpful? Give feedback.
-
Thanks for youre reply! |
Beta Was this translation helpful? Give feedback.
The vsgXchange library uses assimp to read 3rd party model formats, once loaded then can be written to .vsgt and .vsgb. Usage is in the form:
Or you can use the vsgconv utility that comes with vsgXchange:
To list all the image and 3d model formats supported use:
The vsgXchange/README.md also contains this list of supported formats.