Just had  a look at these models with a multigen reader and they are really
old - they appear to use OpenFlight 13. The freeware genuine MP viewer I
used refused to load them because it needed 14.2 as a minimum. I am
uncertain what the lowest level that OSG FLT supports but I strongly suspect
this is just one of your problems. The MP viewer debug advice was to upgrade
the models to something more recent.

PhilT

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Cysneros,
Nelson SPAWAR
Sent: 03 July 2007 17:09
To: osg users
Subject: RE: [osg-users] Getting error w/ OSG v 2.0


Thanks Robert,

Tried using osgconv and got the same results.  Double checked my
installation and it seems to work ok on version 1.0 but not 2.0.....

Attached is the model file and all related files that came with it.

Best Regards
Nelson

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, June 21, 2007 11:36 AM
To: osg users
Subject: Re: [osg-users] Getting error w/ OSG v 2.0


Hi Nelson,

Could you try running:

  osgconv myfile.flt test.osg

This will isolate the test to just the model/OpenFlight loader itself.

The Assertion failure does look to be source of the crash, but as to why
this has happened could be down to a bug or perhaps a corrupted file.
Would it be possible to provide this file for others to test against?

Robert.

On 6/21/07, Cysneros, Nelson SPAWAR <[EMAIL PROTECTED]> wrote:
>
> I'm trying to port my project to use OSG v2.0 but its is crashing on
> me when I try to read a node file:
>
>         modelNode = osgDB::readNodeFile(modelFile);
>
>
> It never returns from this osgDB function call.
>
> /** Read an osg::Node from file.
>   * Return valid osg::Node on success,
>   * return NULL on failure.
>   * The osgDB::Registry is used to load the appropriate ReaderWriter
> plugin
>   * for the filename extension, and this plugin then handles the
request
>   * to read the specified file.*/
> inline osg::Node*  readNodeFile(const std::string& filename) {
>     return readNodeFile(filename,Registry::instance()->getOptions());
> }
>
>
> I turned on the Debug messages and get the following:
>
> ----------------------------------------------------------------------
> --
> -----------------------------------
> FindFileInPath(D:\data\visual_models\multigen\Txt\airplane.inta.attr):
> returning
>  D:\data\visual_models\multigen\Txt\airplane.inta.attr
> itr='D:\data\visual_models\multigen'
> FindFileInPath() : trying
D:\data\visual_models\multigen\Txt\rotor.rgba
> ...
> FindFileInPath() : USING D:\data\visual_models\multigen\Txt\rotor.rgba
> FindFileInPath(D:\data\visual_models\multigen\Txt\rotor.rgba):
returning
> D:\data
> \visual_models\multigen\Txt\rotor.rgba
> raw->sizeX = 128
> raw->sizeY = 128
> raw->sizeZ = 4
> raw->bpc = 1
> image read ok 128  128
> FindFileInPath(D:\data\visual_models\multigen\Txt\rotor.rgba.attr):
> returning D:
> \data\visual_models\multigen\Txt\rotor.rgba.attr
> ID: apache
> ID: fslage
> ID: rotor
> ID: g29
> ID: g9
> ID: g30
> ID: g10
> ID: g11
> ID: g16
> ID: g19
> ID: g12
> ID: g31
> ID: g14
> ID: g13
> ID: g17
> ID: g20
> ID: g32
> ID: g33
> ID: g34
> ID: g38
> ID: g39
> ID: g40
> ID: g43
> ID: g41
> Assertion failed: index<size(), file .\Pools.cpp, line 23 OpenGL
> extension 'GL_EXT_framebuffer_object' is not supported. OpenGL
> extension 'GL_ARB_vertex_program' is supported. OpenGL extension
> 'GL_ARB_fragment_program' is not supported. OpenGL extension
> 'GL_ARB_shader_objects' is not supported. OpenGL extension
> 'GL_ARB_vertex_shader' is not supported. OpenGL extension
> 'GL_ARB_fragment_shader' is not supported. OpenGL extension
> 'GL_ARB_shading_language_100' is not supported. glVersion=1.4,
> isGlslSupported=NO, glslLanguageVersion=0 OpenGL extension
> 'GL_ARB_pixel_buffer_object' is not supported. Setting up
> osg::Camera::FRAME_BUFFER
> Warning: detected OpenGL error 'invalid enumerant' after
> RenderBin::draw(,)
> Setting up osg::Camera::FRAME_BUFFER glGetString(GL_RENDERER)==Quadro4

> 900 XGL/AGP/SSE2
>
> ----------------------------------------------------------------------
> --
> ---------------------------------
>
>
> Any suggestions would be appreciated.
>
> thanks
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to