Re: [osg-users] Converting large obj file with osgconv

2009-03-02 Thread Pierre Bourdin (gmail)
Hi, thanks for your help we've done the conversion with one file (not the biggest), but now when I try loading the data in IVE it makes a segfault ?! I've also successfully converted the IVE to osg, but it make the same segfault... I'm using OpenSceneGraph Library 2.6.1 with openthreads-version-

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Paul Melis
Crampman wrote: Thanks for your quick replies, My model contains 8,726,464 vertexes and 17,377,292 tris That's not as much as I was expecting. I'm pretty sure I loaded models with similar sizes in OSG (which also took quite some time). I would say check out Robert's suggestion first (disabling

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Robert Osfield
Hi Cramp, It could be that the tri stripper is bluking at such a large dataset. Try disable the tri stripping via: osgconv myfile.obj myfile.osg -O noTriStripPolygons You can query the options via: osgconv --format obj Plugin osgPlugins-2.9.0/osgdb_obj.so { ReaderWriter : Wavefront OBJ Read

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Crampman
Thanks for your quick replies, My model contains 8,726,464 vertexes and 17,377,292 tris I'll look for loading the obj from c++. Cramp' Paul Melis a écrit : Crampman wrote: I'm using a 64 bit linux system, with 2GB of ram and ~10GB of swap. The conversion failed after ~12 hours, and the obj

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Marcin Prus
osgconv uses Optimizer by default, perhaps you can try conversion with all optimisations turned off? You can switch default optimisations using OSG_OPTIMIZER environmental variable Marcin Crampman pisze: Hi, I'm using a 64 bit linux system, with 2GB of ram and ~10GB of swap. The conversion f

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Paul Melis
Crampman wrote: I'm using a 64 bit linux system, with 2GB of ram and ~10GB of swap. The conversion failed after ~12 hours, and the obj model doesn't have any textures. How much geometry is there in your model? The OSG .obj plugin isn't very efficient. But .obj is very easy to parse (although th

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Crampman
Hi, I'm using a 64 bit linux system, with 2GB of ram and ~10GB of swap. The conversion failed after ~12 hours, and the obj model doesn't have any textures. Marcin Prus a écrit : Hi, do you have problem with not enough free memory or do you hit 2GB per 32 bit process limit in MS Windows? In

Re: [osg-users] Converting large obj file with osgconv

2009-02-27 Thread Marcin Prus
Hi, do you have problem with not enough free memory or do you hit 2GB per 32 bit process limit in MS Windows? In second case, if you use Visual Studio, you can enable LARGEADDRESSAWARE linker flag for osgconv. As an addition you will need /3GB in boot.ini for 32 bit Windows XP. This will exte

[osg-users] Converting large obj file with osgconv

2009-02-27 Thread Crampman
Hi, I'm having problems when I try to convert a lagre obj file (~600MB) into a ive file using osgconv : the conversion took ages and eventually failed after eating the whole swap. Is there any solution or workaround ? Thanks! ___ osg-users mailin