Hi Brede -- Tested this morning and Continuation record support works well
in current SVN. Thanks for your help with this.
   -Paul



> Hi Paul,
> 
> I have added support for the continuation record to the 
> OpenFlight reader.  The implementation now reads the record 
> to memory with one read operation and creates a string stream 
> for parsing.  I could replace have-I-reach-the-end-of-record 
> tests with eof() or good() simplifying the code.
> 
> Update the latest version from SVN with the attached files.
> 
> Please test if something is broken or the read performance 
> have changed.
> 
> Regards,
> Brede
> 
> 
> 
> On Dec 7, 2007 10:44 AM, Brede Johansen <[EMAIL PROTECTED]> wrote:
> > Hi Paul,
> >
> > The continuation record is one of the things in the OpenFlight 
> > specification that adds a bit of grey to your hair color.
> > I didn't have the need for this record at the time so I left it out 
> > together with a lot of other records.
> >
> > That said I did some thinking on how to support it.  The current 
> > implementation is stream based so it's possible to add a layer that 
> > hides the continuation record using a memory buffered stream.  The 
> > VertexPool already do this by inheriting from std::istringstream.
> > I'll have a look at it.
> >
> >
> > Regards,
> > Brede
> >
> >
> >
> > On Dec 6, 2007 10:56 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Hi Brede -- I see the current OpenFlight importer doesn't support 
> > > Continuation Records. I haven't looked at what it would 
> take to add 
> > > it, but wondered what your thoughts were? Was this left 
> out because 
> > > it wasn't a requirement, or because it didn't fit into the design?
> > >
> > > I'm finding I need it for large LocalVertexPool records. 
> I wonder if 
> > > it could be supported on a record-by-record basis... Thoughts?
> > >
> > > Paul Martz
> > > Skew Matrix Software LLC
> > > http://www.skew-matrix.com
> > > 303 859 9466
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users@lists.openscenegraph.org
> > > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegrap
> > > h.org
> > >
> > >
> >
> 

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

Reply via email to