Skip to content

Tessellation Warning in Road Geometry with OSM Importer in Webots 2025a #6798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lola831 opened this issue Mar 26, 2025 · 0 comments
Open

Comments

@lola831
Copy link

lola831 commented Mar 26, 2025

When importing an OSM file with the Webots OSM importer and generating a world file, I receive the following warning when opening the generated world in Webots 2025a:

WARNING: Road "Allston Way(2)" > DEF RIGHT_BORDER Solid > Shape > DEF RIGHT_BORDER_GEOMETRY IndexedFaceSet: Tessellation Error: the contour of a face must not self-intersect.
The warning indicates that the road's right border geometry is self-intersecting, which appears to be a problem with the geometry generated by the OSM importer. Could you please advise if this is a known issue or suggest any workarounds/fixes?

Steps to Reproduce

  1. Export OSM Map:
    • In OpenStreetMap, search for "Downtown Berkeley, CA".
    • In the search results, click on "Train Station Building" and then click Export to download the OSM file.
  2. Run the OSM Importer:
    python importer.py --input=/path/to/myMap.osm \ --output=/path/to/myMap.wbt \ --no-forests --no-areas --no-parkings --no-trees --no-barriers --no-rivers --no-buildings --no-intersection-road-lines
  3. Add this to the generated .wbt file
    EXTERNPROTO "https://raw.githubusercontent.com/cyberbotics/webots/R2025a/projects/objects/traffic/protos/PedestrianCrossing.proto"
  4. Open in Webots:
    Open the generated .wbt file in Webots 2025a. Upon loading the world, you will see the warning regarding tessellation errors for road geometry.

System

  • Operating System: Ubuntu 22.04 LTS
  • Graphics Card: NVIDIA GeForce RTX 2080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant