[osg-users] crash when rendering the pagedlog database
Hi, I have an activeX control which simplily render a pagedlod earth and It can be loaded from IE successfully. But when I press F5 to refresh the page, it runs into a crash. The callstack snapshot is in the attachment. The earth is made by vpb with -terrain. And then I also made a test using earth without -terrain, it runs well when refreshed. My compute is ThinkPad SL400 with NVIDIA GeForce G 105M graphics card. Is it a bug of osg or my misuse? Thank you! Cheers, Ren -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21843#21843 Attachments: http://forum.openscenegraph.org//files/callstack_203.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CompositeViewer::removeView crashes
I had to setSceneData(0) before removing the view to make it work,. If you areintersted I can put a sample test case reproducing the problem Nick http://www.linkedin.com/in/tnick On Wed, Dec 23, 2009 at 8:47 PM, Trajce Nikolov wrote: > I figured out the conditions. > > In the scene, I have a model that has cameras (pre-render) attached to some > portion of the models via textures. When I load that model, then it hangs. > Without this model, everything looks just fine > > Nick > > http://www.linkedin.com/in/tnick > > > On Wed, Dec 23, 2009 at 7:23 PM, Trajce Nikolov > wrote: > >> here is the code snippet >> >> mLib->getViewer()->stopThreading(); >> mLib->getViewer()->removeView(view); >> mLib->getViewer()->startThreading(); >> >> it is called before viewer->frame() >> >> let me investigate this a bit more. I tried to reproduce the problem with >> osgcompositeviewer example, but there is works >> >> >> Nick >> >> http://www.linkedin.com/in/tnick >> Sent from Istanbul, 34, Turkey >> >> On Wed, Dec 23, 2009 at 6:47 PM, Robert Osfield > > wrote: >> >>> HI Nick, >>> >>> On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov >>> wrote: >>> > Hi Robert, >>> > now it hangs at >>> > // dispatch the rendering threads >>> > if (_startRenderingBarrier.valid()) >>> _startRenderingBarrier->block(); >>> > the same method >>> >>> Is this during the the stopThreading() call? After? Have a look at >>> what other threads are running to see where they have stopped. >>> >>> Robert. >>> ___ >>> 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] CURL + SSL
Hi, I have new issue with SSL and CURL, so I have decided to open new thread. I conifured my site with SSL and I'm able to download ive file perfectly from https://servername/1.ive, however, when I'm using Node = osgDB::readNodeFile("https://servernmae/1.ive";); Node is getting NULL. In order to be sure that there is no issue with Certificate (although the certificate was issue by Verisign as 14 day trial) I modified ReaderWriterCURL.cpp by adding curl_easy_setopt(_curl, CURLOPT_SSL_VERIFYPEER, false); in EasyCurl() constructor and recompile entire OpenSceneGrpaph project. The result is still the same. Am I missing something? How can I this feature working? Thank you! Cheers, Danny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21841#21841 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)
You need a glcontext to query the openGL - because it's possible that some supported features might depend on the configuration at runtime. I couldn't find an OSG specific exampel , but this might help http://stackoverflow.com/questions/126028/how-to-write-an-installer-that-checks-for-opengl-support Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21840#21840 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] MultiTexturecontrol on OSG subgraphs (NOT VPB)
Hi, I would like to control textures on models which are not build by VPB. In the sourcecode and in the examples debug message, , it seems that the two textures must be assigned to to different textureUnits. I did this, but I doesnt work. osgmulticontroltexture.exe failes with the debug hint that at least 2 textureunits are requiered. (sounds logical :) ) My model consists of 800 submodels (each with two textures), which I grouped originally unter a osg::Group. To enable the texture control, I replaced this osg::Group by a osgFX::MutilTextureControl node. What is the basic design of multitexturecontrol? Thank you very much! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21839#21839 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)
I wanted to capture/print out the current OpenGL version, vendor information and maybe driver version at program startup. The glGetString() functions and osg equivalents require an active GL context. Would one create a special invisible context just to get this information?. Seems like this should be quite straightforward but forum/example searching didn't seem to turn anything up for me... Thanks Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21838#21838 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] 'Unknown node in Group::write()' when writing IVE file but not OSG file
Hello all, I think I just came across a bug in 2.9.6, revision 10691. I save a tree (very simple one) which has been created from importing a tree using the 3ds plugin (log below): -- LOG BEGINS -- INFO: OSG: Opened DynamicLibrary osgPlugins-2.9.6/osgdb_3dsd.dll INFO: OSG: texture->name=OAK1.TGA, _directory=C:/Users/Jean-Olivier Racine/Desktop WARNING: OSG: texture 'OAK1.TGA' not found INFO: OSG: Final OSG node structure looks like this: INFO: OSG: Group INFO: OSG: Geode -- LOG ENDS -- When I try to save this tree, I simply do a osgDB::writeNodeFile(node, filename), where the node corresponds to the group in the LOG above. If I save using the OSG (in filename), all works fine. If I save using the IVE extension, it fails (log below): -- LOG BEGINS -- INFO: OSG: Opened DynamicLibrary osgPlugins-2.9.6/osgdb_ived.dll WARNING: OSG: Error writing IVE file: Unknown node in Group::write() -- LOG ENDS -- Looking at the code where the exception is thrown, in DataOuputStream.cpp:1381 (in writeNode()), it seems that there simply isn't any treatment for... ...osg::node. Only sub types are handled. I did not try to modify the code and recompile because I am not setup for this, but in all likelihood, I believe that this is the problem. Are you aware of this? Am I missing something? Thanks all, J-O ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CompositeViewer::removeView crashes
I figured out the conditions. In the scene, I have a model that has cameras (pre-render) attached to some portion of the models via textures. When I load that model, then it hangs. Without this model, everything looks just fine Nick http://www.linkedin.com/in/tnick On Wed, Dec 23, 2009 at 7:23 PM, Trajce Nikolov wrote: > here is the code snippet > > mLib->getViewer()->stopThreading(); > mLib->getViewer()->removeView(view); > mLib->getViewer()->startThreading(); > > it is called before viewer->frame() > > let me investigate this a bit more. I tried to reproduce the problem with > osgcompositeviewer example, but there is works > > > Nick > > http://www.linkedin.com/in/tnick > Sent from Istanbul, 34, Turkey > > On Wed, Dec 23, 2009 at 6:47 PM, Robert Osfield > wrote: > >> HI Nick, >> >> On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov >> wrote: >> > Hi Robert, >> > now it hangs at >> > // dispatch the rendering threads >> > if (_startRenderingBarrier.valid()) _startRenderingBarrier->block(); >> > the same method >> >> Is this during the the stopThreading() call? After? Have a look at >> what other threads are running to see where they have stopped. >> >> Robert. >> ___ >> 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] Getting the angle of rotation around an arbitrary axis from a Quat
Hi, I have a situation where I have a skeleton joint that I need to manually rotate let's say around the X and Y axis relative to its parent within a max and min angle limit. In order to check against this limit I need to get the angles of rotation around these axes from the quaternion that holds the local joint orientation. The problem is that getRotate() only returns the angle of rotation and the original axis of rotation. How can I derive the angles of rotation on the arbitrary axes from the local orientation quaternion? ... Thank you! Cheers, Thanos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21835#21835 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece
Hi, Can you publish your code where to access the elevation data? At the moment I try to calculate how much the elevation differenz to the elipsoid must be to get a flat. Thank you and merry Christmas, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21834#21834 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Picking individual triangles from within a loaded model
there is a picking example in the LMB tutorials (#6) http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/ And there is a slightly more complete, but more complex example in osgpick in the main sources Picking a triangle basically consists of firing a single ray and getting a list of all the shapes it intersects. Cheers, Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21833#21833 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] curl Plugun + OSG
Hi, Thank you it helped the plugin is now installed. It works perfect with .ive files. However, it shows nothing nothing with 3ds file, I'm OK with downloading ive files only, but I'm curious why I can't work with 3DS extentions. Another issue is how to set proxy setting for passing through corporate firewalls? Thank you! Cheers, Danny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21832#21832 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CompositeViewer::removeView crashes
here is the code snippet mLib->getViewer()->stopThreading(); mLib->getViewer()->removeView(view); mLib->getViewer()->startThreading(); it is called before viewer->frame() let me investigate this a bit more. I tried to reproduce the problem with osgcompositeviewer example, but there is works Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Wed, Dec 23, 2009 at 6:47 PM, Robert Osfield wrote: > HI Nick, > > On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov > wrote: > > Hi Robert, > > now it hangs at > > // dispatch the rendering threads > > if (_startRenderingBarrier.valid()) _startRenderingBarrier->block(); > > the same method > > Is this during the the stopThreading() call? After? Have a look at > what other threads are running to see where they have stopped. > > Robert. > ___ > 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
Re: [osg-users] CompositeViewer::removeView crashes
HI Nick, On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov wrote: > Hi Robert, > now it hangs at > // dispatch the rendering threads > if (_startRenderingBarrier.valid()) _startRenderingBarrier->block(); > the same method Is this during the the stopThreading() call? After? Have a look at what other threads are running to see where they have stopped. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CompositeViewer::removeView crashes
Hi Robert, now it hangs at // dispatch the rendering threads if (_startRenderingBarrier.valid()) _startRenderingBarrier->block(); the same method Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Wed, Dec 23, 2009 at 6:04 PM, Robert Osfield wrote: > Hi Nick, > > Try calling stopThreading() before you remove the view, and > startThreading() after you've done it. > > Robert. > > On Wed, Dec 23, 2009 at 3:46 PM, Trajce Nikolov > wrote: > > Hi Robert, > > now I did it outside frame. Id doesnt crash anymore ... but, it hangs at > > _endDynamicDrawBlock->block(); > > void ViewerBase::renderingTraversals() > > after view removal > > I have composite viewer > > > with > setThreadingModel(osgViewer::CompositeViewer::CullThreadPerCameraDrawThreadPerContext); > > any ideas ? > > Nick > > > > http://www.linkedin.com/in/tnick > > Sent from Istanbul, 34, Turkey > > > > On Wed, Dec 23, 2009 at 3:14 PM, Robert Osfield < > robert.osfi...@gmail.com> > > wrote: > >> > >> Hi Nick, > >> > >> How are you removing the view? From an event handler from within the > >> view? If so then this will crash as you'll be deleting the object you > >> are doing the work from. > >> > >> The right way remove a view is outside of frame(). > >> > >> Robert. > >> > >> On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov > >> wrote: > >> > here is the call stack > >> > > >> > > >> > > osg62-osgViewerd.dll!std::list,std::allocator > >> >> >::begin() Line 528 + 0x13 bytes C++ > >> >> osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() > Line > >> >> 990 + 0x19 bytes C++ > >> > osg62-osgViewerd.dll!osgViewer::ViewerBase::frame(double > >> > simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++ > >> > KtIGLibOSGD.dll!RunThread::run() Line 11 C++ > >> > > >> > for(ViewEventsMap::iterator veitr = viewEventsMap.begin(); > >> > veitr != viewEventsMap.end(); > >> > ++veitr) > >> > { > >> > View* view = veitr->first; > >> > for(osgGA::EventQueue::Events::iterator itr = > >> > veitr->second.begin(); > >> > itr != veitr->second.end(); > >> > ++itr) > >> > { > >> > osgGA::GUIEventAdapter* event = itr->get(); > >> > for(View::EventHandlers::iterator hitr = > >> > view->getEventHandlers().begin(); > >> > hitr != view->getEventHandlers().end(); > >> > ++hitr) > >> > { > >> > > (*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( > >> > *event, *view, 0, 0); > >> > } > >> > } > >> > } > >> > crashes on line 997 > >> > Nick > >> > > >> > http://www.linkedin.com/in/tnick > >> > > >> > ___ > >> > 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 > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Imposible to get libecwj for Unix
Hi Samuel, You can get the ECW SDK from http://gentoo.cs.utah.edu/distfiles/libecwj2-3.3-2006-09-06.zip if ERMapper is down. Thanks! Jason On Wed, Dec 23, 2009 at 10:56 AM, Samuel Jarque wrote: > Hi, > > I need to build GDAL with ECW, so I search in google and I find this page: > http://trac.osgeo.org/gdal/wiki/ECW. > That's perfect, but the problem is http://www.ermapper.com/ is down and I > can't get libecwj. > > If anybody knows how to get it, please reply to this post. > > Thank you! > > Cheers, > Samuel > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21826#21826 > > > > > > ___ > 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
Re: [osg-users] CompositeViewer::removeView crashes
Hi Nick, Try calling stopThreading() before you remove the view, and startThreading() after you've done it. Robert. On Wed, Dec 23, 2009 at 3:46 PM, Trajce Nikolov wrote: > Hi Robert, > now I did it outside frame. Id doesnt crash anymore ... but, it hangs at > _endDynamicDrawBlock->block(); > void ViewerBase::renderingTraversals() > after view removal > I have composite viewer > with setThreadingModel(osgViewer::CompositeViewer::CullThreadPerCameraDrawThreadPerContext); > any ideas ? > Nick > > http://www.linkedin.com/in/tnick > Sent from Istanbul, 34, Turkey > > On Wed, Dec 23, 2009 at 3:14 PM, Robert Osfield > wrote: >> >> Hi Nick, >> >> How are you removing the view? From an event handler from within the >> view? If so then this will crash as you'll be deleting the object you >> are doing the work from. >> >> The right way remove a view is outside of frame(). >> >> Robert. >> >> On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov >> wrote: >> > here is the call stack >> > >> > >> > osg62-osgViewerd.dll!std::list,std::allocator >> >> >::begin() Line 528 + 0x13 bytes C++ >> >> osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() Line >> >> 990 + 0x19 bytes C++ >> > osg62-osgViewerd.dll!osgViewer::ViewerBase::frame(double >> > simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++ >> > KtIGLibOSGD.dll!RunThread::run() Line 11 C++ >> > >> > for(ViewEventsMap::iterator veitr = viewEventsMap.begin(); >> > veitr != viewEventsMap.end(); >> > ++veitr) >> > { >> > View* view = veitr->first; >> > for(osgGA::EventQueue::Events::iterator itr = >> > veitr->second.begin(); >> > itr != veitr->second.end(); >> > ++itr) >> > { >> > osgGA::GUIEventAdapter* event = itr->get(); >> > for(View::EventHandlers::iterator hitr = >> > view->getEventHandlers().begin(); >> > hitr != view->getEventHandlers().end(); >> > ++hitr) >> > { >> > (*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( >> > *event, *view, 0, 0); >> > } >> > } >> > } >> > crashes on line 997 >> > Nick >> > >> > http://www.linkedin.com/in/tnick >> > >> > ___ >> > 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
[osg-users] Imposible to get libecwj for Unix
Hi, I need to build GDAL with ECW, so I search in google and I find this page: http://trac.osgeo.org/gdal/wiki/ECW. That's perfect, but the problem is http://www.ermapper.com/ is down and I can't get libecwj. If anybody knows how to get it, please reply to this post. Thank you! Cheers, Samuel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21826#21826 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CompositeViewer::removeView crashes
Hi Robert, now I did it outside frame. Id doesnt crash anymore ... but, it hangs at _endDynamicDrawBlock->block(); void ViewerBase::renderingTraversals() after view removal I have composite viewer with setThreadingModel(osgViewer::CompositeViewer::CullThreadPerCameraDrawThreadPerContext); any ideas ? Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Wed, Dec 23, 2009 at 3:14 PM, Robert Osfield wrote: > Hi Nick, > > How are you removing the view? From an event handler from within the > view? If so then this will crash as you'll be deleting the object you > are doing the work from. > > The right way remove a view is outside of frame(). > > Robert. > > On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov > wrote: > > here is the call stack > > > > > osg62-osgViewerd.dll!std::list,std::allocator > >> >::begin() Line 528 + 0x13 bytes C++ > >> osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() Line > >> 990 + 0x19 bytes C++ > > osg62-osgViewerd.dll!osgViewer::ViewerBase::frame(double > > simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++ > > KtIGLibOSGD.dll!RunThread::run() Line 11 C++ > > > > for(ViewEventsMap::iterator veitr = viewEventsMap.begin(); > > veitr != viewEventsMap.end(); > > ++veitr) > > { > > View* view = veitr->first; > > for(osgGA::EventQueue::Events::iterator itr = > veitr->second.begin(); > > itr != veitr->second.end(); > > ++itr) > > { > > osgGA::GUIEventAdapter* event = itr->get(); > > for(View::EventHandlers::iterator hitr = > > view->getEventHandlers().begin(); > > hitr != view->getEventHandlers().end(); > > ++hitr) > > { > > (*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( > > *event, *view, 0, 0); > > } > > } > > } > > crashes on line 997 > > Nick > > > > http://www.linkedin.com/in/tnick > > > > ___ > > 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
Re: [osg-users] CompositeViewer::removeView crashes
Hi Nick, How are you removing the view? From an event handler from within the view? If so then this will crash as you'll be deleting the object you are doing the work from. The right way remove a view is outside of frame(). Robert. On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov wrote: > here is the call stack > > osg62-osgViewerd.dll!std::list,std::allocator >> >::begin() Line 528 + 0x13 bytes C++ >> osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() Line >> 990 + 0x19 bytes C++ > osg62-osgViewerd.dll!osgViewer::ViewerBase::frame(double > simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++ > KtIGLibOSGD.dll!RunThread::run() Line 11 C++ > > for(ViewEventsMap::iterator veitr = viewEventsMap.begin(); > veitr != viewEventsMap.end(); > ++veitr) > { > View* view = veitr->first; > for(osgGA::EventQueue::Events::iterator itr = veitr->second.begin(); > itr != veitr->second.end(); > ++itr) > { > osgGA::GUIEventAdapter* event = itr->get(); > for(View::EventHandlers::iterator hitr = > view->getEventHandlers().begin(); > hitr != view->getEventHandlers().end(); > ++hitr) > { > (*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( > *event, *view, 0, 0); > } > } > } > crashes on line 997 > Nick > > http://www.linkedin.com/in/tnick > > ___ > 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] CompositeViewer::removeView crashes
here is the call stack osg62-osgViewerd.dll!std::list,std::allocator > >::begin() Line 528 + 0x13 bytes C++ > osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() Line 990 + 0x19 bytes C++ osg62-osgViewerd.dll!osgViewer::ViewerBase::frame(double simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++ KtIGLibOSGD.dll!RunThread::run() Line 11 C++ for(ViewEventsMap::iterator veitr = viewEventsMap.begin(); veitr != viewEventsMap.end(); ++veitr) { View* view = veitr->first; for(osgGA::EventQueue::Events::iterator itr = veitr->second.begin(); itr != veitr->second.end(); ++itr) { osgGA::GUIEventAdapter* event = itr->get(); for(View::EventHandlers::iterator hitr = view->getEventHandlers().begin(); hitr != view->getEventHandlers().end(); ++hitr) { (*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( *event, *view, 0, 0); } } } crashes on line 997 Nick http://www.linkedin.com/in/tnick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG Build error on Mac OS X
Hi Vijay, The svn version of the OSG now has the restructured the way it incorporates the tristripper library - using a subdirectory that mirrors the tristripper library itself, rather than embedding the source code all in the src/osgUtil directory as was done before. The latest version of tristripper also introduces extra files. All of which will break the hand maintained XCode project file till Stephan Huber gets a chance to update them. I will add the hand maintained XCode project files are deprecated and soon to be removed entirely from the OSG. The route going forward for XCode support will be to use Cmake to generate them. CMake already has support for generated XCode projects, but doesn't yet support frameworks - something that Stephan is working on so hopefully this will soon be solved as well and the hand maintained XCode projects will be history. Robert. On Tue, Dec 22, 2009 at 7:44 PM, Vijay Kalivarapu wrote: > Hi, > > I am trying to build OSG on Mac OS X Snow leopard using Xcode. I ran into the > following build errors and I have no idea where to start solving them. Can > anyone help: > > > Code: > > Ld > build/OpenSceneGraph.build/Development/osgdb_bsp.build/Objects-normal/i386/osgdb_bsp.so > normal i386 > cd /Users/vijay/Downloads/softwareDownloads/osgSvn2.8.2/Xcode/OpenSceneGraph > setenv MACOSX_DEPLOYMENT_TARGET 10.4 > /Developer/usr/bin/g++-4.2 -arch i386 -bundle -isysroot > /Developer/SDKs/MacOSX10.5.sdk > -L/Users/vijay/Downloads/softwareDownloads/osgSvn2.8.2/Xcode/OpenSceneGraph/build/Development > > -F/Users/vijay/Downloads/softwareDownloads/osgSvn2.8.2/Xcode/OpenSceneGraph/build/Development > -F/Users/vijay/Library/Frameworks > -F/Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks -filelist > /Users/vijay/Downloads/softwareDownloads/osgSvn2.8.2/Xcode/OpenSceneGraph/build/OpenSceneGraph.build/Development/osgdb_bsp.build/Objects-normal/i386/osgdb_bsp.LinkFileList > -mmacosx-version-min=10.4 -framework OpenThreads -framework osg -framework > osgDB -o > /Users/vijay/Downloads/softwareDownloads/osgSvn2.8.2/Xcode/OpenSceneGraph/build/OpenSceneGraph.build/Development/osgdb_bsp.build/Objects-normal/i386/osgdb_bsp.so > > Undefined symbols: > "osgUtil::TriStripVisitor::stripify()", referenced from: > bsp::VBSPGeometry::createGeometry() in osgdb_bsp.so-i386-master.o > "vtable for osgUtil::TriStripVisitor", referenced from: > __ZTVN7osgUtil15TriStripVisitorE$non_lazy_ptr in > osgdb_bsp.so-i386-master.o > "VTT for osgUtil::TriStripVisitor", referenced from: > __ZTTN7osgUtil15TriStripVisitorE$non_lazy_ptr in > osgdb_bsp.so-i386-master.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > > > > > > > > > Thank you! > > Cheers, > Vijay > [/code] > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21808#21808 > > > > > > ___ > 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
Re: [osg-users] DDS uncompressed RGB(A) / BGR(A)
Hi Robert and all, I'm lost: - Changing R, G or B writer's masks doesn't seem to affect reading (either the plugin or 3rd-party readers, except when masks are completely nonsense) - Copying the image (DEEP_COPY) and writing the copy instead of the oringinal result in a vertical flip of the image in the file! - Manually inverting R & B channels in a copy of the image doesn't do anything... I must have a very stupid mistake somewhere but I can't fugure out where... Any idea? Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ - "Robert Osfield" a écrit : > Hi Sukender, > > I'm not overly familiar with the dds plugin, but what you describe > sounds like a bug in writer in our dds plugin. > > Robert. > > On Fri, Dec 18, 2009 at 5:15 PM, Sukender wrote: > > Hi all, > > > > It was discussed a long time ago but I dit not find an answer. > Saving to DDS an uncompressed RGB image and then loading from the file > works: the loaded image is the same as the original. However, the file > is BGR (R and B inverted). I tried three 3rd-party tools (image > viewer/converters) and all display the same. > > Do you think this is a bug in DDS readerwriter? Anyone has a clue > about it? > > Thanks a lot. > > > > Sukender > > PVLE - Lightweight cross-platform game engine - > http://pvle.sourceforge.net/ > > ___ > > 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
Re: [osg-users] How to get average frame rate after some amount of running time?
On 23/12/09 12:23 AM, Nguyen Tien Dat wrote: > frameRate = (double)numOfFrame/(endTime - startTime); > > But it always gives me about 60fps. Did I make a mistake somehow? > (startTime and endTime are in seconds already) 60Hz sounds like you are running with sync-to-vblank. /ulrich ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org