PDA

View Full Version : texture does not even assign



magician
11-11-2006, 04:53 PM
I cant assign textures to my models, i have an sss shader, and i am trying to plug my file texture into the colour attribute but i just ge tthese errors? I have tried it with jpegs, bmos tifs, targas. What is the problem please?


// Error: (Mayatomr.Output) : file error: C:/Documents and Settings/Edmondson/Desktop/sss.iff.txt //
// Error: (Mayatomr.Output) : file error: C:/Documents and Settings/Edmondson/Desktop/sophie head/colour map.tif //
AEassignTextureCB file2.fileTextureName "C:/Documents and Settings/Edmondson/Desktop/sophie head/2.tif" "image";
// Result: 1 //
// Warning: (Mayatomr.Shader) : mentalrayTexture1: referenced writable texture file "C:/Documents and Settings/Edmondson/Desktop/sss.iff.txt" already exists, overwrite //
// Error: (Mayatomr.Output) : file error: C:/Documents and Settings/Edmondson/Desktop/sss.iff.txt //
// Error: (Mayatomr.Output) : file error: C:/Documents and Settings/Edmondson/Desktop/sophie head/2.tif //

magician
11-12-2006, 02:18 PM
will someone please help. My textures show when assigned to a lambert etc, but not to my sss shader.

danlefeb
11-13-2006, 06:54 AM
Your image isn't an .iff -- take the .txt extension off of it before you render.

magician
11-13-2006, 08:03 AM
yeah i noticed, sorted thatm but that doesnot explain why i cant assign textures ot my sss model?

danlefeb
11-13-2006, 08:53 AM
In your mentalrayTexture node, make sure your file is referenced absolutely. I've noticed that the relative paths sometimes cause issues (at least thats how it's been in my experience...perhaps its not this way for others). So for example, when I do something like "C:\SampleSSS.iff" it works fine. Doing this will cause mental ray to create a file called "SampleSSS.iff" on your C drive. You can point that wherever, I just did C for simplicity's sake. Good luck!