ashwin / gDel3D

gDel3D is the fastest 3D Delaunay triangulation algorithm. It uses the GPU for massive parallelism.
https://github.com/ashwin/gDel3D
145 stars 34 forks source link

get triangle information and dump mesh obj #5

Open dattanand opened 5 years ago

dattanand commented 5 years ago

Hi, I am loading my own point cloud file (xyz format) and calculating the triangulation. I need the triangle faces created by the algorithm, but I can get only a simplex i.e. a tetra. I tried to use getTriangleCount() method which gets all four triangles from tetra and then pass all the triangles thus obtained as faces in the obj. I know its incorrect since all the triangles formed by tetra cannot be faces to the mesh and obviosly the dumped result is also wrong. Could you tell me hoe do I correctly get only faces of the mesh formed post triangulation?

thanks

ilms123 commented 4 years ago

Hi, I am loading my own point cloud file (xyz format) and calculating the triangulation. I need the triangle faces created by the algorithm, but I can get only a simplex i.e. a tetra. I tried to use getTriangleCount() method which gets all four triangles from tetra and then pass all the triangles thus obtained as faces in the obj. I know its incorrect since all the triangles formed by tetra cannot be faces to the mesh and obviosly the dumped result is also wrong. Could you tell me hoe do I correctly get only faces of the mesh formed post triangulation? thanks

Do you have any solution to the question? I encountered the same problem and want to discuss something. Could you tell me how to get the mesh result?

BEBULAE commented 3 years ago

Hi, I am loading my own point cloud file (xyz format) and calculating the triangulation. I need the triangle faces created by the algorithm, but I can get only a simplex i.e. a tetra. I tried to use getTriangleCount() method which gets all four triangles from tetra and then pass all the triangles thus obtained as faces in the obj. I know its incorrect since all the triangles formed by tetra cannot be faces to the mesh and obviosly the dumped result is also wrong. Could you tell me hoe do I correctly get only faces of the mesh formed post triangulation? thanks

Do you have any solution to the question? I encountered the same problem and want to discuss something. Could you tell me how to get the mesh result?

I encountered the same problem. Have you solved this problem now? Could you tell me the solution to this question? Thank you!