Re: [osg-users] loading of a large number of files

2013-02-13 Thread Jean-Sébastien Guay

Hello Lucie,

The issue is I use a wrapper c++ to c# to create a window with osgviewer in a 
WPF application and the application throws an unhandled exception, I haven't 
other informations on the exception.


In the Visual Studio GUI you can go to Debug - Exceptions and check all 
exceptions, this will make the debugger break when an exception is 
thrown and not when it is caught. This may help you pinpoint what's 
going on.


Unfortunately in some cases you can't run all the time with this enabled 
because some apps (particularly in C#) throw exceptions in 
non-exceptional circumstances... Bleh... So if it's possible you may 
have to start your app, then enable all exceptions in that dialog, and 
then trigger whatever causes the exception.


Hope this helps,

J-S

--
__
Jean-Sebastien Guay  jean_...@videotron.ca
http://whitestar02.dyndns-web.com/

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] loading of a large number of files

2013-02-12 Thread lucie lemonnier
Hi,

The issue is I use a wrapper c++ to c# to create a window with osgviewer in a 
WPF application and the application throws an unhandled exception, I haven't 
other informations on the exception.

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52594#52594





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] loading of a large number of files

2013-02-11 Thread lucie lemonnier
Hi,
I created an application with WPF and osgViewer which load multiples 3D models 
(up to 1420 files) with an OpenFileDialog. When I load a large number of files, 
the osg application crash. 
Is osg be limited to a specific number of vertex?

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52532#52532





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] loading of a large number of files

2013-02-11 Thread Sergey Polischuk
Hi

what size of models are we talking about?
there are chances that you run out of memory in the process and getting 
std::bad_alloc

Cheers.

11.02.2013, 17:30, lucie lemonnier lucielemonn...@hotmail.fr:
 Hi,
 I created an application with WPF and osgViewer which load multiples 3D 
 models (up to 1420 files) with an OpenFileDialog. When I load a large number 
 of files, the osg application crash.
 Is osg be limited to a specific number of vertex?

 Thank you!

 Cheers,
 lucie

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=52532#52532

 ___
 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] loading of a large number of files

2013-02-11 Thread lucie lemonnier
Hi,

My folder of 3D models contains 26.5 megabytes.
it does not seem to be much though!
What do you think?

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52535#52535





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] loading of a large number of files

2013-02-11 Thread Sergey Polischuk
Hi

guessing is not very helpful in debugging application crashes
debugger is your best friend in this situation :)

Cheers.

11.02.2013, 18:11, lucie lemonnier lucielemonn...@hotmail.fr:
 Hi,

 My folder of 3D models contains 26.5 megabytes.
 it does not seem to be much though!
 What do you think?

 Thank you!

 Cheers,
 lucie

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=52535#52535

 ___
 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