Houdini 20.5 hapi

hapi.renderCOPToImage function

Render a single texture from a COP to an image for

Note that you must call this first for any of the other material APIs to work.

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.

hapi