I'm a rookie in houdini HDK. While I was trying to export a simple customized model file like .obj . I met some problems when I tried to export the material infomation. By using the interface: gdp->findPrimitiveAttribute("shop_materialpath") , I have got the material path(eg. /mat/diffuse). Next step, I need to acquire the textures and other parameters of this material, for example, IOR, Roughness, Metallic... Please give me a hint about the interfaces that I need.
You will need to obtain the Houd material node (ie, a VOP node) at the node path "/mat/diffuse", eg using OPgetDirector()->findNode("/mat/diffuse"), and then check the node parameters like IOR, Roughness, and Metallic.
rafal You will need to obtain the Houd material node (ie, a VOP node) at the node path "/mat/diffuse", eg using OPgetDirector()->findNode("/mat/diffuse"), and then check the node parameters like IOR, Roughness, and Metallic.