[osg-users] OpenFlt file causing crash in optimizer

Brede Johansen bredej at gmail.com
Thu Oct 18 02:02:06 PDT 2007


Hi Mark,

"osgviewer flight1_0.flt" does not crash on my computer.

- Windows XP
- VS 2005
- OSG from subversion after 2.2 release
- Envionment variable OSG_OPTIMIZER not set

Regards
Brede


On 10/18/07, Mark Hurry <mark at dwork.com> wrote:
>
>
>
>
> Hi Robert/Paul
>
>
>
> In answer to various questions
>
>
>
> Yes osgviewer flight1_0.flt (see attachment) causes the crash.  The file is
> only 6 polygons. If I reduce the number of polys or change the structure,
> then the results become unpredicatble, sometimes working other times not. It
> seems to be the last polygon in the model – f801 that seems to cause the
> problem.
>
>
>
> I went through the stages suggested by Paul
>
>
>
> 1)       specifying the preserveFace=1 allowed the file to load successfully
>
> 2)       I saved the file as a .osg
>
> 3)       I loaded the file flight1_0.osg and it loaded successfully
>
>
>
> So I assume from Paul's comments that the best place to look for a problem
> would be in the FLT loader?
>
>
>
> Thanks
>
>
>
> Mark
>
>
>
>
>
> >> > Not sure why this would cause a merge geometry optimization to
>
> >> > crash, but maybe you've got some ideas on that?
>
> >>
>
> >> No ideas I'm afraid.
>
> >
>
> >It'd also be interesting to see if the following fails:
>
> >1. Load the FLT file, but specify the "preserveFace" option, which causes
> the FLT loader to not run the Optimizer. App now has an unoptimized scene
> graph.
>
> >2. Write this scene graph out as an .osg file.
>
> >3. Load the .osg file into osgviewer, which will run the Optimizer.
>
> >
>
> >If this fails, it leaves OpenFlight and the FLT loader completely out of
> the picture.
>
> >
>
> >Paul Martz
>
> >Skew Matrix Software LLC
>
> >http://www.skew-matrix.com
>
> >303 859 9466
>
>
>
>
>
>
> No virus found in this outgoing message.
>  Checked by AVG Free Edition.
>  Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 17-Oct-07
> 9:38 AM
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>



More information about the osg-users mailing list