Introducing OSC2 Studio v0.0.3 — Map Preview, Better Rendering, and Enhanced OpenSCENARIO 2 Support
OSC2 Studio v0.0.3 introduces map preview, making OSC2 Studio also an OpenDRIVE viewer. This release brings enhanced road rendering with crosswalks, stop lines, and other road markings. OpenSCENARIO 2 support has also been strengthened, especially the position modifier with richer usage.
Map Preview: Double-Click to Explore 3D Roads
You can now double-click an .xodr map file in the workspace to preview the full 3D map directly in the editor. No scenario required — import the map and instantly see road layouts, intersections, and lane structures.
While previewing, right-click and drag to pan, and scroll to zoom, so you can freely explore the map.
Better Road Rendering: Crosswalks and Stop Lines
Road markings are now rendered much more faithfully:
- Crosswalks: Pedestrian crossing stripes are clearly visible and correctly aligned to the road direction.
- Stop lines: Linear road markings now appear correctly, whereas before they were invisible.
- Ego color: The ego vehicle is now shown in red, making it easier to distinguish from other traffic.
Enhanced OpenSCENARIO 2 Support: Position Modifier Usages
The position modifier now supports richer usage, giving you finer control over scenario setup:
- Range sampling:
position([10m..20m])samples a starting position uniformly within the given range. - End target:
position(Nm, at: end)makes a vehicle drive to the target position and finish. - Stay still:
position(..., at: all)keeps a vehicle stationary at the specified location. - Relative positioning: Following distance and
behindspeed semantics now comply with the OSC2 specification.
Other Improvements
- Workspace interaction: Double-clicking a file now opens it directly, removing the extra load button.
- Context menu fix: The canvas context menu no longer interferes with map and scenario preview interactions.
- Map preview performance: Map loading is now faster.
