Re: [osg-users] Problem with using IntersectionVisitor to obtain the viewing matrices

2008-03-18 Thread Ke Li
e correct results yet. Thanks, and regards, Ke Li > Date: Sat, 15 Mar 2008 10:19:05 +> From: [EMAIL PROTECTED]> To: > osg-users@lists.openscenegraph.org> Subject: Re: [osg-users] Problem with > using IntersectionVisitor to obtain the viewing matrices> > Hi Ke Li,>

Re: [osg-users] Problem with using IntersectionVisitor to obtain the viewing matrices

2008-03-18 Thread Ke Li
nd cannot get the correct results yet. Thanks, and regards, Ke Li > Date: Sat, 15 Mar 2008 10:19:05 +> From: [EMAIL PROTECTED]> To: > osg-users@lists.openscenegraph.org> Subject: Re: [osg-users] Problem with > using IntersectionVisitor to obtain the viewing matrices&g

Re: [osg-users] Problem with using IntersectionVisitor to obtain the viewing matrices

2008-03-15 Thread Robert Osfield
Hi Ke Li, I'm confused by your code and what you are trying to do. The matrix stack methods in IntersectionVisitor are there for internal usage during the traversal of the scene graph, as the traversal goes down matrices are pushed on the respective stacks, and on the return up these matrices are

[osg-users] Problem with using IntersectionVisitor to obtain the viewing matrices

2008-03-14 Thread Ke Li
Dear all, I'm trying to obtain the model matrix, the view matrix, the projection matrix and the window matrix. I used the following piece of code in my pick event handler. protected unsafe bool pick(OsgGA.GUIEventAdapter ea, OsgViewer.Viewer viewer) { .. picker = new OsgUtil.LineS