Paul,

My numbers look reasonable.  They are floats and there are not any
outrageous values that I can see.

Catherine

Paul Melis wrote:
Perhaps you're loosing precision when writing to file, because of some
default precision set for the output stream. Do the numbers in the file
look any good?

Paul

Catherine Peloquin wrote:

Hello all,

I am trying to visualize the mesh produced by the
BinaryMask3dMeshSource in
OpenGL.  I ran the filter, retrieved the mesh points by using a point
iterator, then saved the points to a text file.  The iterator is as
follows:
 MeshType::ConstPointer mesh = meshSource->GetOutput();
 PointsContainer::ConstPointer points = mesh->GetPoints();

 PointsConstIterator itr = points->Begin();
 PointsConstIterator end = points->End();
      while( itr != end )
       {
       PointType point = itr.Value();
       double x = point[0];
           a_file << x<<" ";
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to