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

[TextureMapping] some isuue about texture #6204

Open
Q-an opened this issue Dec 22, 2024 · 4 comments
Open

[TextureMapping] some isuue about texture #6204

Q-an opened this issue Dec 22, 2024 · 4 comments
Labels

Comments

@Q-an
Copy link

Q-an commented Dec 22, 2024

I tried using textureMeshwithMultipleCameras(mesh, my_cams) in pcl::TextureMappingpcl::PointXYZ, but I found that mesh.tex_coord_indices was not initialized and caused an error when saving the obj file using pcl::io::saveOBJFile(). How to solve this issue?

@Q-an Q-an added the status: triage Labels incomplete label Dec 22, 2024
@mvieth mvieth added kind: bug Type of issue module: surface and removed status: triage Labels incomplete labels Dec 25, 2024
@mvieth mvieth changed the title [custom] Provide a general summary of the issue some isuue about texture [TextureMapping] some isuue about texture Dec 25, 2024
@mvieth
Copy link
Member

mvieth commented Dec 25, 2024

Hi, I will try to find a solution for this problem when I have time, until then, please try if this works in PCL 1.12.1.

@Q-an
Copy link
Author

Q-an commented Dec 26, 2024

Hi, I will try to find a solution for this problem when I have time, until then, please try if this works in PCL 1.12.1.

Thanks! I used the code from the saveOBJFile function in version 1.12.1 to populate the mesh.tex_coord_indices, and it ran successfully.
By the way, when I switched to version 1.21.1, I encountered an error message stating, 'Unable to locate the program entry point ?estimateProjectionMatrix@?$OrganizedNeighbor@UPointXYZ@pcl@@@search@pcl@@QEAAXXZ in the dynamic link library texture.exe,' which seemed to be related to the code utilizing pcl::TextureMappingpcl::PointXYZ.What might be causeing this isuue?

@mvieth
Copy link
Member

mvieth commented Dec 27, 2024

By the way, when I switched to version 1.21.1, I encountered an error message stating, 'Unable to locate the program entry point ?estimateProjectionMatrix@?$OrganizedNeighbor@UPointXYZ@pcl@@@search@pcl@@QEAAXXZ in the dynamic link library texture.exe,' which seemed to be related to the code utilizing pcl::TextureMappingpcl::PointXYZ.What might be causeing this isuue?

Make sure you only have PCL 1.12.1 installed, and you have fully removed all other PCL versions. Then delete all temporary build files from your project, and compile from scratch. Finally, make sure you link to the pcl_search library.

@Q-an
Copy link
Author

Q-an commented Dec 28, 2024

By the way, when I switched to version 1.21.1, I encountered an error message stating, 'Unable to locate the program entry point ?estimateProjectionMatrix@?$OrganizedNeighbor@UPointXYZ@pcl@@@search@pcl@@QEAAXXZ in the dynamic link library texture.exe,' which seemed to be related to the code utilizing pcl::TextureMappingpcl::PointXYZ.What might be causeing this isuue?

Make sure you only have PCL 1.12.1 installed, and you have fully removed all other PCL versions. Then delete all temporary build files from your project, and compile from scratch. Finally, make sure you link to the pcl_search library.

OK. Thank you.

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

No branches or pull requests

2 participants