I´ve followed this wiki http://guildofwriters.com/wiki/GLSL_Stencilling and have some trouble;
When I try to paint my stencil in 3D view I just seem to access/paint the first layer (the base, topmost in the texture list). It works fine if I select the stencil in UV/Image view, and paint there. It updates on the fly in the 3D view...but it´s quite annoying that I can´t reach/paint on the stencil there. Quite sure I´m missing some basic stuff here (really new to Blender) but I post here if someone know of any wierd stuff like this accuring.
PS. I have checked the Blender GLSL Materials in the Game-menu as well...
Paint Stencil in 3D view
- tobiasniva
- Posts: 14
- Joined: Sat Nov 22, 2008 4:22 pm
- MOULa KI#: 0
- Location: Sweden
- Contact:
-
- Posts: 150
- Joined: Fri Apr 18, 2008 3:41 pm
- MOULa KI#: 0
- Location: The big little New Zealand
Re: Paint Stencil in 3D view
Ah, so you can't paint in the 3D window... hmm. Are you sure that your viewmode is set to textured? To check, press alt-z then try to paint. You can tell if you're in this mode if you can see the icon in the right of this picture: 

- tobiasniva
- Posts: 14
- Joined: Sat Nov 22, 2008 4:22 pm
- MOULa KI#: 0
- Location: Sweden
- Contact:
Re: Paint Stencil in 3D view
No...I CAN paint in the 3D view - just not on the right layer. I must be missing something basic here...I just want to be able to paint on the stencil-layer like I can do in the UV/Image view.
- Attachments
-
- tex_paint.jpg (153.21 KiB) Viewed 4063 times
- boblishman
- Posts: 882
- Joined: Fri Oct 05, 2007 4:47 pm
- MOULa KI#: 0
- Location: Spain
Re: Paint Stencil in 3D view
ok...this is important ... took me a while to get the gist of it ....
to quote from the Blender website ...
"Getting Started
Once you have un-wrapped your model to a UV Texture, you have to:
Load an image into the UV/Image Editor (Image->Open->select file) , or
Create a new image (Image->New->specify size) and saved it to a file (Image->Save->specify file).
You cannot paint on a mesh in Texture Paint mode without first unwrapping your mesh, and doing one of the above steps. After you have done these two things, you can modify the image using the Texture Paint mode. Once you do:
In the 3D View window, select Texture Paint mode from the mode selector in the window header, and you can paint directly onto the mesh.
In the UV/Image Editor window, enable Texture Painting in the Image menu
In the UV/Image Editor header, click the magic pencil ... "
remember also to select the UV layer for the STENCIL in the mesh tab ....
the full intructions are HERE
to quote from the Blender website ...
"Getting Started
Once you have un-wrapped your model to a UV Texture, you have to:
Load an image into the UV/Image Editor (Image->Open->select file) , or
Create a new image (Image->New->specify size) and saved it to a file (Image->Save->specify file).
You cannot paint on a mesh in Texture Paint mode without first unwrapping your mesh, and doing one of the above steps. After you have done these two things, you can modify the image using the Texture Paint mode. Once you do:
In the 3D View window, select Texture Paint mode from the mode selector in the window header, and you can paint directly onto the mesh.
In the UV/Image Editor window, enable Texture Painting in the Image menu
In the UV/Image Editor header, click the magic pencil ... "
remember also to select the UV layer for the STENCIL in the mesh tab ....
the full intructions are HERE
when it comes to Age creation ... "DOH" seems to be my middle name...
- boblishman
- Posts: 882
- Joined: Fri Oct 05, 2007 4:47 pm
- MOULa KI#: 0
- Location: Spain
Re: Paint Stencil in 3D view
oh ... and double check which image you have loaded into the UV window ... you may think you have the correct stencil loaded into it ... but check the available images anyways ... 

when it comes to Age creation ... "DOH" seems to be my middle name...
Re: Paint Stencil in 3D view
I thought maybe creating a new UV layer in the editing buttons F9, would have been what you're after.
But Bob is correct
But Bob is correct
Better to have loved and lost than never to have loved at all
-
- Posts: 1057
- Joined: Fri Sep 28, 2007 8:01 pm
- MOULa KI#: 23247
- Location: US (Eastern Time)
- Contact:
Re: Paint Stencil in 3D view
Yes, bob has it. It doesn't matter what layer you have selected in the Materials panel when you want to paint on a certain texture. What controls this is which UV Texture you have selected in the Mesh panel. 

- tobiasniva
- Posts: 14
- Joined: Sat Nov 22, 2008 4:22 pm
- MOULa KI#: 0
- Location: Sweden
- Contact:
Re: Paint Stencil in 3D view
Ok...I´m new to Blender, so I´m quite confused. Especially regarding the materials and selection of these.
Anyway, I was able to get this to work;
I don´t get the thing about having multiple UV Textures (I assume this is what I as a 3DS Max user refers to as UV coords?) since I want all three textures to use the same coords (at least in this test).
The way I was able to select and switch between the layers affected was this:
- Select model in Texture Paint mode
- Press Tab to enter Edit Mode
- In UV/Image Editor, select the texture I want to edit
- Press Tab to exit Edit Mode and return to Texture Paint mode
Thanx everyone for helping me out with this.
Anyway, I was able to get this to work;
I don´t get the thing about having multiple UV Textures (I assume this is what I as a 3DS Max user refers to as UV coords?) since I want all three textures to use the same coords (at least in this test).
The way I was able to select and switch between the layers affected was this:
- Select model in Texture Paint mode
- Press Tab to enter Edit Mode
- In UV/Image Editor, select the texture I want to edit
- Press Tab to exit Edit Mode and return to Texture Paint mode
Thanx everyone for helping me out with this.
-
- Posts: 150
- Joined: Fri Apr 18, 2008 3:41 pm
- MOULa KI#: 0
- Location: The big little New Zealand
Re: Paint Stencil in 3D view
What everyone is referring to as 'UV textures' can be found here:

They are each different sets of UV co-ords
EDIT: that picture was hopelessly small. a larger, more useful one is attached
EDIT2: two more images have been attached. these show the locations of the things Grogyan is explaining.

They are each different sets of UV co-ords
EDIT: that picture was hopelessly small. a larger, more useful one is attached
EDIT2: two more images have been attached. these show the locations of the things Grogyan is explaining.
- Attachments
-
- F5 panel
- UV3.png (60.14 KiB) Viewed 3852 times
-
- F6 Panel
- UV2-1.png (29.3 KiB) Viewed 3852 times
-
- Location of "UV textures' Panel
- UV-1.png (42.82 KiB) Viewed 3859 times
Last edited by ardent red on Mon Dec 01, 2008 12:42 am, edited 2 times in total.
Re: Paint Stencil in 3D view
Confusing I know
Its all pretty well covered here
Using_stencils
Edit, never mind, Ardent Red has shown you how to paint on the correct layer, the buttons to the left show which texture show in 3D view
The layers you paint on are vertex colours, they are below the UV texture coordinate layers
Its all pretty well covered here
Using_stencils
Edit, never mind, Ardent Red has shown you how to paint on the correct layer, the buttons to the left show which texture show in 3D view
The layers you paint on are vertex colours, they are below the UV texture coordinate layers
Better to have loved and lost than never to have loved at all