Oops, I didn't even realize osgviewer compiled just fine. Looks like the flickering problem still exists with osgviewer in CVS. Also, some more info: When loading a large model/database the screen OSG1.0 used to go white before it started rendering. Now, it shows a frozen image of the desktop until it loads with 1.2 and CVS. I'm sure this has to be related to the flickering.
I don't see these symptoms when loading the Quake3 video game on the same computer. (The game shows a white background before rendering) Zach -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, November 28, 2006 15:25 To: osg users Subject: Re: [osg-users] Fullscreen flashing Hi Zach, Thanks for the listing the errors, I'll have a look into them. For the time being just disable osgViewer compilation, its only required for the osgsimpleviewer* examples at present. Robert. On 11/28/06, Zach Deedler <[EMAIL PROTECTED]> wrote: > Hi Robert, > > I finally broke down and downloaded CVS even though I don't like it. > It looks like there are way too many compiling issues with Visual > Studio with the current revisions. I don't have time to try and fix them all right now. > Perhaps later in the week. > > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\GraphicsWindow(33): > error > C2039: 'GUIActionAdapter' : is not a member of 'osgGA' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\GraphicsWindow(33): > error > C2504: 'GUIActionAdapter' : base class undefined > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(32): > error > C2061: syntax error : identifier 'osgViewer' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(33): > error > C2143: syntax error : missing ';' before '*' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(33): > error > C2501: 'osgViewer::CompositeViewer::osgViewer' : missing storage-class > or type specifiers > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(33): > error > C2501: 'osgViewer::CompositeViewer::getView' : missing storage-class > or type specifiers > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(33): > warning > C4183: 'getView': missing return type; assumed to be a member function > returning 'int' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(34): > error > C2143: syntax error : missing ';' before '*' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(34): > error > C2501: 'osgViewer::CompositeViewer::getView' : missing storage-class > or type specifiers > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(34): > warning > C4183: 'getView': missing return type; assumed to be a member function > returning 'int' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(60): > error > C2882: 'osg' : illegal use of namespace identifier in expression > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(60): > error > C2143: syntax error : missing ',' before ':' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(63): > error > C2143: syntax error : missing ';' before '}' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\CompositeViewer(66): > error > C2143: syntax error : missing ';' before '}' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(19): > error > C2143: syntax error : missing ';' before '{' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(20): > error > C2143: syntax error : missing ';' before '}' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(23): > error > C2143: syntax error : missing ';' before '{' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(24): > error > C2143: syntax error : missing ';' before '}' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(25): > error > C2143: syntax error : missing ';' before '}' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\CompositeViewer.cpp(25): > fatal error C1004: unexpected end of file found > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\GraphicsWindow(33): > error > C2039: 'GUIActionAdapter' : is not a member of 'osgGA' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\GraphicsWindow(33): > error > C2504: 'GUIActionAdapter' : base class undefined > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\Viewer(26): error C2039: > 'View' : is not a member of 'osgViewer' > C:\FAAC\osgCvs\OpenSceneGraph\src\osgViewer\Viewer.cpp(19): error C2059: > syntax error : '{' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\View(56): error C2594: > 'argument' : ambiguous conversions from 'const View' to 'const > osg::Referenced &' > c:\Faac\osgCvs\OpenSceneGraph\include\osgViewer\View(56): error C2594: > 'argument' : ambiguous conversions from 'const View' to 'const > osg::Referenced &' > This diagnostic occurred in the compiler generated function > 'View::operator`='' > C:\FAAC\osgCvs\OpenSceneGraph\examples\osgsimpleviewerQT4\osgsimplevie > werQT4 > .cpp(10): fatal error C1083: Cannot open include file: > 'QtCore/QTimer': No such file or directory Project The following > environment variables were not found: > $(QTDIR) > C:\FAAC\osgCvs\OpenSceneGraph\examples\osgsimpleviewerQT3\osgsimplevie > werQT3 > .cpp(11): fatal error C1083: Cannot open include file: 'qtimer.h': No > such file or directory Example osgsimpleviewerSDL fatal error LNK1181: > cannot open input file 'sdl32.lib' > C:\FAAC\osgCvs\OpenSceneGraph\examples\osgsimpleviewerFLTK\osgsimplevi > ewerFL > TK.cpp(10): fatal error C1083: Cannot open include file: 'FL/Fl.H': No > such file or directory Example osgsimpleviewerGLUT fatal error > LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > Example osgsimple fatal error LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > Example osgkeyboardmouse fatal error LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > Example osgintersection fatal error LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > Example osgGLUTsimple fatal error LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > Example osgGLUTkeyboardmouse fatal error LNK1181: cannot open input > file '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > osgWrapper osg fatal error C1083: Cannot open source file: > '\Faac\osgCvs\OpenSceneGraph\src\osgWrappers\osg\CameraNode.cpp': No > such file or directory osgWrapper osgSim error LNK2019: unresolved > external symbol > "__declspec(dllimport) public: void __thiscall > osgUtil::IntersectionVisitor::`vbase destructor'(void)" > ([EMAIL PROTECTED]@@QAEXXZ) referenced in function > "public: __thiscall osgIntrospection::Value::Instance_box<class > osgUtil::IntersectionVisitor>::Instance_box<class > osgUtil::IntersectionVisitor>(class osgUtil::IntersectionVisitor const > &,bool)" > ([EMAIL PROTECTED]@osgUtil@@@[EMAIL PROTECTED] > on@@QA > [EMAIL PROTECTED]@osgUtil@@[EMAIL PROTECTED]) > osgWrapper osgSim error LNK2001: unresolved external symbol > "__declspec(dllimport) public: void __thiscall > osgUtil::IntersectionVisitor::`vbase destructor'(void)" > ([EMAIL PROTECTED]@@QAEXXZ) > osgWrapper osgSim error LNK2001: unresolved external symbol > "__declspec(dllimport) public: void __thiscall > osgUtil::IntersectionVisitor::`vbase destructor'(void)" > ([EMAIL PROTECTED]@@QAEXXZ) > osgWrapper osgSim error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall > osgUtil::IntersectionVisitor::IntersectionVisitor(class > osgUtil::IntersectionVisitor const &)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) referenced in > function > "public: __thiscall osgIntrospection::Value::Instance_box<class > osgUtil::IntersectionVisitor>::Instance_box<class > osgUtil::IntersectionVisitor>(class osgUtil::IntersectionVisitor const > &,bool)" > ([EMAIL PROTECTED]@osgUtil@@@[EMAIL PROTECTED] > on@@QA > [EMAIL PROTECTED]@osgUtil@@[EMAIL PROTECTED]) > osgWrapper osgSim error LNK2001: unresolved external symbol > "__declspec(dllimport) public: __thiscall > osgUtil::IntersectionVisitor::IntersectionVisitor(class > osgUtil::IntersectionVisitor const &)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) > osgWrapper osgSim error LNK2001: unresolved external symbol > "__declspec(dllimport) public: __thiscall > osgUtil::IntersectionVisitor::IntersectionVisitor(class > osgUtil::IntersectionVisitor const &)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) > osgWrapper osgSim fatal error LNK1120: 2 unresolved externals > C:\FAAC\osgCvs\OpenSceneGraph\src\osgWrappers\osgText\Text.cpp(322): > error > C2026: string too big, trailing characters truncated Example > osgsimpleviewerProducer fatal error LNK1181: cannot open input file > '\Faac\osgCvs\OpenSceneGraph\lib\Win32\osgViewer.lib' > > > Zach > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Robert > Osfield > Sent: Tuesday, November 28, 2006 11:40 > To: osg users > Subject: Re: [osg-users] Fullscreen flashing > > Hi Zach, > > On 11/28/06, Zach Deedler <[EMAIL PROTECTED]> wrote: > > Jiminy cricket! Disabling hardware anti-aliasing does get rid of > > the flickering. Too bad that won't be an acceptable option for us. > > This has to be an OSG problem since it has gotten worse in OSG 1.2 > > compared to > 1.0. > > Does anybody know if anti-aliasing setup changed somewhere? > > The core OSG has little to do with the anti-aliasing options you've > selected, it just renders to the graphics context you've set up. > > >From the profile of the problem It is unlikely that there is any > specific OSG related with this problem, the fact that it got worse > with 1.2 is likely down to oddities in the driver, either a > sensitivity in thread timing, or memory usage that just happens to cause problems. > > This isn't the first time we've seen problems with recent win32 NVidia > drivers and OSG usage, the last one was related to non Producer based > apps crashing with the Nvidia drivers, again this just so happen to > not appear to be a problem under 1.0, but was a problem under 1.2, but > pretty well everything that the OSG was sending to the OpenGL was > identical. We found a workaround to the driver bug by explictly > getting the extension string before any drawing occurred, this > workaround can be found in the CVS version of src/osgUtil/SceneView.cpp. The bug has been reported to NVidia. > > Perhaps the problem you are seeing is related to the above, in which > case you could try the CVS version of the OSG and see if it helps. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
