I have had this problem since I first started using OSG in every application that has multiple views of the same scene graph. All of mine are windows based, but only one was MFC. Anyway, I always resolved the issue by turning off display lists. It seems there is a problem somewhere that should be fixed, but perhaps my "turning off display lists" hack might point someone who knows better in the right direction.
-- Rick On Tue, Jun 24, 2008 at 4:30 AM, amalric alexandre <[EMAIL PROTECTED]> wrote: > Hi Jean-Sébastien, > > I was kidding when I was saying that the community wasn't really > appreciating windows. > > I have resolved my bug about adding and removing views, I don't know > exactly how because I made a lot of modification in my code and I was a > little bit lost. > > But there is 2 others strange behaviours that the community can reproduce : > > 1) The first one is about the MFC sample (OSG 2.5.2), sorry it's seems to > be related to the GraphicsWindowWin32 : > - First open a model > - Minimize the first window > - Click on "Window"->"New Window" > - Minimize the second window > - Close the first window > - Then try to resize by holding the corner of the second window > You'll see something like the picture I attached. > > > 2) The second bug is about something we told in a previous post : > [osg-users] Textures disappear when removing and adding views > I attached a code sample (derived from osgwindow sample) wich reproduce > this kind of bug : > - Launch my sample, loading the cow.osg (default behaviour no args) > - Press 'a' key to remove a view from the composite viewer > - Press 'z' key to add a new view to the composite viewer > - The new view is showing a cow without any texture > > How can we avoid this kind of behaviour, am I missing something ? > > Kind regards, > > > > > > 2008/6/23 Jean-Sébastien Guay <[EMAIL PROTECTED]>: > >> Hello Alexandre, >> >> I know that the community isn't really appreciating windows and MFC but >>> I'm not sure to reproduce the bug in an other example, I'll give a try and >>> you will hear from me if I succeed. >>> >> >> I wouldn't interpret what Robert said as "the community isn't really >> appreciating Windows and MFC", just that if you base your example on the MFC >> example then you're vastly reducing the chances that your problem will get >> debugged/fixed. The simulation market (where OSG has been mostly used since >> the project was started) has traditionally been more Unix/Linux-centered, so >> it's not surprising that Windows is not chosen as much. >> >> Please try to reproduce your problem in a general example (like >> osgcompositeviewer for example) and if you succeed, send it in. If not, then >> modify osgviewerMFC to see if you can reproduce it there. I can test it out, >> and so can others I think, just not the majority of the poeple who are well >> placed to find/fix the problem (I may be able to compile/run your example, >> but I might not be able to find out what's wrong...). >> >> J-S >> -- >> ______________________________________________________ >> Jean-Sebastien Guay [EMAIL PROTECTED] >> http://www.cm-labs.com/ >> http://whitestar02.webhop.org/ >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > > -- > Alexandre AMALRIC Ingénieur R&D > =================================== > PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille > http://www.pixxim.fr > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- >> Rick Check us out at http://fringe-online.com/
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

