Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing texture reference for 3D texture

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
533 Views, 5 Replies

Missing texture reference for 3D texture

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

5 REPLIES 5
Message 2 of 6
hamsterHamster
in reply to: Anonymous

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
in reply to: Anonymous

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

Message 4 of 6
hamsterHamster
in reply to: Anonymous

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
in reply to: Anonymous

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

Message 6 of 6
hamsterHamster
in reply to: Anonymous

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report