download_louis_louvre#
- download_louis_louvre(load: bool = True) PolyData | str[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:
- output
pyvista.PolyData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
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(position=(10, -10, 10)))
>>> pl.camera_position = pv.CameraPosition(
... position=(-6.71, -14.55, 15.17),
... focal_point=(1.44, 2.54, 9.84),
... viewup=(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.