-
Notifications
You must be signed in to change notification settings - Fork 582
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
[help-wanted] use ray_pyembree in Apple Silicon M1 #1601
Comments
It seems [email protected] under arm64 not works but [email protected] under x86_64 works |
Hey, embree is intel's raytracer that they designed to show off the fancy features of their x86_64 processors (they only release for x86_64), I think embree is extremely unlikely to ever build on an ARM of any kind. I think a better bet would be adding another ray-query backend (PR's welcome!), ideally one that was a little simpler and written in C/C++, maybe something sort of like pyoctree, although that hasn't had any commits in the last 5 years. |
|
Oh nice that’s surprising! Yeah then this would be dependent on getting
some variant of the embree3 support as described in #1557 merged (and maybe
also a pr to get arm wheels building in the embree3 binding).
…On Tue, Jun 7, 2022 at 9:41 PM 方武卓 ***@***.***> wrote:
Embree added support for Apple M1 CPUs since 3.13.0 .
I see #1108 <#1108> using embree3
and python-embree but now closed. Would it go further?
—
Reply to this email directly, view it on GitHub
<#1601 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKWRQTGBQTA5ZHJWQ43GNLVN724XANCNFSM5YCILJUQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for responses. Looking forward to that. |
I'd consider using ncollpyde. It's fast (wraps Rust) and has universal wheels (i.e. installs easily on all platforms). |
I installed pyembree in MBP M1 according to https://github.com/mikedh/trimesh/blob/main/docker/builds/embree.bash , but importing failed:
python -c 'import trimesh.ray.ray_pyembree'
I guess the reason is that
embree-2.17.7.x86_64.macosx.tar.gz
was compiled in x86_64. Running embree in Rosetta in some way may work, but I've no idea how.Could anyone help?
The text was updated successfully, but these errors were encountered: