Chris says:
also, do you know how to read the raw x,y,z data from opengl
Chris says:
and output it ?
iridium says:
from what?
Chris says:
like all the points in the gl matrix
Chris says:
for a given frame
Chris says:
anyway to flush the gl memory, basicly
iridium says:
I don't understand to what data are you refering?
Chris says:
the internal gl memory telling the 3dcard where stuff is onscreen
Chris says:
i want to oputput the current gl matrix
Chris says:
so i can see what format it is in
Chris says:
cause i keep reading matrix tutorials, but they don't help me understand how it works because they never show examples
Chris says:
i have yet to find a working example sourcecode for matricies
iridium says:
I can't think of any use you'd have for that information
iridium says:
What do you want with it?
Chris says:
just to see how it is laid out
Chris says:
so i can know what to do on the php end to pass points and data to gl
Chris says:
im trying to get away from using gltranslatef or glrotate
Chris says:
im going to replace it with a php variant
iridium says:
You have absolutely *no* reason to do that
iridium says:
trust me
Chris says:
cause php can do it faster then opengl can
iridium says:
no it can't!
Chris says:
yes it can
Chris says:
opengl uses a 3x3 matrix
Chris says:
i need a 4x4
iridium says:
opengl uses a 4x4 matrix.
iridium says:
what on earth makes you think it uses a 3x3 matrix?
Chris says:
damn tutorials tell me wrong then
iridium says:
3d transformations don't work at all without a 4x4 matrix
Chris says:
maybee i should just look at the opengl source then
iridium says:
trust me that opengl will always do matrix calculations faster than PHP ever can |