I have a file in three.js json format that contains a model exported from Blender using BufferGeometry, along with its corresponding texture file.
The model has some unwanted noise on it that I am aiming to clean up by manipulating the json file itself after export (I need to eliminate certain vertices without performing a smoothing or decimation operation, making it more practical to work with the json data directly).
Therefore, I have a few questions regarding data manipulation within the file:
- Aside from removing point data, what other adjustments should I make to the file? Should I also eliminate corresponding UV's and normals, along with adjusting indexes?
- Instead of completely removing points from the list, could they be marked as null to maintain index mapping even if the data is absent?
- If removing data consistently from each array in the json file is not viable, is there a way to recalculate the indices without reverting to Blender or a similar platform? Is reconfiguring the entire index array necessary, or can it possibly be removed altogether?
It is worth noting that the point removal process is currently executed server-side (using Python), but there is potential for it to be handled in the browser if that proves to be a more efficient approach. Additionally, the model contains a significant number of vertices, totaling around 250k.