Pentagram

05-30-2003, 12:37 PM

I have a problem with the tangentspace bumpmapping of mirrored parts. The problem is NOT the mirrored parts in itself its where the mirrored parts meet the unmirrored ones. This happens with things like a face that's only half skinned. I've tried the following things but all have some visible glitch. Do you guys have done more tweaking with this case? Any suggestions I could try?

These are what I already tried http://www.opengl.org/discussion_boards/ubb/biggrin.gif

1) Just using 2 bases per vertex one for each side of the mirrored part http://tenebrae.sourceforge.net/beta/tangent_1.JPG

2) Using the averaged space of the 2 bases from (1) This obviously gives a degenerate s pace as the vectors cancel each other out http://tenebrae.sourceforge.net/beta/tangent_2.JPG

3) Using only one space (the unmirrored one) this gives a seam as the space "flips" over the first row of mirrored tris. http://tenebrae.sourceforge.net/beta/tangent_3.JPG

Charles

These are what I already tried http://www.opengl.org/discussion_boards/ubb/biggrin.gif

1) Just using 2 bases per vertex one for each side of the mirrored part http://tenebrae.sourceforge.net/beta/tangent_1.JPG

2) Using the averaged space of the 2 bases from (1) This obviously gives a degenerate s pace as the vectors cancel each other out http://tenebrae.sourceforge.net/beta/tangent_2.JPG

3) Using only one space (the unmirrored one) this gives a seam as the space "flips" over the first row of mirrored tris. http://tenebrae.sourceforge.net/beta/tangent_3.JPG

Charles