openGL coordinates of vertices into a matrix
Hi,
I am trying to rotate a 2x2 plane in openGL and get the x,y,z coordinates of ABCD vertices into a matrix. Is that possible?
PS: there are two 2x2 planes in a patch below because I was trying two different methods...
...I would like to use ABCD coordinates as 4 camera positions...
in case anyone else is interested, i found a solution in this topic:
it is not exactly what i was looking for, but it does exactly the same thing that i needed
hi t, just wanted to let you know you can do this all with matrixoutput mode 2, and simple transform attributes to the gridshape:
That is SOOO AWESOME!!! Thank you Robert!!!
PS: Sorry for replying so late, I missed your answer.
There are fun things to be found when doing it with matrices, though - like chopping a GL structure in two, treating them differently and recombining them into one odd freak, all using basic jitter. I love that.
double post.
and here is the easy version, without scary equations, using only jit.gridshape @matrixoutput2: