Closed binaryzebra closed 6 years ago
can you upload a test mesh ? then i may be able to tell
sphere.obj.zip sphere_out.obj.zip
This is simple ICO sphere i can see bugs on. I have another model more complex. I can send it to you in private.
Sphere was simplified on mac os, using simplify tool from bin.OSX.
just noticed that your file has duplicate vertices. you need to fix that to avoid the holes. meshlabs mesh reduction also creates holes with your file due to that.
duplicates are because of normals tangents and binormals and uvs. I fastly exported that to give the model. So technically it's different vertices.
What would you recommend to do with such models when positions are the same, but vertices are technically different.
Am I understand correctly that if I will put uvs, and normals, algorithm will manage such models better?
well you can store uvs, normals and tangents per triangle (3 per triangle) and remove duplicate vertices. the reduction will in any case reduce the quality of the uvs and normals however as uv and material seams are not considered when reducing the triangles. to get a good quality, you would need to reduce the mesh by removing duplicate vertices first, then generate a uv layout, then transfer the normal and texture data to the lores meshs normal map and texture map.
Thanks for the help and fast response.
Am I understand correclty that I can extend
void update_uvs(int i0, const Vertex& v, const vec3f& p, std::vector
Also I think I can drop targents, and rebuild tangent space after simplification. If uvs will be good and normals will be good, I can rebuild tangent & binormal later.
I can understand that. I believe most important is to keep the hope that it will become better in the future. Also wish you to recover soon!
yes
Also I think I can drop targents, and rebuild tangent space after simplification. If uvs will be good and normals will be good, I can rebuild tangent & binormal later.
thats something you need to check if these are good
Thanks.
Hello,
I am trying to use your algorithm in my experiments, but as a result, I get holes inside my mesh. Could you please clarify how the model should be prepared to avoid holes after simplification?
I assume in my model there are many points that have identical or close coordinates but have different uvs, or normals. Does you algorithm handle such cases?
Best regards,