Paint Stencil in 3D view

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Paint Stencil in 3D view

Postby tobiasniva » Thu Nov 27, 2008 6:59 am

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...
User avatar
tobiasniva
 
Posts: 14
Joined: Sat Nov 22, 2008 4:22 pm
Location: Sweden

Re: Paint Stencil in 3D view

Postby ardent red » Thu Nov 27, 2008 11:41 pm

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: Image
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Paint Stencil in 3D view

Postby tobiasniva » Fri Nov 28, 2008 3:35 am

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
tex_paint.jpg (153.21 KiB) Viewed 4007 times
User avatar
tobiasniva
 
Posts: 14
Joined: Sat Nov 22, 2008 4:22 pm
Location: Sweden

Re: Paint Stencil in 3D view

Postby boblishman » Fri Nov 28, 2008 10:24 am

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 ....

meshpaint.jpg
meshpaint.jpg (130.18 KiB) Viewed 3969 times



the full intructions are HERE
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Paint Stencil in 3D view

Postby boblishman » Fri Nov 28, 2008 2:12 pm

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...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Paint Stencil in 3D view

Postby Grogyan » Fri Nov 28, 2008 3:03 pm

I thought maybe creating a new UV layer in the editing buttons F9, would have been what you're after.

But Bob is correct
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Paint Stencil in 3D view

Postby Nadnerb » Sun Nov 30, 2008 3:14 pm

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. :)
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Paint Stencil in 3D view

Postby tobiasniva » Sun Nov 30, 2008 5:12 pm

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.
User avatar
tobiasniva
 
Posts: 14
Joined: Sat Nov 22, 2008 4:22 pm
Location: Sweden

Re: Paint Stencil in 3D view

Postby ardent red » Mon Dec 01, 2008 12:16 am

What everyone is referring to as 'UV textures' can be found here:
Image

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
UV3.png
F5 panel
UV3.png (60.14 KiB) Viewed 3796 times
UV2-1.png
F6 Panel
UV2-1.png (29.3 KiB) Viewed 3796 times
UV-1.png
Location of "UV textures' Panel
UV-1.png (42.82 KiB) Viewed 3803 times
Last edited by ardent red on Mon Dec 01, 2008 12:42 am, edited 2 times in total.
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Paint Stencil in 3D view

Postby Grogyan » Mon Dec 01, 2008 12:27 am

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
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests