Houdini Solaris - Assign Materials by Name

Voxyde VFX
Voxyde VFX
3.7 هزار بار بازدید - ماه قبل - ► Download project file:
► Download project file:
https://voxyde.com/tutorials/houdini-...

In this video we go over setting up a procedural system to build materials, assigning textures and populating shaders. Then we take a look into how to automatically assign materials in Solaris, using the name attribute from the geometry.

Here is the code if you want to save it in your attribute wrangle:

string name = usd_name(0, s@primpath);
string mats = "/materials/"+name;
usd_addrelationshiptarget(0, s@primpath, "material:binding", mats);
ماه قبل در تاریخ 1403/04/25 منتشر شده است.
3,721 بـار بازدید شده
... بیشتر