Re: [osg-users] error happened when I use opengl in osg (Robert Osfield)

2013-09-17 Thread 小风子
thanks,I will have a try ,I want to use opengl in osg just because someone has impliment the function I need,if I can not do so ,I will try the convert the code in osg.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensceneg

Re: [osg-users] question about CUDA with OSG

2013-09-17 Thread Sebastian Messerschmidt
Hi Kim, Since you are not telling us what a "Big Size of Terrain" actually means, we cannot see where the problem lies. Usually this is due to a poor structure of the scene graph, missing LODs, etc. It also could be shader bound, e.g. your fragment shaders/tesselation shaders are simply doing

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

2013-09-17 Thread Kevin Virmani
robertosfield wrote: > > > You used Windows :-) > True but it is needed ;)   robertosfield wrote: > > Seriously, though it could well be a VisualStudio build and linkage issue, > check that you built your application with all the same settings as the OSG > was built as this is a very com

Re: [osg-users] reflection / refraction clip plane

2013-09-17 Thread Daniel Schmid
Hi all Here comes my follow up. As you can see in the code snipped above, the clipping plane of the refraction camera is looking in the opposite direction. Since the clipping is done on the graphics card, and the primitives are still in world coordinates, the refraction clipping plane has to b

[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 thi

Re: [osg-users] osg+osm

2013-09-17 Thread Preet
On Tue, Sep 17, 2013 at 11:09 AM, Айдар Ильдарович 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 using anoth

[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 http://lists.openscenegraph.org/listinfo.cgi/o

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 wrote: > 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 everything beyond the triv

[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 http://lists.openscenegraph.org/listi

[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 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 pr

[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 GraphicsWindowQt::_ow

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 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() and OSG code. Either debug/r

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 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 > Hi Kevin, > > The exception bad_alloc usually is thrown if your memory is depleted. > So maybe try a smaller model fi

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: osgDB::Registry

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

2013-09-17 Thread Robert Osfield
Hi Kevin, On 17 September 2013 14:26, Kevin Virmani 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 built your ap

[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] 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 regards

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 yo