pyvista.examples.downloads.download_louis_louvre#
- download_louis_louvre(load=True)[source]#
Download the Louis XIV de France statue at the Louvre, Paris.
Statue found in the Napoléon Courtyard of Louvre Palace. It is a copy in plomb of the original statue in Versailles, made by Bernini and Girardon.
Originally downloaded from sketchfab
- Parameters:
- Returns:
pyvista.PolyData
|str
DataSet or filename depending on
load
.
Examples
Plot the Louis XIV statue with custom lighting and camera angle.
>>> from pyvista import examples >>> import pyvista as pv >>> dataset = examples.download_louis_louvre() >>> pl = pv.Plotter(lighting=None) >>> _ = pl.add_mesh(dataset, smooth_shading=True) >>> pl.add_light(pv.Light((10, -10, 10))) >>> pl.camera_position = [ ... [-6.71, -14.55, 15.17], ... [1.44, 2.54, 9.84], ... [0.16, 0.22, 0.96], ... ] >>> pl.show()
See also
- Louis Louvre Dataset
See this dataset in the Dataset Gallery for more info.
- Physically Based Rendering
Example using this dataset.