Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Macryc |
Hi All. I’m using the SurfaceTool to generate a mesh from an image. So building triangles and quads and assigning height to each vertex based on the red channel data of the nearest pixel (get_pixel()).
All works fine but I’d also like to decimate thus created mesh based on player proximity. I believe you can do that with the MeshDataTool (the docs say it can be used to simplify a mesh). Does anyone have any experience with that?
Forgive my tiny mind but have an idea to replace the mesh with a simplified version over decimating already created trias.
However would like an excerpt from your SurfaceTool code to tailor my idea to it.
For my terrain related projects a PlaneMesh is used and for LOD generally increase and decrease Subdivision width & depth and a similar approach can be used with st
by adding more vertexes per width & height
Wakatta | 2022-12-01 16:01