google / draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
https://google.github.io/draco/
Apache License 2.0
6.56k stars 973 forks source link

C-API for FFI #467

Open SirVer opened 6 years ago

SirVer commented 6 years ago

I'd like to use draco in https://github.com/googlecartographer/point_cloud_viewer, but I am not using C++. Binding to the library would be much easier if there was a minimal C-API. This would also allow to use the library easily from Python.

Is it feasible to add a (minimal) C-API, tailored for FFI?

AlexApps99 commented 4 years ago

Hello, I'm currently making a draco binding for Rust and a C binding would help me trememdously. I'm sure that it would help with many other similar projects too, such as a Python binding and C game engines.

qmuntal commented 3 years ago

I would also be very helpful for Go interop. I´m specially interested to support draco compression in https://github.com/qmuntal/gltf.

This issue is marked as help wanted, so I will give it a try during the following weeks.