load_asset — DRIVE world op

• Data kinds: none → table (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.load_asset(name: 'str', dims=None, *, root=None, paint=None) -> 'dict' (to call the implementation directly, import driveworld; driveworld.load_asset(name: 'str', dims=None, *, root=None, paint=None) -> 'dict'; from the registry, opsdrive.get("load_asset"))

Usage

Loads a bundled asset as a mesh dict: {"V", "F", "color", "label", "name", "dims"}.

Converts to z-up, fits the box dimensions per axis to dims (default = the real dimensions in ASSETS), and places the origin at the centre of the box's bottom face. An unknown name or dimension ≤ 0 raises ValueError. The same name is read only once (cache).

paint: car body colour (a name from CAR_PAINTS or (r, g, b), None = original colour). Only the body faces are repainted; glass, tyres and lamps stay as they are, and the texture shading (brightness ratio) is preserved. Police cars and taxis (where the paint carries meaning) and non-cars raise ValueError.

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_driving_longitudinal — py -3.11 examples/poc_driving_longitudinal.py

• poc_driving_pass — py -3.11 examples/poc_driving_pass.py

• poc_driving_school — py -3.11 examples/poc_driving_school.py

• poc_driving_weather — py -3.11 examples/poc_driving_weather.py

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

Ops the type connects to (they accept table as input)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (world)

world_build · world_camera · world_move


*Provenance: driveworld.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.