RoadArchitect icon indicating copy to clipboard operation
RoadArchitect copied to clipboard

mesh optimization techniques

Open simontd opened this issue 4 years ago • 1 comments

hi i was using this software and found no way to optimize the mesh, i used minimum amount of nodes hoping it would reduce the mesh count but it didnt i looked at some settings but couldnt find anything related are these features in it if so would appreciate some help regarding that if not that would be a feature that would benefit a lot of developers thank you

simontd avatar Jul 02 '20 15:07 simontd

Hello @simontd

if you have "Auto split road:" and "Auto split shoulders:" enabled on your road the roads meshes should be divided into smaller parts, which range from one node to the next node. However if the next node is a intersection, it will be ignored and uses the next node which is not an intersection. This can result in large meshes and colliders. This looks like a bug.

For now you should make sure to:

  1. Enable "Auto split road:" and "Auto split shoulders" in your road.
  2. Have a node before and after each intersection.
  3. Nodes before and after intersection should keep a little distance to the intersection node.

So the more nodes you use, the more mesh parts it will generate and the longer each road update will take. I hope this answers your question.

Best Regards,

Fritzs

FritzsHero avatar Jul 03 '20 17:07 FritzsHero