Fabian Löschner
Fabian Löschner
Thank you for your interest. At the moment there is no Python wrapper. It shouldn't be too hard to build a wrapper with [PyO3](https://github.com/PyO3/pyo3). Personally, I don't have much experience...
> According to your formula, we need to find the nearest neighbours particle to each voxel point! Am I right? Yes, this is at least the most obvious way to...
Well, the trick is to use some unsafe code that we know is actually safe. When you annotate a type with `#[repr(transparent)]` this means that the new type is represented...
Ah, and yes, it would probably make sense to modularize the IO stuff more (maybe move it to the lib) and add some unit tests with sample files, but I...
Whoops, made a mistake. The unsafe code actually has to be ```rust // Convert the particle vector from `Vec` to `Vec` let particles = unsafe { // Ensure the original...
Right, support for this in ply-rs itself would be much cleaner. I'll add a few comments before merging.
Ok, I moved the file format stuff into submodules. You would have to move your changes into the `ply_format` module.
No rush
I'll come back to this in the next days, I have to get back into the code. For `parallel_generate_sparse_density_map`, I think the main problem is the insertion into the hash...
Ah, well I didn't consider your number of particles in my first reply 😅 I mostly tested the parallel stuff with 100k to 1 million particles. I think for a...