Texture Paint How to Paint transparency??

In my ongoing project it would be very useful to be able to paint transparency on an object (creating sheer parts on a fabric or “cutting” parts of the fabric out).

How can this be done??

Im working with Blender 2.68 IN Blender Internal mode and i need both how to have it display trans properly and how to make a brush that “erases” to alpha. Please if you can suggest a plugin/brush set a direct download link would be best.

Use a black+White texture to influence the materials Alpha value. Then paint on that to control the object transparency

See attached blend file. Paint black where you want transparency

If you have a specific design you want to use as transparency just use a b+w texture

Attachments

paint_trans.blend (229 KB)

so there is basically no way to have an erase brush?? (btw should a grey value be semi trans??)

Sure there is. Switch brush blend mode from mix to erase alpha.

3 Likes

What if your texture has transparency where it shouldn’t? I applied a texture with a black part and it shows the material color when it renders.

how do you setup the brush to do full trans (black = full trans grey = partial?? )? and more importantly how do you get blender to DISPLAY the trans parts as trans??

Full black is 0 and full white is value of 1. Set the brush color to that, can use HSV picker instead of RGB to easily change the value slider to what you want.

Enable transparency for the material and set the alpha to 0. Then set up the material texture, mapping to UV and influence to alpha.
How you set up the material texture depends on how you handle alpha. If you use a greyscale texture, you tell blender to calculate alpha and use RGB to intensity.
And if you want to view the material texture instead of viewing what is assigned to UV faces in the UV/image editor, switch the viewport shading from multitexture to GLSL



(I use quite fresh Blender build in the screenshot where the properties panel has it’s own section for shading. For Blender 2.68a and earlier, you find shading section under display).

speaking of fresh builds of Blender do you know how to either

1 get a not braindead version of mingw32 installed (btw where is the source for mingw found??)

2 get Blender to build with a VS 2010 compiler (from what i have read you need to do a buncha patching to get it to work with VS 2010)

Nope, I don’t know answer to either.

Hi

I am a newbie trying to do a simple animation of a flag with a trailing edge with changing transparency.

I cannot reproduce the results in the paint trans blend file.

How did you create the Texture001 “trans” texture. I can see that trans it is done within Blender but I can’t figure out how to do that.
I can see it in the example file but I don’t know how to produce in my own file.

Edit: I “generated” an image rather than using an external image. When I tried to replicate exactly what is in the sample file (unspecified “Single Image”), I got an error message.

Hi

OK so I finally got transparency to work.
I made the texture much smaller so it is only a little larger than the object I want to apply transparency.

The problem I now have is that transparency is applied on/off. There is no grey scale.
The screen shot shows the problem.
The painted texture on the right has a soft edge.
The rendered transparency on the left has a hard edge.


The checkered flag is a fine mesh. The black areas are mesh. The white areas surrounded by black are holes in the mesh.
Could that be the problem???

Hi
Well I have sort of made progress.
I can now get partial transparency, but it appears that Blender takes the average value of all white and black and applies this to the whole image.


So now I can get partial transparency but not in specific areas, only across the whole mesh.