The boundary of the polygon will be tessellated only to the degree that is necessary to there are tessellations at color discontinuities. Ogt_mesh_from_paletted_voxels_polygon: will polygonize and triangulate connected voxels that are of the same color. It will generally produce t-junctions which can make rasterization not water-tight based on your camera/project/distances. Ogt_mesh_from_paletted_voxels_greedy: uses a greedy box-expansion pass to replce rectangular regions of voxels of the same color with a larger polygon that covers the box. Ogt_mesh_from_paletted_voxels_simple: returns the most naieve mesh possible, which will be tessellated at voxel granularity. This module contains 3 routines for converting paletted voxel grid data to triangle mesh data. ogt_voxel_meshify: converts voxel grid data to triangle mesh data If there is interest, do let us know in the Issues section. ROBJ chunks are not supported in any capacity for now. Chunks written by earlier versions may not be decoded accurately. CAVEAT: loading of MATL chunks are most accurate when written by recent Magicavoxel versions (0.99.6.2 and 0.99.6.3 at time of writing). MATL/ MATT are not yet merged, but it is expected to come in a later change.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |