Skip to content

Support for n-gon mesh output? #9

@virtualritz

Description

@virtualritz

I would like to integrate this crate with a Rust-based creative coding environment for non-realtime 3D rendering.

Most offline renderers can deal dandy with n-gon meshes and even render them as subdivision surfaces (see my polyhedron-ops crate for some examples). Reading this article I learned the dual contouring algorithm seems to generate meshes that are well suited, as-is (mostly quads).

I.e. the current Mesh struct could be renamed to TriangleMesh.
The new Mesh struct would have a faces that is a Vec<Vec<usize>> so that each face can have an arbitrary arity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions