SoAppearancePreserverGetDisplacementMapTexture Method (String) |
Computes the displacement map texture and creates an SoTexture2 node.
Namespace: OIV.FXViz.APS
If no file name is specified, the texture is stored in the SoTexture2 image field. Otherwise the file name is stored in the SoTexture2 filename field and the texture is written to a PNG format file. NULL is returned if the texture could not be computed, generally due to there being more triangles than could be stored in the normal map.