genmesh
genmesh copied to clipboard
A library of mesh generation utilities.
Could you please update the crates.io version of this crate? Looks like it hasn't been updated in 3 years.
As part of applying normal maps to generated meshes, it would be useful to have genmesh generate tangent vectors in addition to normal vectors for each vertex.
Are you planning to add support for geometry used outside a realtime context?
The crate name is off, but essentially this is the direct alternative to `genmesh`: http://ncollide.org/rustdoc/ncollide_procedural/ It's used in `kiss3d`. Would be interesting to look inside and see what we can...
List of Meshes genmesh should be able to generate: - [x] Plane - [x] Cube - [x] SphereUV - [x] Sphere Icosahedron - [x] Torus https://github.com/gfx-rs/genmesh/issues/23 - [x] Cone https://github.com/gfx-rs/genmesh/pull/48...
Most if not all of the generators in genmesh emit a set number of vertices on `.vertices`. Yet, this iterator does not implement [`ExactSizeIterator`](https://doc.rust-lang.org/std/iter/trait.ExactSizeIterator.html). This can be unergonomic when working...
The primitives right now just produce a primitive that is close to a unit vector. The original idea was that people would scale the primitives using the `.vertex()` trait. There...
I need the smoothing to be configurable by a flag. Currently, normals of cylinder and sphere are smoothed.
Add a cargo feature "into_bevy_mesh" that will provide a `From` implementation so generators like `Cube` can be turned into a bevy `Mesh`. This doesn't add any dependencies on the default...