8000 How feasible is Mesh => []Voxel conversion? · Issue #2 · fogleman/fauxgl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How feasible is Mesh => []Voxel conversion? #2
Open
@gmlewis

Description

@gmlewis

Have you considered providing a func (m *Mesh) ToVoxels(box Box, nx, ny, nz int) []Voxel
where nx, ny, and nz are the number of voxels in the X, Y, and Z directions (enclosed by the provided bounding box)?

That way, a mesh could be voxelized at any desired resolution by subdividing the conversion into smaller boxes and recombining them later.

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

      0