Re: [osg-users] error happened when I use opengl in osg

2013-09-17 Thread Robert Osfield
Hi? Could you sign with a name so we know how to address you? I don't use Windows or MFC so can't answer specifics on this, though I kinda surprised MFC is still be used after all these years... ain't it time to write portable applications and use a portable UI? W.r.t using OpenGL, I see that

Re: [osg-users] viewer-getCameraWithFocus() is gone?

2013-09-17 Thread David Zaadstra
Hi, I think I have resolved the problem in the mean time. IIRC the problem was that I was picking during regular mouse events (not the osg ones) which could happen any time during traversals. I believe I fixed it with a mutex around frame() and the picking. That might be suboptimal with

[osg-users] Crash when loading a model

2013-09-17 Thread Kevin Virmani
Hi, I try to start a very simple programm on Win7 with VS10. but everytime it crashes. What did I do wrong? Code: #include osgViewer/Viewer #include osgDB/ReadFile int main(int argc, char *argv[]) { osgViewer::Viewer *viewer = new osgViewer::Viewer; // add model to viewer.

Re: [osg-users] Crash when loading a model

2013-09-17 Thread Robert Osfield
Hi Kevin, On 17 September 2013 14:26, Kevin Virmani k.virm...@gmx.de wrote: I try to start a very simple programm on Win7 with VS10. but everytime it crashes. What did I do wrong? You used Windows :-) Seriously, though it could well be a VisualStudio build and linkage issue, check that you

Re: [osg-users] Crash when loading a model

2013-09-17 Thread Sebastian Messerschmidt
Hi Kevin, The exception bad_alloc usually is thrown if your memory is depleted. So maybe try a smaller model first, to see if your deploy is correct (VisualStudio debug/release mixing is very dangerous ;-)) If this works, you might want to enable sharing. This is a bit hidden:

Re: [osg-users] Crash when loading a model

2013-09-17 Thread Jordi Torres
Hi Sebastian and Kevin, If the model is cessna.osg it shouldn't be to big ;). So check you are not mixing debug/release libraries. Cheers. 2013/9/17 Sebastian Messerschmidt sebastian.messerschm...@gmx.de Hi Kevin, The exception bad_alloc usually is thrown if your memory is depleted. So

Re: [osg-users] Crash when loading a model

2013-09-17 Thread Sebastian Messerschmidt
Hi Jordi, Sorry I was skipping this information while reading ;-) So my best guess is wrong linkage too. Hi Sebastian and Kevin, If the model is cessna.osg it shouldn't be to big ;). So check you are not mixing debug/release libraries. Cheers. 2013/9/17 Sebastian Messerschmidt

Re: [osg-users] Crash when loading a model

2013-09-17 Thread Jan Ciger
On Tue, Sep 17, 2013 at 4:21 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Jordi, Sorry I was skipping this information while reading ;-) So my best guess is wrong linkage too. Yes, especially considering it blows up in the CRT startup, before even touching the main()

[osg-users] osgQt (3.2), osgearth and Qt 5

2013-09-17 Thread Mike Krus
Hi getting a crash on startup with osgQt (from osg 3.2.0), osgearth (from trunck) and Qt 5.1.0 Basically: - osgearth queries capabilities by calling osg::GraphicsContext::createGraphicsContext() - this creates a GraphicsWindowQt - this in turns creates a GLWidget, setting

[osg-users] Handling of Vendor extra in Collada (dae) Reader/Writer

2013-09-17 Thread Luc Frauciel
Hi osg-users, I have to support a type of Collada that contain specific vendor extra profiles. For the moment, osg dae reader handle them with some hardcoded vendor specific profiles : GOOGLEEARTH, SCEI ,OpenSceneGraph However, I've got the feeling that each Collada producer defines its own

[osg-users] osg+osm

2013-09-17 Thread Айдар Ильдарович
Hello! I use OpenSceneGraph 3.0.1 in my research. Please, help me, how to use and to load files of OpenStreetMap (extension o5m, pbf, osm) in osgviewer. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Handling of Vendor extra in Collada (dae) Reader/Writer

2013-09-17 Thread Jan Ciger
On Tue, Sep 17, 2013 at 5:11 PM, Luc Frauciel luc.frauc...@star-apic.comwrote: However, I've got the feeling that each Collada producer defines its own profile adapted to its needs. Yup. Collada is a standard where the vendors agreed between themselves that they will basically disagree on

[osg-users] osg+osm

2013-09-17 Thread Sergey Kurdakov
Hi Idar, it is not that easy, but here you may find some code at http://www.osgvisual.org/projects/osgvisual/wiki/OsgTerrainData Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osg+osm

2013-09-17 Thread Preet
On Tue, Sep 17, 2013 at 11:09 AM, Айдар Ильдарович e...@inbox.ru wrote: Hello! I use OpenSceneGraph 3.0.1 in my research. Please, help me, how to use and to load files of OpenStreetMap (extension o5m, pbf, osm) in osgviewer. You can't do this directly. The files have to be opened and parsed

[osg-users] question about CUDA with OSG

2013-09-17 Thread Kim JongBum
Hi, First of all I am not familiar with Osg and CUDA I implemented fIight simulation program with osg but If I use big Size of Terrain, The performance(fame rate) of application is not good So I wanna try to apply CUDA to my osg application for improving the performance So what do u guys