Does VTK-8.9 Support GLTFExport?

I’m trying to export a PolyData object to GLTF format. I got the example here:

I get this error in cmake:
Skipping GLTFExporter: Could not find the VTK package with the following required components: IOExportOpenGL2.

I can’t find any options in the VTK 8.9 build that supports this.

What should I do to export something to GLTF in VTK-8.9? Is this possible?

The example seems out of date. Just remove the dependency for the CMakeLists.

1 Like

@mwestphal you are correct. I just removed the dependency and it exports .gtlfs just fine.

I actually would like to export a monolithic or binary file but I’m not sure how to do this. Is there a way to export to .GLB? I’ll ask in a separate thread if necessary.