Hi Robert -- If the hidden flag bit is set in an OpenFlight Face or Mesh
record, the OpenFlight plugin handles this by setting the Geode NodeMask to
zero. Not sure why this would cause a merge geometry optimization to crash,
but maybe you've got some ideas on that?
   -Paul
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Wednesday, October 17, 2007 3:03 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OpenFlt file causing crash in optimizer

Hi Mark,

I don't know of any hacks you could apply to fix this, in the end one will
have to track down the bug be it in osgUtil::Optimizer or the OpenFlight
plugin.

Does osgviewer crash if you load the OpenFlight file directly?  Would it be
possible to make a model that reproduces the crash available so the
community can assist in tracking down the bug?

Robert.

On 10/17/07, Mark Hurry <[EMAIL PROTECTED]> wrote:
>
> I have been trying to load an OpenFlight file created using TerraVista 
> using osgViewer. However I have been getting a crash in the optimizer 
> code in Optimizer::MergeGeodesVisitor::mergeGeodes at line 
> geodeDuplicateMap[geode].push_back(geode); I finally managed to track 
> down that in the OpenFlight format polygon attributes there is a flag 
> for "Hidden polygon". If this flag is set it causes a crash, if it is 
> not set then the model loads.
>
>
>
> Is this a known problem? And if so is there a work around? Obviously 
> it is not feasable to go into each OpenFlight file and manually check 
> each polygon to see if the "Hidden polygon" flag has been set.
>
>
>
> Thanks in advance
>
>
>
> Mark
>
>
>
>
>
>
> No virus found in this outgoing message.
>  Checked by AVG Free Edition.
>  Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 
> 16-Oct-07
> 2:14 PM
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to