SET EFFECT TRANSPOSE This command will set the transpose method of the FX effect.
Syntax
    SET EFFECT TRANSPOSE Effect Number, Transpose Flag
Parameters
    Effect Number
Integer The effect number
    Transpose Flag
Integer Setting the transpose flag to one will tranpose any matrix data passed to the shader
Returns
This command does not return a value.
Description
Low and high level shaders perform 3D maths using the matrix data passed in by the application. Some of these shaders require that the matrix data is tranposed, where others require untransposed matrix data. Setting the transpose flag to one will tranpose any matrix data passed to the shader.
Example Code
    backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0

    cd "fx\bubble"

    load effect "bubble.fx",1,1

    load object "sphere.x",1

    if effect exist(1)=1 then set object effect 1,1

    position object 1,0,0,0

    SET EFFECT TRANSPOSE 1,0

    while mouseclick()=0:sync:endwhile

    while mouseclick()=1:endwhile

    delete object 1

    delete effect 1

    end
See also
BASIC3D Commands Menu Index