Hi Johan, I'm afraid I can't help you. Lots of little code extracts into an many separate emails is next to impossible to piece together. All I really know is there is something is up with the way you are setting up the master/slave frustums, as to what I don't know. Is a bug on the OSG? Is it a missing feature? I don't know. I can't know with a patchy paper trail. A concrete example that can be compiled and the problem seen first is the way to track it down.
Robert. On 10/23/07, Johan Johnsson <[EMAIL PROTECTED]> wrote: > ahh didnt help, something more is missing i come up with a new hint tho. > > if i comment out this or have it going the resault is all the same ? > isnt it here i set the frusutm ? > beacuse left right bottom top near far is based upon my frustum settings > in my file like this: > > double left = ((fromfile.frustum.left) * > fromfile.frustum.nearClipping / abs( fromfile.frustum.distance)); > double right = ((fromfile.frustum.right) * > fromfile.frustum.nearClipping / abs( fromfile.frustum.distance)); > double top = ((fromfile.frustum.top) * > fromfile.frustum.nearClipping / abs( fromfile.frustum.distance)); > double bottom = ((fromfile.frustum.bottom) * > fromfile.frustum.nearClipping / abs( fromfile.frustum.distance)); > > //camera->setProjectionMatrixAsFrustum(left, right, bottom, top, > fromfile.frustum.nearClipping, fromfile.frustum.farClipping); > > Is there any other way to set the frustum ?, then to use > setProjectionMatrixAsFrustum. > what do you guys suggest in this case. > > and ty again all for your wonderful help, and time. ! > > > On Mon, 22 Oct 2007 15:50:42 +0200, Robert Osfield > <[EMAIL PROTECTED]> wrote: > > > On 10/22/07, Johan Johnsson <[EMAIL PROTECTED]> wrote: > >> If this can help : i get the same problem if i dont set the > >> camera->setShareLens(false); > >> on my old project,.. > >> > >> can i set a flag in OSG v2.0 that corresponds to > >> camera->setShareLens(false) in OSG v1.0? :D > > > > Yes just set the slave Camera so that its ReferencegFrame is > > ABSOLUTE_RF - this disconnects both the projection and view matrices > > though so the slave is totally independent. > > > > > > Robert. > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > -- > Mr. Johan Johnsson > AutoSim AS, Strandveien 106, 9006 Tromsø > Visit us at http://www.autosim.no > _______________________________________________ > 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