[vtkusers] little question about PLY files

David Doria daviddoria at gmail.com
Wed Sep 19 11:34:24 EDT 2012


On Wed, Sep 19, 2012 at 11:30 AM, Tasnim <hanene-jeder at hotmail.fr> wrote:
> Hi all,
> I have a liitle question  about its contents. Normally when we open a ply
> file with a text editor, we will find:
> list of point's coordinates
> list of cell's vertex
>
> Okay, my question is: if i want to create by hand a ply file, which has *10
> points(vertex)*, can I begin the list of cell's vertex like this way:
>
> *3 7 3 8
> 3 8 7 9
> 3 1 2 3*
>
> I mean i will not define the list of cells one by one: beginig with *all
> cells* related to the *vertx number 1* , then *all cells* related to the
> *vertex number 2* ...
>
> Is it possibel, and will it be readable with my PLYReader!!!??
>
> Best Regards,
>
> Tasnim

I suggest you have a look at an existing PLY file (you can find one in
Data/bunny.ply in the VTKData repository (git clone
http://vtk.org/VTKData.git) ).

David



More information about the vtkusers mailing list