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

Problem with compute_scalar_ambient_occlusion_gpu() #357

Open
AsmaBRZ opened this issue Jan 8, 2024 · 2 comments
Open

Problem with compute_scalar_ambient_occlusion_gpu() #357

AsmaBRZ opened this issue Jan 8, 2024 · 2 comments

Comments

@AsmaBRZ
Copy link

AsmaBRZ commented Jan 8, 2024

Hello, I have installed pymeshlab 2013.12. Here is a sample code that I have tried:
import pymeshlab ms = pymeshlab.MeshSet() ms.load_new_mesh("object1.ply') ms.compute_scalar_ambient_occlusion_gpu()

The function compute_scalar_ambient_occlusion_gpu gives Abandon (core dumped)

ps: I have tested different parameters of the functions and I got always the same error. Also, the other functions of pymeshlab work well. I only struggle with compute_scalar_ambient_occlusion_gpu.

Any help ?

Thank you

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. The resources of the VCLab team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the last release of PyMeshLab, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the wontfix This will not be worked on label Mar 17, 2024
@alemuntoni
Copy link
Member

The gpu version, as it says the filter name, needs an environment where an opengl context can be created and executed. It may fail when this is not possible.
Anyway, in the latest version of pymeshlab there is an alternative to the gpu ambient occlusion (https://pymeshlab.readthedocs.io/en/latest/filter_list.html#compute_scalar_ambient_occlusion) that does work on cpu.

@stale stale bot removed the wontfix This will not be worked on label Mar 18, 2024
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