MantisBT - ParaView
View Issue Details
0011772ParaViewBugpublic2011-01-27 20:212016-08-12 09:58
dommermuth 
Kitware Robot 
urgentmajoralways
closedmoved 
Apple MacOS X10.4.10
3.8.1 
 
0011772: vtp and vtk cannot handle more than order 120 million triangles
We think 32 bit integers are used in vtp and vtk files to represent the number of coordinates and polygons. In particular, the offset is suspect. In our case, when the number of points and triangles approaches respectively 60 million and 120 million, paraview cannot render the object. We get the following error:

ERROR: In /Users/partyd/Kitware/ParaView-3.8/src/VTK/IO/vtkXMLUnstructuredDataReader.cxx, line 589
vtkXMLPolyDataReader (0x10a504c00): Cannot read cell offsets from Polys in piece 0 because the "offsets" array is not long enough.

Some versions of paraview are able to read the vtp files on unix boxes. It depends on the build. Here is the header of the vtp file:


[dgd]% head test.vtp
<?xml version="1.0"?>
                                                                                                  <VTKFile type="PolyData" version="0.1" byte_order="LittleEndian">
                                                      <PolyData>
                                                                                                             <Piece NumberOfPoints=" 61342156" NumberOfVerts="0" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys=" 118579532">
                                                             <Points>
                                                                                                               <DataArray type="Float32" NumberOfComponents="3" format="appended" offset="0"/>
                                                                                                         </Points>
                                                                                                              <Polys>
                                                                                                                <DataArray type="Int32" Name="connectivity" format="appended" offset=" 736105876"/>
                                                                                       <DataArray type="Int32" Name="offsets" format="appended" offset=" 2159060264"/>
Make a vtp file wherein the offset exceeds what can be represented using 32 bit integers. In our case, the actual data files exceed 2.5Gb.
We could use some help. We are keen to render the surfaces. Thanks, Doug.
No tags attached.
Issue History
2011-01-27 20:21dommermuthNew Issue
2016-08-12 09:58Kitware RobotNote Added: 0037916
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved
2016-08-12 09:58Kitware RobotAssigned To => Kitware Robot

Notes
(0037916)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.