mat1= transpose(mat2);
compiles on my fx5600 / 57.10 and runs

does this run on ATI as well, or is it just some stuff NV threw in?

This function is NOT included by the GLSL specification v1.051 so this is a NV-only function. I didn’t tried it but I think it won’t run on ATI hardware.

In the case you don’t need it for ‘special’ purposes, remember that:

transpose(M)v = vM

Note that being ‘strict’ about notation, in the first case v is a column vector, and in the second case is a row vector.

Hope this helps.

got it working long time ago, just wanted to know

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.