Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
90 views
in Technique[技术] by (71.8m points)

c# - Probuilder API collapse shared vertices

for several hours I try to find a way to collapse/merge shared vertices in my mesh created with Probuilder API.

Does anyone know how possibly I could reduce the vertices amount? I can get all shared vertices I can merge them to have only necessary vertices (reduced) but I can't figure out how to actually apply back this data to the mesh so it can rebuild and have new (reduced) amount of vertices...

question from:https://stackoverflow.com/questions/65927836/probuilder-api-collapse-shared-vertices

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can handle your meshes procedurally in unity. For this take into account that it quite a low level an time demanding stuff (although it is so awesome). For better advice if you are trying to do this yourself, you would need to share your attept and your code for more specific help. I am not familiar with probuilder, but you should be able to access to the vertices of the mesh you create.

Meanwhile you can consider external tools to reduce your vertices or polygonst such as this asset to be used to solve your problem, or to check it souce code to be used as inspitarion.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...