How to use gltf - 1 common examples

To help you get started, we’ve selected a few gltf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cosmonium / cosmonium / cosmonium / View on Github external
def init_mesh_loader():
    if settings.use_assimp:
        loadPrcFileData("", "load-file-type p3assimp\n"
                            "assimp-gen-normals #t\n"
                            "assimp-smooth-normal-angle 90\n")
    if sys.version_info[0] >= 3:
    path = cache.create_path_for("models")
    loadPrcFileData("", "model-cache-dir %s\n" % path)


Load, modify, and save GLTF files.

Latest version published 1 month ago

Package Health Score

54 / 100
Full package analysis

Popular gltf functions