[osg-users] matrix concept - newbie

2008-08-25 Thread ami guru
Hello forum, Quite new to this rendering system. I would like to know which file does contain the mapping of the OSG matrix(2D) to the OpenGL matrix(1D) in the Source? Regards Sajjad ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] matrix concept - newbie

2008-08-25 Thread Robert Osfield
Hi Sajjad, The OSG only has 4x4 Matrix classes, OpenGL itself also just has 4x4 matrices, save for some specific uniforms that have 4x3 matrices. There are no 2D or 1D matrices in either the OSG or OpenGL. Could you please explain what you are trying to achieve, then perhaps others will be able

Re: [osg-users] matrix concept - newbie

2008-08-25 Thread Gerrick Bivins
Sounds like he is referring to how OpenGL stores the matrices, as a 1d array of 16 elements, while OSG stores them as a 2d array of 4x4. biv On 8/25/08 10:43 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Sajjad, The OSG only has 4x4 Matrix classes, OpenGL itself also just has 4x4

Re: [osg-users] matrix concept - newbie

2008-08-25 Thread ami guru
Hi I am going the the quick starter guide and also the Math Link in the website where Robert and Don explained some issues related to matrix. At some point it is specified that the pre-multiplication style matrix operation are the opposite of what we usually find in OpenGL documentation. I