pyvista.Property.anisotropy

pyvista.Property.anisotropy#

property Property.anisotropy: float[ソース]#

異方性係数を返すか設定します.

This value controls the anisotropy of the material (0.0 means isotropic). This requires that the interpolation be set to 'Physically based rendering'.

詳しくは PBR Journey Part 2 : Anisotropy model with VTK

Property has range [0.0, 1.0].

備考

この属性は,VTK v9.1.0以降が必要です.

Get the default anisotropy and visualize it with physically-based rendering.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.anisotropy
0.0
>>> prop.interpolation = 'pbr'  # required
>>> prop.plot()
../../../_images/pyvista-Property-anisotropy-1_00_00.png