pygfx.utils.load.load_meshes

pygfx.utils.load.load_meshes(path)

Load meshes from a file.

This function requires the trimesh library.

Parameters:

path (str) – The location where the mesh or scene is stored.

Returns:

meshes – A list of loaded meshes.

Return type:

list

Examples

PBR Rendering 1

PBR Rendering 1

Lightmap

Lightmap

Ambient occlusion

Ambient occlusion

Sponza Scene

Sponza Scene