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

Python bindings available? #86

Closed
drlukeparry opened this issue May 17, 2024 · 3 comments
Closed

Python bindings available? #86

drlukeparry opened this issue May 17, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@drlukeparry
Copy link

Dear Arsène,

I would like to kindly ask if you are aware of any existing Python bindings for your BVH header library?

I didn't want to reinvent the wheel, but wanted to generate BVH for another project using pybind11 library. This appears to be a neat package, as the intel embrue library is very heavy and problematic for use across many 3D Printing / Additive Manufacturing Projects.

Thank you for your kind contribution in advance,
Luke

@madmann91 madmann91 added the enhancement New feature or request label May 18, 2024
@madmann91 madmann91 self-assigned this May 18, 2024
@madmann91
Copy link
Owner

Hello! There's no such thing to my knowledge. I suppose I could look into writing simple C bindings for this, and from there it should be easy to call into it via multiple languages. I'll see if I have the time to do this this weekend. Otherwise any help is welcome!

@madmann91
Copy link
Owner

I have started a branch for C bindings. You can check the progress here: #87

@madmann91
Copy link
Owner

A small set of C bindings to the high-level API have now been merged into master. There is also a small example that shows how to use them to render a simple scene. I will close this question, as I don't quite think that this repository would be the right place to add python bindings, but hopefully the presence of C bindings should make it way easier to expose to other languages, including python.

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

No branches or pull requests

2 participants