Increase polygons for a stretch of road in Roadrunner

I have a question regarding the LOD settings in Roadrunner. Basically I'm trying to increase the numer of polygons, only for a single stretch of road, by reducing their size. Is it possible? Because otherwise I have to export and elaborate a file that is way much bigger.

Answers (3)

Hi Francesco,
In Roadrunner, adjusting LOD settings for specific road segments to increase polygon count while reducing their size is indeed possible. You can achieve this by selectively modifying LOD parameters for the desired road stretch. By tweaking LOD settings locally, you can enhance the visual quality of a particular segment without bloating the overall file size unnecessarily. This targeted approach allows you to optimize polygon distribution efficiently. Utilize Roadrunner's tools to adjust LOD settings selectively and enhance the visual fidelity of specific road sections without compromising performance or increasing file size excessively.

1 Comment

Thanks, so I can actually do that. But how can I select only a specific segment of the road? Because when I click on tools-->lod settings, I can change the size of the polygons but for everything, not only that single segment of the road. Is there a particular option in order to do that? (I'm new to roadrunner, in case you were wondering)

Sign in to comment.

Hi Francesco,
In RoadRunner, to select a specific segment of the road, you can use the "Edit Road" tool. This tool allows you to modify individual segments of the road without affecting the entire road network. Simply select the segment you want to edit, and then you can make changes such as adjusting the width or curvature of that particular segment. This way, you can focus on customizing specific parts of the road without altering the entire layout. The "Edit Road" tool provides a more precise way to work on road segments in RoadRunner, making it easier for you to create detailed and customized road designs.

1 Comment

My fault, probably I wasn't clear enough. By modifying only a segment of the road I meant the LOD, not the length/slope. What I'm trying to do is choose a segment of the road and then, only for this one, increase the LOD, in order to give more polygons to this part of the road.
Thanks again

Sign in to comment.

Hi Francesco,
Thanks for clarification. To adjust the LOD for a particular segment of a road in Matlab, you can consider implementing a technique like subdivision or tessellation. By subdividing the segment into smaller parts or increasing the tessellation density, you can effectively increase the LOD for that specific area. This approach allows you to control the level of detail locally without affecting the entire road geometry. You can achieve this by manipulating the vertices or control points of the segment to add more detail where needed. Additionally, you may need to update the rendering or visualization functions to accommodate the increased LOD for the selected segment.

Products

Release

R2023a

Asked:

on 5 Jul 2024

Answered:

on 6 Jul 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!