Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Materials / Problem with 3D paint tool
  RSS 2.0 ATOM  

Problem with 3D paint tool
Rate this thread
 
46736
 
Permlink of this thread  
avatar
  • raptor98
  • Posted: 30 August 2010 10:30 AM
  • Total Posts: 7
  • Joined: 25 August 2010 03:12 PM

I am trying to paint a modeled character with the 3D paint tool, however, everytime I try to paint, this message appears -

“Warning, some surfaces have no file texture assigned to the current attribute”

I’ve looked at some of the tutorials, which say this is because I haven’t assigned a texture to the model yet, and I get the brush with the x going through it.  But even after I’ve assigned a texture, and even after I get the right brush, the message still pops up, and I can’t paint anything.



Replies: 1
/userdata/avatar/7p2qf3yyg_johnC.jpg

Assign a shader
Then click on the checkerboad to assign a texture to the color
choose to create a file texture node
leave it blank

do what you were doing
it shouldn’t error, and you should be painting.
save your scene
the file texture image should also be saved with a similar name in a good place to keep file textures.
(check on the file texture node)

Author: John Creson

Replied: 30 August 2010 12:23 PM  
avatar
  • raptor98
  • Posted: 30 August 2010 01:43 PM

Uh, how exactly to I create a file texture node?
Yeah, I’m new at this, in case you couldn’t tell.



Replies: 0
avatar

This is so easy to do, people do not explain it very thoroughly.

After you assign a shader (lambert or blinn, for example) to your object (you do this with Assign New Material in the Lighting/Rendering menu set), open the attribute panel (you should have the shader selected already, if you lost the selection, find it in the outliner and select it).

The shader will have a ‘Color” attribute (usually gray by default), and at the right end of the slider is a little checkerboard icon. Click on that.

A new panel should open with a lot of items, find the one on the list that says file and select it.

That will create your file node, you should see that pop up in the attribute editor. If not, look in the outliner for a file1 node and select that.

In that panel will be a box for the file name, it has an icon that looks like a yellow file folder next to it. When you click on that, it will open the file dialog, and you can navigate to a texture file and select it.

If you don’t have an texture file yet, you’ll have to make at least a blank one (let’s say white) of the desired size (512x512 or whatever you want)in photoshop or what else you are using.

You object should be textured now. If you don’t see any change in the viewport, choose ‘smooth shaded’ and ‘hardware texturing’ from the shading menu in the viewport. If you used an all white texture, your object should be all white now instead of the default gray.



Replies: 1
/userdata/avatar/7p2qf3yyg_johnC.jpg

Thanks Wesley,

One thing I’d like to add though.
You don’t need to create a blank texture image (though maybe its a good idea to keep the size under your pre-defined-direct control)

If you just hook up an empty file node, Maya will paint on the object and then when you save the scene, the image file for the texture gets written to disk.

Author: John Creson

Replied: 30 August 2010 05:17 PM  
avatar
  • raptor98
  • Posted: 30 August 2010 02:25 PM

Thanks guys, got it to work!



Replies: 0