pyvista.examples.gltf.download_sheen_chair

pyvista.examples.gltf.download_sheen_chair#

download_sheen_chair()[ソース]#

Download the sheen chair example.

Files hosted at KhronosGroup/glTF-Sample-Models

戻り値:
str

Filename of the gltf file.

>>> import pyvista as pv
>>> from pyvista import examples
>>> gltf_file = examples.gltf.download_sheen_chair()
>>> cubemap = examples.download_sky_box_cube_map()
>>> pl = pv.Plotter()  
>>> pl.import_gltf(gltf_file)  
>>> pl.set_environment_texture(cubemap)  
>>> pl.show()