[vtkusers] PLY Reader..
    K.R.Subramanian 
    krs at cs.uncc.edu
       
    Fri Nov 15 01:31:18 EST 2002
    
    
  
Anyone used this class to read PLY files recently. I keep getting the following
error on trying to read a ply file..
************
ace% clippoly simple2.ply
get_binary_item: bad type = 0
ace%
*******************
I am able to convert this ply file to Inventor format and view it using an Inventor
viewer, so
the format seems to be fine.. is there anything you need to do in the vtkPLYReader other
than set the name of the ply file and send it down teh pipeline?
The header fo the PLY file looks as follows:
ply
format binary_big_endian 1.0
comment created by iso
element vertex 12507
property float32 x
property float32 y
property float32 z
property float32 nx
property float32 ny
property float32 nz
element face 24803
property list uint8 int32 vertex_indices
end_header
Thanks.
    -- krs
--
K.R.Subramanian                        Phone: (704) 687-4872
Department of Computer Science         FAX:   (704) 687-4893
UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs
    
    
More information about the vtkusers
mailing list