Anders

11-07-2002, 01:13 AM

Hi

I'm currently looking at the automatic texture generation function glGenTex in openGL. I am a little puzzled by it. Could someone please explain what the S, T, R, Q planes are, what they do, and how to set them up? I've seen some examples using this function, but they all just enter the indentity matrix as the s,t,r,q matrix. I realise, that they have a similar function to the homogenous coordinates X,Y,Z and W, but I haven't understood the function completely. So if someone could explain it to me or point me to a site that does, I would appreciate it. Thank you.

Also, when is it appropriate to use the GenTex function? What do professionals do?

Anders

I'm currently looking at the automatic texture generation function glGenTex in openGL. I am a little puzzled by it. Could someone please explain what the S, T, R, Q planes are, what they do, and how to set them up? I've seen some examples using this function, but they all just enter the indentity matrix as the s,t,r,q matrix. I realise, that they have a similar function to the homogenous coordinates X,Y,Z and W, but I haven't understood the function completely. So if someone could explain it to me or point me to a site that does, I would appreciate it. Thank you.

Also, when is it appropriate to use the GenTex function? What do professionals do?

Anders