mkazhdan / PoissonRecon

Poisson Surface Reconstruction
MIT License
1.51k stars 422 forks source link

How can one go about implementing an OBJ parser in this codebase? #265

Open aditya-c2512 opened 11 months ago

aditya-c2512 commented 11 months ago

I have been exploring the codebase for about a week now and I am very confused how I could integrate this feature. It would be very helpful if I could get to know how I could create the vertices and normals structures that are used in this method.

mkazhdan commented 11 months ago

Are you asking about the .ply format or data sources? The former should be reasonably straightforward, particularly if you use the ASCII version. The latter is usually the output of (a collection of) range scans.

aditya-c2512 commented 11 months ago

I am confused as to what is required as output from a obj I/O system. I went through Ply.h and PlyFile.h and their inl files, and I could not understand how one could implement I/O for other file formats.

mkazhdan commented 11 months ago

You can use tools like MeshLab to convert .obj files to .ply files.