Missing texture reference for 3D texture

Missing texture reference for 3D texture

Anonymous
Not applicable
932 Views
5 Replies
Message 1 of 6

Missing texture reference for 3D texture

Anonymous
Not applicable

Hi, 

I m using Maya 2020.4 

I've done my shader for my models using 3D texture. When I m try to create texture reference, its give me this warning message : -

 

CreateTextureReferenceObject;
// Warning: file: /Applications/Autodesk/maya2020/Maya.app/Contents/scripts/startup/makeReferenceObject.mel line 82: New name contains invalid characters. Illegal characters were converted to "_". //

 

Here is my sample outliner layout 

 

- Object1

   l_ polysurface10

   l_ polysurface11

   l_ polysurface12

 

(Object1 is the grouping) after the convert it become 

 

object1_polyface10_reference

object1_polyface11_reference

object1_polyface12_reference

 

The link is broken, I lost all the 3D texture. 

Anyway to ignore the convert? or what should I do to overcome the problem? 

 

thanks

 

hwachai

933 Views
5 Replies
Replies (5)
Message 2 of 6

hamsterHamster
Advisor
Advisor

See, if the objects have unique names.. if e.g. another polysurface10 is located elsewhere in the scene. To be safe, add some prefix to the names or smth before you create texrefs.


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

Message 3 of 6

Anonymous
Not applicable

thanks for the quick reply.

After I rename, no error message when create tex ref. Looks great, everything seems fine with test render... 

But when I reload my file, tex all gone become flat color.

 

this is because my naming also? I m sharing the screenshot from my outliner and my 3D tex shader

 

Have anyone face this problem? 

 

btw, should I close this and create another topic? because this might be not the illegal character issue...

 

Here is the screen recording link to explain how the texture disappear...

https://we.tl/t-ZTzNLNBFED

0 Likes
Message 4 of 6

hamsterHamster
Advisor
Advisor

I have no XP with texrefs, sorry.

However, why would you use them firsthand? If you don't plan to deform/transform the geo, then perhaps you don't need those at all. Although, if you want to transform the geo, you can create duplicate shader networks for each group of objects where you parent the place3dTexture node under the each group of assignment.

Finally, just tested, it is supported by Arnold, there is that Local setting in [all] 3D textures, which uses object's bounding box instead of place3dTexture placement, just make sure the objects have reset scale to 1.0 ( ChannelBox>Channels>Freeze>Scale), otherwise your textures will be stretched.

hamsterHamster_0-1634201485285.png

 


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

Message 5 of 6

Anonymous
Not applicable

Hi thanks for the idea. 

Yea, The objects will be moving. Because my scene have few hundred models which sharing exact the same shader so I thought the best way was keep the shader less. And the animation also very simple, just scaling and positioning. I m using this 3D texture with tex ref few years back which no problem at all, but now I m totally lost and no idea how to get this work.

 

Appreciate if anyone can help me to troubleshoot this?

I will attach 1 simple scene file. Actual file is much more larger than this.  

Here is the link to the scene 

https://we.tl/t-Pj0ootfNbH

0 Likes
Message 6 of 6

hamsterHamster
Advisor
Advisor

And enabling the Local switch wasn't an option?


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

0 Likes