Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use Other file formats #3

Open
KurushDesai opened this issue Jun 5, 2023 · 1 comment
Open

Trying to use Other file formats #3

KurushDesai opened this issue Jun 5, 2023 · 1 comment

Comments

@KurushDesai
Copy link

I tried using a file with .stl extension which a pretty common file type in terms of 3d objects,
and the result was stuck on :-
image

@neurolabusc
Copy link
Owner

The C code only reads OBJ format meshes. You can either compile the Pascal code or convert your STL mesh to OBJ format. Supporting the STL format is complicated, because this format does not re-use vertices. This inherent weakness of the STL format leads to large file sizes, and the resulting meshes either appear faceted or one must weld vertices to allow proper per-fragment shading. Likewise, any mesh simplification routine must weld vertices of STL files before processing them.

The Pascal code includes the function UnifyVertices that allows it to read STL format files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants