Antoine Lecaille

alecaille

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Edit Material LOP 2025年1月22日11:37

In Solaris, when loading a materialx File from ambientcg, say:

https://ambientcg.com/view?id=Leather011 [ambientcg.com]

the material in EditMaterial is created with each and every checbox unchecked by default, which includes all texture files.

Do you think this is a bug, or is it related to those specific files ?

The scale of the displacement is typically of the wrong order of magnitude, but it's not like there is a quick fix because I have to recheck each field in the network that points to a file.

They also ship an USDC files, but it's broken in a different way;
At this point it would make more sense to just fix it in a shell.


<?xml version="1.0"?>
<materialx version="1.38" fileprefix="./">
<standard_surface type="surfaceshader" name="Leather011_4K_JPG_StandardSurface" xpos="6.159420" ypos="-1.879310">
<input type="float" value="0" name="specular" />
<input type="float" value="1" name="coat" />
<input type="color3" value="1, 1, 1" name="coat_color" />
<input type="float" value="1" name="base" />
<input type="color3" nodename="Leather011_4K_JPG_Color" name="base_color" />
<input type="vector3" nodename="normalmap" name="normal" />
<input type="vector3" nodename="normalmap" name="coat_normal" />
<input type="float" nodename="Leather011_4K_JPG_Roughness" name="specular_roughness" />
<input type="float" nodename="Leather011_4K_JPG_Roughness" name="coat_roughness" />
</standard_surface>
<surfacematerial type="material" name="Leather011_4K_JPG" xpos="8.695652" ypos="0.000000">
<input type="surfaceshader" nodename="Leather011_4K_JPG_StandardSurface" name="surfaceshader" />
<input type="displacementshader" nodename="displacement" name="displacementshader" />
</surfacematerial>
<tiledimage type="color3" name="Leather011_4K_JPG_Color" xpos="3.623188" ypos="-3.103448">
<input type="filename" value="Leather011_4K-JPG_Color.jpg" name="file" colorspace="srgb_texture" />
<input type="vector2" value="1.0, 1.0" name="uvtiling" />
</tiledimage>
<tiledimage type="float" name="Leather011_4K_JPG_Displacement" xpos="3.623188" ypos="5.163793">
<input type="filename" value="Leather011_4K-JPG_Displacement.jpg" name="file" />
<input type="vector2" value="1.0, 1.0" name="uvtiling" />
</tiledimage>
<displacement type="displacementshader" name="displacement" xpos="6.159420" ypos="1.879310">
<input type="float" nodename="Leather011_4K_JPG_Displacement" name="displacement" />
<input type="float" value="1.0" name="scale" />
</displacement>
<tiledimage type="vector3" name="Leather011_4K_JPG_NormalGL" xpos="1.086957" ypos="0.879310">
<input type="filename" value="Leather011_4K-JPG_NormalGL.jpg" name="file" />
<input type="vector2" value="1.0, 1.0" name="uvtiling" />
</tiledimage>
<normalmap type="vector3" name="normalmap" xpos="3.623188" ypos="3.586207">
<input type="vector3" nodename="Leather011_4K_JPG_NormalGL" name="in" />
<input type="float" value="1.0" name="scale" />
</normalmap>
<tiledimage type="float" name="Leather011_4K_JPG_Roughness" xpos="3.623188" ypos="-0.413793">
<input type="filename" value="Leather011_4K-JPG_Roughness.jpg" name="file" />
<input type="vector2" value="1.0, 1.0" name="uvtiling" />
</tiledimage>
</materialx>

How to load the mtlx files from the TestSuite directory ? 2025年1月20日14:28

This one seems to work:

/opt/hfs20.5.457/houdini/materialx_resources/Materials/TestSuite/stdlib/procedural/linepattern.mtlx

But almost all of the other throw an error
AssetReference LOP with the default parameters complains with:

In : Unresolved reference prim path @/opt/hfs20.5.457/houdini/materialx_resources/Materials/TestSuite/stdlib/geometric/geompropvalue.mtlx@ introduced by @anon:0x7f3d3c39ec00:LOP@ (recomposing stage on stage @anon:0x7f3d3663f580:LOP:rootlayer@ )

Are they all supposed to work directly with assetreference ?

ambientcg.com materials library 2024年6月2日8:51

https://ambientcg.com/ [ambientcg.com] has a massive PBR textures library, in USDC and mtlx format.

How can I integrate it in Material Linker like GPUOpen ?