Stencil mode and normals: A bug?

According to the CVS-log found on blender.org, it should now be possible to stencil out both color and normals. Take a look here:

http://www.blender.org/pipermail/bf-blender-cvs/2003-October/000578.html

But somehow I can’t get it to work:

http://www.itu.dk/people/ghost/blender/stencil.jpg

Notice how the normals aren’t removed from parts of the picture.
I would like to hear whether it’s me there’s doing something wrong or a bug, before I rush to the bug-tracker. The blend-file can be found here:

http://www.itu.dk/people/ghost/blender/stencil.blend

Thanx!

Ghost

it is odd, but your file may not be perfect

iirc the stencil thing makes it so that only parts of LATER channels show through. so, your texture with the normals needs to be in a higher-numbered (further from the top?) channel to be affected by the stencil

however, even after doing this the stencil has no effect on the normals (which is annoying)

iirc the stencil thing makes it so that only parts of LATER channels show through. so, your texture with the normals needs to be in a higher-numbered (further from the top?) channel to be affected by the stencil

I don’t think this is necessary, because the colors (of the numbertexture) are being cut out. Hmm, this might be a bug. Anyway, thanks for your answer.

Ghost

The problem is not blender’s but the image you used. See here:

http://www.solarflarestudios.com/forum/viewtopic.php?p=597#597

%<

But what’s wrong with the textures then?
I have made another test from 32-bit TGA-textures right out of Photoshop, and the stencil-layer is also a imagetexture. And the result is :frowning:

http://www.itu.dk/people/ghost/blender/stencil2.jpg

I doubt it has something to do with the images/textures I have used. Have any successfuly removed bumps with stencil mode?

Stenciling NOR maps works for me with Procedurals (Stucci)
<edit> no, with images does not work</edit>

Are you using stenciling correctly?

Stefano

It’s solved and there’s no bug in the stencil mode after all. It was just silly me, who thought I could do the col and nor on same layer. The trick was to make a texturelayer first for nor and then another for col. And it even works for imagetextures! :smiley:

The result:
http://www.itu.dk/people/ghost/blender/stencil_fixed.jpg

And a .blend-file:
http://www.itu.dk/people/ghost/blender/stencil_fixed.blend

Ghost

LoL, I totally misunderstood what you were after!

%<

:o

Well, actually there was a bug, and Ton fixed it yesterday, so in 2.31
it will work as it should :stuck_out_tongue:

Stefano