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 would like find out how it is happening.

As it says that OpenGL notation produces the same result because opengl's
post-multiplication notation with column-major matrices is
equivalent to osg's pre-multiplication style operators row-major matrices.


I would like to understand how and where is that equivalent.

It will be nice if you kindly locate me to them.


Regards
Sajjad




On Mon, Aug 25, 2008 at 5:56 PM, Gerrick Bivins <[EMAIL PROTECTED]
> wrote:

> 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
> > 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 to point you in the right direction.
> >
> > Robert.
> >
> > On Mon, Aug 25, 2008 at 4:20 PM, ami guru <[EMAIL PROTECTED]> wrote:
> >> 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
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>
> >>
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to