How to get matierail in hda

   4634   1   0
User Avatar
Member
7 posts
Joined: Oct. 2018
Offline
How to use the attribute:hemax_material and hemax_matid,
When I select the object in the scene with hda,
The materail just gone..
User Avatar
Staff
387 posts
Joined: Aug. 2017
Offline
hemax_material should be a detial attribute that uses the following syntax for specifying a material:

<PathToMatFile>:<MaterialName>

For example if you had a material library with the name RockMaterials.mat and you wanted to use a material called RockInterior, the attribute should look like this:

C:\materials\RockMaterials.mat:RockInterior

The hemax_matid should be a primitive attribute that specifies the material ID for each face of the mesh.
  • Quick Links