# Examples from pyvista.Plotter.import_gltf
# =========================================

import pyvista as pv
from pyvista import examples
helmet_file = examples.download_damaged_helmet(load=False)
texture = examples.download_dikhololo_night()
pl = pv.Plotter()
pl.import_gltf(helmet_file)
pl.set_environment_texture(texture)
pl.camera.zoom(1.8)
pl.show()

# See Working with glTF Files for a full example using this method.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

