Dupletor
Member
The problem is pretty simple, I have a triangle (x1,y1,z1,x2,y2,z2,x3,y3,z3) and I want to rotate it around one of the axis with GPU, by multiplying the triangle with a 3d rotation matrix.
However, the death of the d3d functions made it terribly harder, as most guides are in obsolete d3d.
"Thee transforms have been replaced with matrix functions now! Using matrix_build in combination with matrix_set(matrix_world, matrix) for the most part."
I couldn't find amongst the "gpu_" functions one that could help creating my own solution, and the documentation for matrix_multiply is pretty terrible. Not only it does not say if it can be done through GPU, it also exclusively uses 4x4 matrixes, so I can't even know if I'm supposed to only use it for Quaternions. So... How am I supposed to use the matrix functions to solve the problem? '-'
However, the death of the d3d functions made it terribly harder, as most guides are in obsolete d3d.
"Thee transforms have been replaced with matrix functions now! Using matrix_build in combination with matrix_set(matrix_world, matrix) for the most part."
I couldn't find amongst the "gpu_" functions one that could help creating my own solution, and the documentation for matrix_multiply is pretty terrible. Not only it does not say if it can be done through GPU, it also exclusively uses 4x4 matrixes, so I can't even know if I'm supposed to only use it for Quaternions. So... How am I supposed to use the matrix functions to solve the problem? '-'