pyvista.examples.downloads.download_dikhololo_night#
- download_dikhololo_night(load=True)[ソース]#
dikholo night hdr texture example をダウンロードして読み込みます.
https://polyhaven.com/ でホストされているファイル
- パラメータ:
- 戻り値:
pyvista.TextureHDRのテクスチャ.
例
>>> from pyvista import examples >>> texture = examples.download_dikhololo_night() >>> texture.dimensions (4096, 2048)
Use
resample()to downsample the texture's underlying image before plotting.>>> _ = texture.to_image().resample(0.25, inplace=True) >>> texture.dimensions (1024, 512)
>>> texture.plot(cpos='xy')
参考
- Dikhololo Night Dataset
詳細はデータセットギャラリーのこのデータセットをご覧ください。
- Parched Canal 4k Dataset
Another HDR texture.
- glTFファイルの取り扱いについて
See additional examples using this dataset.