yixin yang

yixinyang

About Me

Connect

LOCATION
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

How to get material info with shop_materialpath known in HDK Aug. 20, 2021, 2:03 a.m.

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.
Thank you very much

How to get material info with shop_materialpath known in HDK Aug. 17, 2021, 7:20 a.m.

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.