Question about texture painting...

Collaborations

Hello,

I'm working my way through the 'Fundamentals of Texturing' course, and I'm working on texture painting the axe.  I was working on the textures for a while and decided to go back to it later. I DID remember to save the textures as a PNG image, but, I don't seem to be loading the texture file properly... I can continue working on the textures in the 2D viewport, but I can't paint anything on the 3D model.  I already checked to make sure that it's not a problem with face selection masking.  If anyone can help me sort this out, it would be greatly appreciated! :)

  • status451_cg replied

    Do you have the correct texture slot selected?

    In Blender 2.8 this is a button on the top bar over towards the right hand side.

    In Blender 2.7x I believe this is a tab in the tool shelf panel on the left.

    You must select the material you are painting to,  and then the image node set to the image that you are painting to (if that makes sense?).

  • andrewtg replied

    @lewis2e Thanks! :)

    But, yes, I did select the new textures in the texture slot and in the node editor.

    I'm using v2.79.

    When I created the texture image in the first place, I just called it 'Texture', when I saved the image as a PNG, I called it 'Axe Texture'.  When I open the file, the 'Texture' image is the one selected in the texture slot and node.  I can switch it to 'Axe Texture', but, for some reason, when I try to paint in the 3D viewport, it goes back to the 'Texture' image and does not do anything to the 'Axe Texture' image.  I can paint on the new textures in the 2D UV view, however.  

    I hope that explains the problem, and thanks again for being willing to help! :)

  • spikeyxxx replied

    aandrewtg Hi, the name changing is nothing to worry about, that happened because you changed the name of the image, when saving the image, but when you saved the .blend file, Blender remembered the name it was given in Blender. This however does not impact whether you can paint or not!

    I have tried it the way you described and everything works. So I cannot help you with the information you have given.

    However, if the name change bothers you, you can go to the Node Editor, with the Image Texture Node selected, look in the N-panel.

    Under Properties, you can change the word Texture to Axe Texture.

    Hopefully somebody else can help you.


  • status451_cg replied

    aandrewtg No problem.

    The bit I can't explain is when you say " for some reason, when I try to paint in the 3D viewport, it goes back to the 'Texture' image". I have no idea what would cause that.

    Similar to spikeyxxx, I just tried to reproduce what you are doing in Blender 2.79. I stuck with the default cube. I created a material, and set an image node in that material to an image called "Test". I UVunwrapped. I went to Texture Paint mode and made sure that "Test" was selected on the left panel under texture slots. I painted on it, and then I saved the image externally as "TestBob.png". 

    I then closed and re-opened Blender. My image node was still set to Test (which was now blank). I went to the UV editor and opened TestBob.png. I then changed my image node to TestBob, and I went back to Texture Paint and verified that under texture slots I now had TestBob showing (the only option, as it was my only material and only texture slot).

    I could paint OK in the 3D view-port.

    Long way of saying I can't explain your issue!

    You are definitively in Cycles? Can you share your file?


     

  • spikeyxxx replied

    aandrewtg Just a stupid idea, but in the 3D View, are you still in Texture Paint Mode?

  • andrewtg replied

    spikeyxxx 

    @lewis2e 

    Sorry for the late response, guys... I've been working a lot of hours for the last couple of days.

    Anyway, I am definitely in cycles render. I am definitely in texture paint mode in the 3D view.  I also tried renaming the texture image back to just 'texture.png' to see if that would fix the issue, but no such luck.  I also tried saving the file after assigning the new texture image in both the node editor and in the 2D UV view.  Didn't do anything.

    When I load the file, the checkered texture image is what the UV editor is set to for some reason, but, the node editor has the right texture assigned for the material.  However, the checkered image is what shows on the 3D model.  If I switch to edit mode, or object mode in the 3D viewport, suddenly the right textures show on the model.  If I switch back to Texture Paint Mode, it goes back to the checkered texture for both the 3D viewport and the UV editor.

    Hopefully, that helps clarify the issue, but if not, I can also make a video.  I am also happy to share the file, I just don't know how.

  • spikeyxxx replied

    aandrewtg Hi Andrew, sharing the file would be absolutely the best, because I have no idea what goes wrong here.

    As far as I know you'll have to put in a link to a Cloud storage (like for instance Dropbox) where you put your .blend file. Maybe pack the texture painted image into the .blend, although I don't think that that is causing the problem.

    A video might be helpful to see the problem, but might not help to see the solution, as it won't show every setting...


  • andrewtg replied

    spikeyxxx 

    OK, I uploaded it to Dropbox, here is the link; https://www.dropbox.com/s/9f38kfnvcq87c81/Axe.zip?dl=0

  • spikeyxxx replied

    aandrewtg Thank you. Here is what  went wrong: the canvas image was set to Texture in stead of Texture.png.

    In 3D View, in the Toolbar, go to Slots and change the Canvas Image appropriately. Make sure that also in the Node Editor and in the Image Editor the correct image is used and you're good to go. (At least in my testing it worked..)

  • andrewtg replied

    spikeyxxx 

    Thanks for your help, it works perfectly! 

    I had changed the texture in the node editor and image editor, but I didn't know there was a canvas image to change as well.

    Thanks again! :)