JanHH

01-23-2004, 02:10 PM

Hello,

is it possible to use bump mapping with geometry that is rendered as triange strips? As far as I know I have to supply the light vector in the form of texture coordinates at each vertex, transformed to the triange's tangent space (OR let a vertex program do that, but then I have to supply the matrix used for the tangent space conversion). But in a triangle strip, this will only work if the tangent spaces of all triangles that share a vertex in a strip all have the same tangent spaces for this vertex, which roughly means (as the normal is the same for all triangles) that they all have to line on one plane!?

Am I getting this right?

thx

Jan

is it possible to use bump mapping with geometry that is rendered as triange strips? As far as I know I have to supply the light vector in the form of texture coordinates at each vertex, transformed to the triange's tangent space (OR let a vertex program do that, but then I have to supply the matrix used for the tangent space conversion). But in a triangle strip, this will only work if the tangent spaces of all triangles that share a vertex in a strip all have the same tangent spaces for this vertex, which roughly means (as the normal is the same for all triangles) that they all have to line on one plane!?

Am I getting this right?

thx

Jan