I did as you said, creating a texture folder named 'Oratory' in the same folder where the hip file is saved. Then I double checked --
For the absolute version (no matter opting for Keep Absolute or Convert to Relative), the texture path in the RS Texture filename field after running the script is something like this:
The script created a folder /Oratory.fbm on my drive which contains the texture maps. Notice that their names no longer start with _auto_. The slash after the folder /Oratory.fbm is a backslash whereas those after this folder are forward slashes. I guess this is because I am running Houdini on Windows 10. I changed a number of backslash to forward slash, but still could not see any texture being rendered by Redshift.
As for the relative version, the Filename is of the form Oratory/_auto_52.jpg, but when I clicked on the arrow next to the path, it sometimes points to the correct /Oratory folder, some other times it points to a non-existing folder whose name is of the form:
The number of times the string /Oratory repeats varies.
For this version of FBX, Redshift failed to render the textures too.
I guess not having the second material node with the pink render flag is what makes Redshift incapable of loading materials properly, yet I cannot think of any reason why the script should generate it for you but not for me ...
I am running the Education Edition of Houdini 17.0459 and Redshift with educational license on Windows 10 in school.
At home I have Houdini Apprentice 17.5.229 and Redshift demo on Mac OS 10.14.4. Each time I run the script, an error message always pops up, saying:
Traceback (most recent call last):
File "FBX importer", line 235, in <module>
File "FBX importer", line 211, in groupByFBXMaterials
File "FBX importer", line 16, in createRedshiftImageMapMaterial
File "/Applications/Houdini/Houdini17.5.229/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/python2.7libs/houpythonportion/ui.py", line 850, in decorator
return func(*args, **kwargs)
File "/Applications/Houdini/Houdini17.5.229/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/python2.7libs/hou.py", line 8510, in createNode
return _hou.Node_createNode(*args, **kwargs)
OperationFailed: The attempted operation failed.
Invalid node type name