[info-performer] pfGetViewMat and pfGetProjMat

Date view Thread view Subject view Author view

From: faculaganymede (faculaganymede++at++yahoo.com)
Date: 01/12/2005 08:33:24


Hi All,

Inside the channel draw call back function, I am
making some calls to read the current projection and
viewing matrices. I get different results from
glGetFloatv() and the pfGet$_Mat() functions; the
values of the returned matrices are different. Does
anyone know why? I thought these two functions are
equilvalent!?

Code fragment:
...
pfDraw();

// GL
GLfloat projMatD[16];
GLfloat modelViewMatD[16];
glGetFloatv(GL_PROJECTION_MATRIX, projMatD);
glGetFloatv(GL_MODELVIEW_MATRIX, modelViewMatD);

// PF
pfMatrix ViewMat;
pfMatrix ProjMat;
pfGetViewMat(ViewMat);
pfGetProjMat(ProjMat);
...

=====
Thanks,
faculaganymede

                
__________________________________
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jan 12 2005 - 08:33:26 PST