Note that you must call this method, hapi.renderCOPOutputToImage or hapi.renderTextureToImage before any of the other material APIs.
Usage ¶
renderCOPToImage(session: hapi.Session, cop_node_id: int) → bool
Render a single texture from a COP to an image for later extraction.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
cop_node_id
The COP node id.