Hi Paul, The case when the new flt load was complaining about GL_POINTS was on a dataset that I first loaded from .flt then converted to .ive and then from .ive to .flt.
I don't know if it was light points in the original .flt file, or how the point got in there, but somehow they did. Robert. On Sat, Mar 29, 2008 at 3:23 PM, Paul Martz <[EMAIL PROTECTED]> wrote: > > > Hi Jason -- Thanks for taking this code for a test drive. > > FLT doesn't support POINTS primitives, so those warnings are just FYI that > you're exporting a scene graph that is ill-suited for export to FLT. The > only comparable FLT entity would be a light point, but if you want light > points, then you should use osgSim::LightPoint instead of GL_POINTS, so I > think the FLT export code is doing the right thing here. > > Not sure where the NAN is coming from on re-import. If you osgconv your .ive > file to .osg, do the tex coords look OK in the .osg file? > > The missing chunks of geometry are odd; clearly you have the latest FLT OSG > plugin so you have support for continuation records. That's a stumper. > > Post a small reproducer scene graph if you can. Otherwise, my ability to > assist is quite limited. > > Perhaps a good use of a couple hours of my time would be going in and adding > more verbose output to the exporter. > -Paul > > > > ________________________________ > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Daly > Sent: Friday, March 28, 2008 2:36 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] ANN: FLT export > > > > Paul Martz wrote: > > Hi All -- I recently posted a change to osg-submissions that adds FLT export > capability to OSG. Assuming it doesn't break the build, I expect Robert will > have this available on current SVN soon. > Hi, Paul, > > Great work! > > I tested with a fairly complex .ive. Originally this was an OpenFlight > database. During export, I got a lot of these errors: > > fltexp: GL_POINTS not supported in FLT export. > > I'm not worried about actually exporting the points, as they weren't > important anyway. I'm just mentioning them in case it's relevant for the > real problem. This happened when I went to view the exported .flt file in > osgviewer. During load, I got several groups of these two warnings: > > Warning: data error detected in VertexCNT::readRecord uv=nan nan > Warning: data error detected in LocalVertexPool::readRecord uv=nan nan > > The file does eventually finish loading, and it looks fine for the most > part. However, there are several objects in the scene that are missing > large groups of faces. In each case, the bulk of the object is there, but > there are large "holes" in it. Many of these objects used to be external > references that were duplicated multiple times, and each copy looks the > same. > > I really wish I could send you the file, but alas, I cannot. I'm sure this > isn't enough information for you to go on. Let me know what else I can do > to help. > > -- > > --"J" > > "I'm a castaway stranded in a desolate land, > I can see the footprints in the virtual sand." > --Neil Peart > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org