MeshIO.jl
MeshIO.jl copied to clipboard
IO for Meshes
Hi. This PR adds normals reading/writing for ply files.
PLY output:  STL Output: 
These would be nice to have for at least import. I think that supporting these will help establish the bounds on what considerations we will have to take for an...
When a mesh is loaded using `load("...")`, the faces are represented "directly" as 3 points, instead of being references to the `position` array. This makes impossible to distinguish the attributes...
For 2DM and OBJ `load` uses Float32 for parsing, regardless of pointtype/normaltype/uvtype. As a consequence data is rounded accordingly. For MSH Float64 is used. For OFF, PLY and STL element...
Right now this package can only work with the `Mesh` type as defined in `GeometryBasics`. Which, given [how poorly this type is documented](https://juliageometry.github.io/GeometryBasics.jl/dev/meshes/), makes it quite unuseable. Instead of forcing...
As I understand, GeometryBasics.jl supports color metadata on meshes. It would be very good if MeshIO.jl knew how to import color from formats that support it. With new GeometryBasics.jl metadata...
When running `save("test.ply", mesh)` where `mesh.texturecoordinates` is set to something nonempty, the resulting file does not contain any texture coordinates, there is no warning produced, and looking at https://github.com/JuliaIO/MeshIO.jl/blob/master/src/io/ply.jl, MeshIO...
This was requested over on discourse (ref: https://discourse.julialang.org/t/how-to-load-urdf-files-with-dae-models-into-meshcat/19509/3 ), and I realized that I had a branch implementing a DAE loader just lying around. I'm not actually sure we'd want...
This adds a couple of things: - the main `load("filename.obj")` now also reads "usemtl" commands and treats them like a vertex attribute. I.e. it maps the related material names to...