Hi everybody!
I have a little feature request for the maya exporter: Would it be possible to rename “:” in object- and especially material- and texture-names to “_” or something else file-name friendly? We do use references in maya quite heavily and they require namespaces which are seperated by a “:”
Currently I always delete the namespaces before export, but this isn’t a viable solution for a bigger production since name-clashes are practically unavoidable when multiple people start working on one project.
I’m not sure I understand how the name of materials and textures have to do with file names. Can you explain?
I thought I added this recently could you try the latest preview from the github releases : Release CD Pre Release 20190711.1 · BabylonJS/Exporters · GitHub
@sebavan Unfortunately it doesn’t seem to work with the latest version
@bghgary When “copy textures to output” is checked, the exporter merges some black and white maps into one texture in different channels, such as metalness and roughness, which is pretty handy. However it names these newly created textures after their node names in maya, which contains colons if they use a namespace.
Oh yeahhhh… I missed this one i ll do it ASAP
Release CD Pre Release 20190712.1 · BabylonJS/Exporters · GitHub here you go, it should be ok there.
Hi, sorry took me some time to test again, I fear the error’s still there:
whoooot this is getting weirder and weirder could you share your file so that I can have a look ?
I suspect one channel to still not convert path.
Sure, here you go
namespace_bug.zip (777.9 KB)
The channels are specularRoughness and Metalness of the aiStandardSurface Material for Arnold
Sweet I ll have a look ASAP
All good here: Release CD Pre Release 20190718.1 · BabylonJS/Exporters · GitHub
Thanks a lot for the repro !!! this makes debugging so much easier.
Thanks a lot for the quick fix! Works like a charm